Re: [Samba] ldap replication sleep seems not working

2004-03-02 Thread Andrew Bartlett
On Tue, 2004-03-02 at 14:23, Beast wrote:
 * Andrew Bartlett [EMAIL PROTECTED] nulis:
 
   On the second try, it will works.
   replication sleep = 1 (10 secs).
  
  That means that you must make your add user script sleep.  We can't
  control that.
 
 This parameter confuse me. What this actually does?
 
 from the man page:
 ...
 This option simply causes Samba to wait a short time, to allow the LDAP server to 
 catch up. 

When *Samba* makes a modification, it will delay the next LDAP read to
allow the local LDAP slave to catch up.  If you make a modification in a
custom script, you need to do likewise.

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] ldap replication sleep seems not working

2004-03-01 Thread Beast

When configuring samba PDC to use slave ldap, it seems parameter ldap replication 
sleep did not work, setting any value did not make any different.

I have samba PDC and slave/master ldap connected over fast-ethernet switch, ldap 
replication take less than 2 seconds, however when adding (XP) machine to domain it 
gives error  The username could not be found.
In machine log:

Closing connections
[2004/03/01 20:01:23, 3] smbd/connection.c:yield_connection(69)
  Yielding connection to
[2004/03/01 20:01:23, 3] smbd/connection.c:yield_connection(76)
  yield_connection: tdb_delete for name  failed with error Record does not exist.

From the samba pdc :
[EMAIL PROTECTED] samba]# id raptor2$
uid=10110(raptor2$) gid=2005(wsjkt) groups=2005(wsjkt)

Its only posix entries created by add machine script, no samba objectclass.

On the second try, it will works.
replication sleep = 1 (10 secs).




--beast

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] ldap replication sleep seems not working

2004-03-01 Thread Andrew Bartlett
On Tue, 2004-03-02 at 00:19, Beast wrote:
 When configuring samba PDC to use slave ldap, it seems parameter ldap 
 replication sleep did not work, setting any value did not make any different.
 
 I have samba PDC and slave/master ldap connected over fast-ethernet switch, 
 ldap replication take less than 2 seconds, however when adding (XP) machine 
 to domain it gives error  The username could not be found.
 In machine log:
 
 Closing connections
 [2004/03/01 20:01:23, 3] smbd/connection.c:yield_connection(69)
   Yielding connection to
 [2004/03/01 20:01:23, 3] smbd/connection.c:yield_connection(76)
   yield_connection: tdb_delete for name  failed with error Record does not exist.
 
 From the samba pdc :
 [EMAIL PROTECTED] samba]# id raptor2$
 uid=10110(raptor2$) gid=2005(wsjkt) groups=2005(wsjkt)
 
 Its only posix entries created by add machine script, no samba objectclass.
 
 On the second try, it will works.
 replication sleep = 1 (10 secs).

That means that you must make your add user script sleep.  We can't
control that.

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] ldap replication sleep seems not working

2004-03-01 Thread Beast
* Andrew Bartlett [EMAIL PROTECTED] nulis:

  On the second try, it will works.
  replication sleep = 1 (10 secs).
 
 That means that you must make your add user script sleep.  We can't
 control that.

This parameter confuse me. What this actually does?

from the man page:
...
This option simply causes Samba to wait a short time, to allow the LDAP server to 
catch up. 

 
 Andrew Bartlett
 
 -- 
 Andrew Bartlett [EMAIL PROTECTED]
 Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
 Student Network Administrator, Hawker College   [EMAIL PROTECTED]
 http://samba.org http://build.samba.org http://hawkerc.net
 



--beast

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba