jcdole at free.fr
2011-Sep-07 10:18 UTC
[Samba] Setting specific path for home, netlogon and profile
Hello. I have tried every things but I can't make it work. On the server I want home for user FRED physically in /data/samba/home/FRED I want profile for user FRED physically in /data/samba/profile/FRED/linux ( when connecting from his laptop under linux ) I want profile for user FRED physically in /data/samba/profile/FRED/WinXP ( when connecting from his laptop under windows XP ) I want netlogon for user FRED physically in /data/samba/netlogon/FRED/linux ( when connecting from his laptop under linux ) I want netlogon for user FRED physically in /data/samba/netlogon/FRED/WinXP ( when connecting from his laptop under windows XP ) I am using %$(OSTYPE) be"cause %a return samba and not linux. ( see previous thread today ) This part of my config files. +++++++++++++ SMB.CONF +++++++++++++ [Global] logon script = %U.bat logon path = \\%L\profiles\%U\%$(OSTYPE) logon drive = U: logon home = \\%L\homes\%U\%$(OSTYPE) [homes] comment = Votre Repertoire home path = /data_1/100_samba/sysvol/homes/%U/%$(OSTYPE) read only = No create mask = 0777 directory mask = 0777 browseable = Yes [profiles] comment = Votre Profile itinerant path = /data_1/100_samba/sysvol/profiles/%U/%$(OSTYPE) read only = No create mask = 0777 directory mask = 0777 browseable = Yes [netlogon] comment = Network Logon Service (Netlogon) path = /data_1/100_samba/sysvol/netlogon/%U/%$(OSTYPE) read only = No browseable = Yes +++++++++++++++++ SMBLDAP.CONF +++++++++++++++++ userSmbHome="" userProfile="" userHomeDrive="U:" userScript="%U.bat" Thank you for helping jc dole
Seemingly Similar Threads
- SAMBA smb.conf LINUX CLIENT SIDE
- Netlogon, roming profiles in samba(PDC)-ldap
- Users being deleted from Domain Users group on Samba BDC during vampire process of migration
- Cannot mount users home directories from a samba server
- Problems Migrating password and group info to ldap