From: Pascal Blétard paddelman@hotmail.com
- Is it possible to configure Samba (4.1.7) directly from GNU/Linux (CentOS
6.5) for automatically mount the user's home directory to "H:" when he connects to the domain ?
This worked for me:
/etc/samba/smb.conf logon script = logon.bat logon path = \%L\Profiles%U logon home = \%L%U logon drive = h:
[netlogon] path = /home/SAMBA/netlogon/ browseable = no read only = yes write list = Administrator root @smb-admin
/home/SAMBA/netlogon/logon.bat net use H: \FILER\home net time \FILER /set /yes
JD