Re: [Samba] Samba 4.1.7 + CentOS 6.5 - Home's directory mounting in W7 + Roaming of Profils

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]




From: Pascal Blétard <paddelman@xxxxxxxxxxx>

> 1) 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

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos





[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux