[Samba] variable substitution ?
ipguy
ip.guy at optushome.com.au
Thu Apr 29 06:41:12 GMT 2004
is anyone aware how one might grab the "Full Name" variable (if it even
exists) from a PDC, if Samba is setup as a domain member server using
winbind, so the variable can be used in preexec scripts ?
e.g
preexec = mkdir /data/%u
the above will make a dir in the data dir before connecting to the share. the
problem with this situation is the username is not always the "full name"
so the creation of the %u dir may not be specific.
if one does a "getend passwd" the full name can be seen but how does one
use this ?
More information about the samba
mailing list