[Samba] samba + slave OpenLdap (read-only)

jakjr joao.alfredo at gmail.com
Wed Jul 2 14:27:08 GMT 2008


Hey,

When I try to join a new machine on a domain, it's simple fail.

I already set the "ldap replication sleep" to a higher value, but this do
not work.

I'm using synrepl on ldap (refreshAndPersist) and this is working. Including
the referral return if the updateref config on slapd.conf.

Thanks

On Wed, Jul 2, 2008 at 10:32 AM, Volker Lendecke <Volker.Lendecke at sernet.de>
wrote:

> On Wed, Jul 02, 2008 at 10:08:19AM -0300, jakjr wrote:
> > Hello,
> >
> > I'm trying to config samba to use a openldap replica (slave) base.
> >
> > Every thing is working, except when I try to join a machine to a domain.
> >
> > Samba try to write some attributes in openldap, but this database (slave)
> is
> > read-only, so this operation fails.
> >
> > Openldap can return a REFERRAL when a client (samba) try to do a
> > modification on a slave database and this already is happening.
> >
> > But samba can't understand this referral return by the slave openldap.
>
> Hmmm. I've got this running in many customer installations.
> The fact that we do referrals is one reason why the "ldap
> replication sleep" parameter exist at all. What is the exact
> failure you're seeing?
>
> Volker
>


More information about the samba mailing list