[Samba] issues with Windows 7 roaming profiles

Thierry Lacoste lacoste at u-pec.fr
Tue Nov 13 02:55:25 MST 2012

On 12 nov. 2012, at 21:44, Preston Hagar wrote:

> On Mon, Nov 12, 2012 at 6:02 AM, Thierry Lacoste <lacoste at u-pec.fr> wrote:
>> I made some modifications but still cannot use my Windows7 with a domain account.
>> On 10 nov. 2012, at 12:27, Thierry Lacoste wrote:
>>> Hello,
>>> I have a centOS 5.5 box acting as as a PDC with samba 3.4.9 and openldap 2.4.22.
>>> Then I joined the domain with a centOS box (samba 3.4.17) which hosts the homes and profiles.
>>> I have no problem with XP clients.
>>> I can join a windows 7 client to my domain but it is unable to load the profile when logging in.
>>> See below a level 2 log.smdb from the file server when I log in with a domain account.
>>> Is the "unable to create profs/lacoste.V2" the culprit ?
>> I created a directory profs/lacoste.V2 and put an NTUSER.DAT
>> (build for a local user added to the windows 7 box) in it.
>> This box still won't let me in; it closes the session during the course of opening the session.
> A couple of things to check.  Make sure you have the registry settings
> set that are recommended here:
> https://wiki.samba.org/index.php/Windows7#Windows_7_Registry_settings
I did that.
> Also, you may need a [profiles.V2] share as described here:
> http://lists.samba.org/archive/samba-technical/2007-April/052674.html

Actually the windows box wants to open /export/profiles/profs/lacoste.V2
so I created this folder and populate it with the whole local profile made on the windows 7 machine.

When I try to open a session, there is long bunch of messages on my CentOS file server:
[2012/11/13 10:25:26,  1] smbd/service.c:1063(make_connection_snum)
  test-win7 (::ffff: connect to service Profiles initially as user lacoste (uid=5001, gid=4000) (pid 12488)
[2012/11/13 10:25:26,  2] smbd/open.c:580(open_file)
  lacoste opened file profs/lacoste.V2/NTUSER.DAT read=Yes write=No (numopen=1)
[2012/11/13 10:25:26,  2] smbd/open.c:580(open_file)
  lacoste opened file profs/lacoste.V2/ntuser.ini read=Yes write=No (numopen=2)

After a while the windows box closes connection with those message on log.smbd :
[2012/11/13 10:25:48,  2] smbd/close.c:612(close_normal_file)
  lacoste closed file profs/lacoste.V2/NTUSER.DAT (numopen=1) NT_STATUS_OK
[2012/11/13 10:25:48,  1] smbd/service.c:1240(close_cnum)
  test-win7 (::ffff: closed connection to service lacoste
[2012/11/13 10:26:00,  2] smbd/close.c:612(close_normal_file)
  lacoste closed file profs/lacoste.V2/ntuser.ini (numopen=0) NT_STATUS_OK
[2012/11/13 10:26:12,  1] smbd/service.c:1240(close_cnum)
  test-win7 (::ffff: closed connection to service Profiles
[2012/11/13 10:26:18,  0] lib/util_sock.c:539(read_fd_with_timeout)

> As a last note, last time I looked into this (and asked the list) Win
> 7 roaming profiles and Win XP roaming profiles could not be shared.
> Each user would have a new, separate profile for each version of
> windows.  Hopefully someone will correct me if I am wrong.
As I said I created à lacoste.V2 folder for windows 7 in the folder where the profile
lacoste lives (for my Win XP clients).

This is driving me nuts. 
I have no idea where to go now.


More information about the samba mailing list