[Samba] smb.conf template homedir

Karen R McArthur kmcarthu at bates.edu
Thu Aug 24 18:40:30 GMT 2006

For local login to our samba server, we are using posix information 
stored in an openldap directory. - I can log in via shell with no problems.
We are authenticating samba against AD2003.  I can attach to the samba 
server from both windows and macintosh - just not access my home directory.
Currently, "template homedir = /home/%U" - which results in a path of 
I would like to use the homeDirectory field found in openldap - which is 
different for different classes of users.

I have tried templete homedir = %$(env HOME), but it does not work:
Aug 24 14:04:46 vmnode10 smbd[15826]: [2006/08/24 14:04:46, 0] 
Aug 24 14:04:46 vmnode10 smbd[15826]:   expand_env_var: Environment 
variable [HOME] not set

I assume I just can't figure out the correct syntax for the "template 
homedir".  Could someone point me in the right direction?
Karen McArthur
Bates College, Lewiston, Maine

More information about the samba mailing list