%N gives %L

Todd Pfaff pfaff at edge.cis.McMaster.CA
Wed Jun 9 03:57:14 GMT 1999


On Wed, 9 Jun 1999, Mr. Alex Stepney wrote:

> I want to use %N in my smb.conf file to get the name of a users
> home dir server, but it returns the Samba servers name i.e. %L. 
> I've reconfigured the source (./configure --with-automount) and
> recompiled, but still get the same problems. Any idea's?

have you set these in smb.conf?

nis homedir = true
homedir map = homemap (or whatever the name of your nis homedir map is)

homedir map is an nis map of the form:

username server:/path/to/homedir

where username is the key.

--
Todd Pfaff                         \  Email: pfaff at mcmaster.ca
Computing and Information Services  \ Voice: (905) 525-9140 x22920
ABB 132                              \  FAX: (905) 528-3773
McMaster University                   \
Hamilton, Ontario, Canada  L8S 4M1     \



More information about the samba-ntdom mailing list