Robert Schulz
2010-Mar-19 19:42 UTC
[Samba] problem with samba PDC and Windows 7 loading roaming profiles
Since years I have a Suse Samba PDC running with Win2000 and WinXP clients. Now I tried to add 2 Win7 clients and I'm having a problem. Win7 don't load my roaming profiles, Win7 always logged in to a domain user using a temporary profile. First I upgrades to Samba 3.4.2 (Suse 11.2), than I set the registry entries according Samba wiki: http://wiki.samba.org/index.php/Windows7 Now I was able to register the Win7 clients and I could login with a domain user but the user always using a temporary profile. I tried this with different user -> same result. I copied the domain profiles to <username>.V2 -> same result. My domain profile looks like: [nt-profile] comment = Client Profiles path = /BUERO/samba/nt-profile/%u read only = No create mask = 0600 directory mask = 0700 drwsrwsr-x 32 admin users 4096 2010-03-10 19:51 admin drwxr-sr-x 30 admin users 4096 2010-03-08 19:24 admin.V2 Following the samba log at login: [2010/03/12 16:43:06, 2] auth/auth.c:310(check_ntlm_password) check_ntlm_password: authentication for user [admin] -> [admin] -> [admin] succeeded [2010/03/12 16:43:06, 2] auth/token_util.c:450(create_local_nt_token) WARNING: Failed to create BUILTIN\Administrators group! Can Winbind allocate gids? [2010/03/12 16:43:06, 2] auth/token_util.c:474(create_local_nt_token) WARNING: Failed to create BUILTIN\Users group! Can Winbind allocate gids? [2010/03/12 16:43:06, 0] smbd/service.c:1188(make_connection) virt03 (192.168.1.101) couldn't find service nt-profile.v2 [2010/03/12 16:43:06, 0] smbd/service.c:1188(make_connection) virt03 (192.168.1.101) couldn't find service nt-profile.v2 [2010/03/12 16:43:06, 0] smbd/service.c:1188(make_connection) virt03 (192.168.1.101) couldn't find service nt-profile.v2 [2010/03/12 16:43:06, 0] smbd/service.c:1188(make_connection) virt03 (192.168.1.101) couldn't find service nt-profile.v2 [2010/03/12 16:43:06, 1] smbd/service.c:1047(make_connection_snum) virt03 (192.168.1.101) connect to service netlogon initially as user admin (uid=0, gid=100) (pid 10603) [2010/03/12 16:43:06, 1] smbd/service.c:1047(make_connection_snum) virt03 (192.168.1.101) connect to service nt-profile initially as user admin (uid=0, gid=100) (pid 10603) [2010/03/12 16:43:07, 2] smbd/open.c:580(open_file) admin opened file virt03.bat read=Yes write=No (numopen=1) [2010/03/12 16:43:07, 2] smbd/open.c:580(open_file) admin opened file virt03.bat read=Yes write=No (numopen=2) [2010/03/12 16:43:07, 2] smbd/close.c:612(close_normal_file) admin closed file virt03.bat (numopen=1) NT_STATUS_OK I found in the log an entry telling about nt-profile.v2. I didn't find any information about that service (is it necessary or not). For testing I defined it in smb.conf but no success (maybe I defined it wrong). The WinXP clients are still working prefectly. Any help would be appreciated. regards robert