[Samba] user's profiles relating to each version of Windows

Dale Schroeder dale at BriannasSaladDressing.com
Mon Apr 26 11:33:57 MDT 2010


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
>    


More information about the samba mailing list