Wojciech Giel
2010-Apr-26 16:45 UTC
[Samba] user's profiles relating to each version of Windows
Hi I have samba 3.4.3 PDC/LDAP server with roaming profiles. Unfortunatelly I have to add to domain windows 7 and vista so I thought that it would be good if I separate profiles based on Windows version. So i Have added this to my smb.conf: logon script = scripts\logon.bat logon home = \\THOR\%U\windows logon path = \\THOR\%U\windows\.profiles\%a logon drive = H: I'm adding users with smbldap-tools. I have changed also smbldap.conf to this: userProfile="\\THOR\%U\windows\.profiles\%a" pdbedit -L -v .... Home Directory: \\THOR\user\windows HomeDir Drive: H: Logon Script: scripts\logon.bat Profile Path: \\THOR\user\windows\.profiles\%a .... but when i logout instead of creating WinXP or win2k3 etc. samba creates '%a' directory. what is wrong with this configuration I can't find any usefull information to fix it? thanks Wojciech
Dale Schroeder
2010-Apr-26 17:33 UTC
[Samba] user's profiles relating to each version of Windows
Example given here: http://lists.samba.org/archive/samba-technical/2007-April/053054.html Dale On 04/26/2010 11:45 AM, Wojciech Giel wrote:> Hi > > I have samba 3.4.3 PDC/LDAP server with roaming profiles. Unfortunatelly I > have to add to domain windows 7 and vista so I thought that it would be good > if I separate profiles based on Windows version. So i Have added this to my > smb.conf: > > logon script = scripts\logon.bat > logon home = \\THOR\%U\windows > logon path = \\THOR\%U\windows\.profiles\%a > logon drive = H: > > I'm adding users with smbldap-tools. I have changed also smbldap.conf to > this: > > userProfile="\\THOR\%U\windows\.profiles\%a" > > pdbedit -L -v > > .... > Home Directory: \\THOR\user\windows > HomeDir Drive: H: > Logon Script: scripts\logon.bat > Profile Path: \\THOR\user\windows\.profiles\%a > .... > > > but when i logout instead of creating WinXP or win2k3 etc. samba creates > '%a' directory. > > what is wrong with this configuration I can't find any usefull information > to fix it? > > thanks > Wojciech >