No subject


Tue Dec 2 02:23:37 GMT 2003


template homedir

	When filling out the user information for a Windows
        NT user, the winbindd daemon uses this parameter to
        fill  in  the home directory for that user.  If the
        string %D is present it  is  substituted  with  the
        user's Windows NT domain name.  If the string %U is
        present it is substituted with the  user's  Windows
        NT user name.

	Default:
        	template homedir = /home/%D/%U


This is just the home directory field of the passwd 
entry retreived from getpwnam().  If the directory you specify
in smb.conf does not exists (e.g. /home/NTDOMAIN/ntusername),
the user will get the appropriate "homedir unavailable...
logging in with $HOME=/" message.

If you want the user to get his or her home directory from
a Windows NT PDC, you will need to explore smbfs.  These
are two separate steps however.

So in conclusion, set the 'template homedir' parameter
and create the path on your Linux box.






Cheers, jerry
----------------------------------------------------------------------
   /\  Gerald (Jerry) Carter                     Professional Services
 \/    http://www.valinux.com/  VA Linux Systems   gcarter at valinux.com
       http://www.samba.org/       SAMBA Team          jerry at samba.org
       http://www.plainjoe.org/                     jerry at plainjoe.org

       "...a hundred billion castaways looking for a home."
                                - Sting "Message in a Bottle" ( 1979 )




More information about the samba-ntdom mailing list