[Samba] PDC, usrmgr.exe created user lacks profile info

Stephane Bernaud s.bernaud at free.fr
Tue Aug 9 19:47:20 GMT 2005


I'm finally near the end (I hope) of setting samba 3.0.14a as a PDC on a
debian sarge, but I (and google, and list archive) can't manage to find
a solution.

When I add user with the help of usrmgr on my XP box, user is created
both in linux and samba (thanks user add script), but lacks profile info
(I mean Home Directory, HomeDir Drive, Logon Script and Profile Path),
so roaming profile doesn't work.

If I create user locally (with smbpasswd or pdbedit) profile info are
created correctly.

As a workaround, I tried to add those info from the add user script, but
as the user is not yet created in samba, it doesn't work.

Did I miss something ? Is there a workaround ?

Thanks in advance for your answer.

User created remotly (Usrmgr)
-----------------------------

ocb:~# pdbedit -Lv test_user
Unix username:        test_user
NT username:
Account Flags:        [U          ]
User SID:             S-1-5-21-230672243-2454288981-608407499-3026
Primary Group SID:    S-1-5-21-230672243-2454288981-608407499-513
Full Name:            test user
Home Directory:
HomeDir Drive:
Logon Script:
Profile Path:
Domain:               COUSPEAU
Account desc:
Workstations:
Munged dial:
Logon time:           0
Logoff time:          Fri, 13 Dec 1901 21:45:51 GMT
Kickoff time:         0
Password last set:    Tue, 09 Aug 2005 21:10:23 GMT
Password can change:  Tue, 09 Aug 2005 21:10:23 GMT
Password must change: Fri, 13 Dec 1901 21:45:51 GMT
Last bad password   : 0
Bad password count  : 0
Logon hours         : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF


User created locally :
-----------------------

ocb:~# pdbedit -Lv jean
Unix username:        jean
NT username:
Account Flags:        [U          ]
User SID:             S-1-5-21-230672243-2454288981-608407499-3024
Primary Group SID:    S-1-5-21-230672243-2454288981-608407499-513
Full Name:
Home Directory:       \\ocb\jean
HomeDir Drive:        H:
Logon Script:         login.bat
Profile Path:         \\ocb\profiles\jean
Domain:               COUSPEAU
Account desc:
Workstations:
Munged dial:
Logon time:           0
Logoff time:          Fri, 13 Dec 1901 21:45:51 GMT
Kickoff time:         Fri, 13 Dec 1901 21:45:51 GMT
Password last set:    Tue, 09 Aug 2005 20:54:57 GMT
Password can change:  Tue, 09 Aug 2005 20:54:57 GMT
Password must change: Fri, 13 Dec 1901 21:45:51 GMT
Last bad password   : 0
Bad password count  : 0
Logon hours         : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF




More information about the samba mailing list