Bug 3008 - user created with usrmgr.exe lack profile info
user created with usrmgr.exe lack profile info
Status: RESOLVED WONTFIX
Product: Samba 3.0
Classification: Unclassified
Component: Domain Control
3.0.14a
x86 Linux
: P3 normal
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-08-16 06:49 UTC by Stephane Bernaud
Modified: 2005-08-16 07:03 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephane Bernaud 2005-08-16 06:49:16 UTC
User created remotly with usrmgr.exe (from an XP box in my case) lacks profile
info (Home Directory, HomeDir Drive, Logon Script and Profile Path).

user created locally with smbpasswd or pdbedit, shows profile info created
correctly.

So managing Samba as a PDC with roaming profiles from usrmgr.exe is impossible.
I think it can prevent smooth transition when introducing Samba in a
(previously) full windows environment.

thanks.

User created remotly (Usrmgr.exe)
---------------------------------

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
Comment 1 Gerald (Jerry) Carter 2005-08-16 07:03:55 UTC
It's because usrmgr.exe is explicitly setting these fields 
to NULL.  You'll have to fill them in when you create 
the account.  Nothing we can do about this I'm afraid.