I have searched this list and googled for examples, but have not found 
the answer to this question:
I would have thought that all the lines in the smb.conf was setting up 
an auto mount of the home share, and I did not have to put it in the 
logon.bat script.  I have:
[global]
....
     domain master = yes
     local master = yes
     domain logons = yes
     logon path = \\%L\profiles\%U
     logon drive = q:
     logon home = \\hda\%u
[homes]
     comment = Home Directories
     read only = no
     writeable = yes
     browseable = yes
     create mask = 0640
     directory mask = 0750
I would have thought that user john would have a share of q: of 
\\hda\john but this is not happening.  I am seeing this share if I 
browse the server.
Or do I HAVE to have an entry in the logon.bat of:
net use q: \\hda\%u /persistent:no
?
On Wed, Oct 20, 2010 at 9:23 PM, Robert Moskowitz <rgm at htt-consult.com> wrote:> I would have thought that all the lines in the smb.conf was setting up an > auto mount of the home share, and I did not have to put it in the logon.bat > script. ?I have:The systems have to be domain members and the users must be domain users and logging on to the domain (not the local system). You may also need the [netlogon] share (although the logon script does not need to explicilty create map the "home" drive). Also your "logon home" looks possibly suspect, I have "logon home = \\%N\%U" (the default) on several servers (for years now) and they all work (for hundreds of users). Where are you getting your documentation? When in doubt don't fuck with the defaults (man smb.conf) unless you know what you're doing and have a very good reason.