[Samba] Winbind, template homedir, and envvar

Jason Rotunno jrotunno at swarthmore.edu
Tue Oct 31 18:29:42 GMT 2006


Hi,

I'm testing winbind so that users can log into linux machines with their 
AD password. Right now everything is working but I'm trying to figure 
out how to config the path for users' home directories. According to 
smb.conf's man page, you can use an environment variable in the path:

%$(envvar)
The value of the environment variableenvar.

I want to pull the user's path from the passwd file and assign it to an 
environment variable, which I'll use in smb.conf with "template 
homedir." I have a dumb question, though: Where do I set this variable 
(it doesn't seem that I can set it from within smb.conf)?

Thanks,
Jason



More information about the samba mailing list