SUMMARY: [Samba] smb.conf template homedir
Karen R McArthur
kmcarthu at bates.edu
Thu Aug 24 19:16:00 GMT 2006
I was able to solve this issue by "template homedir = %p"
%p is the variable for the NIS path name of the service
Karen R McArthur wrote:
> 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
> We are authenticating samba against AD2003. I can attach to the samba
> server from both windows and macintosh - just not access my home
> 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: [2006/08/24 14:04:46, 0]
> Aug 24 14:04:46 vmnode10 smbd: 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