lpdap rebind sleep

Andrew Bartlett abartlet at samba.org
Thu Oct 24 14:56:00 GMT 2002


"Stefan (metze) Metzmacher" wrote:
> 
> At 00:26 25.10.2002 +1000, Andrew Bartlett wrote:
> >"Stefan (metze) Metzmacher" wrote:
> > >
> > > Hi Andrew,
> > >
> > > I want to add a new parameter 'ldap rebind timeout'
> > >
> > > I have problems when my samba adds a user following an update referral.
> > > samba tries to read the new entry to verify that it now exist. but the
> > > replication to the read-only server isn't so fast so the new account can't
> > > be found. to avoid this I preferr a msleep(lp_ldap_rebind_timeout()),
> > > default 1500 = 1,5 s
> >
> >Hmm...  I really hope there is a more elegent way to deal with this...
> 
> tell me one

Well, it might be somthing we need to leave till the SAM, but why do we
re-read?   An arbitary sleep just seems like the wrong idea.  Or better
to sleep until our mirror catches up, not just 1.5 seconds.  

Andrew,

-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net



More information about the samba-technical mailing list