Bug 1314 - Join Domain with Windows XP client fails against Samba server with replicated LDAP
Summary: Join Domain with Windows XP client fails against Samba server with replicated...
Status: CLOSED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Domain Control (show other bugs)
Version: 3.0.3
Hardware: All other
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-03 04:33 UTC by Michael Suelmann
Modified: 2005-08-24 10:21 UTC (History)
0 users

See Also:


Attachments
Level 10 Log (gzip) (51.59 KB, application/octet-stream)
2004-05-03 04:36 UTC, Michael Suelmann
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Suelmann 2004-05-03 04:33:51 UTC
Server is Samba 3.0.3 on Linux with replicated OpenLDAP.
Join Domain from a Windows XP SP1 client fails with NT_STATUS_NO_SUCH_USER on
the first try. On the second try the machine account already exists in LDAP and
Join Domain succeeds.

smb.conf contains ldap replication sleep = 3, but there is no sleep in the log
visible. The add machine script creates the POSIX account in LDAP and waits for
replication before it returns. In the log file you can see that SAMR_CREATE_USER
succeeds, but immediatly after that follows a SAMR_QUERY_USERINFO which results
in NT_STATUS_NO_SUCH_USER. (see attached log)
Comment 1 Michael Suelmann 2004-05-03 04:36:57 UTC
Created attachment 482 [details]
Level 10 Log (gzip)
Comment 2 Gerald (Jerry) Carter (dead mail address) 2004-11-11 13:52:19 UTC
This was fixed by the 'ldap sleep time' parameter in 3.0.6 
or somewhere close to that release.
Comment 3 Gerald (Jerry) Carter (dead mail address) 2005-08-24 10:21:31 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.