[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#4614) slapcat segfault with subordinate
I see. The glue overlay cannot be configured on a subordinate database
(nor is it needed). It should only go on the parent database, and it's
inserted automatically. Just remove the "overlay glue" statement.
Andreas Hasenack wrote:
> On Fri, Jul 14, 2006 at 09:15:14PM +0000, hyc@symas.com wrote:
>
>>> glueBack is not 0x0 when it enters this "if". It's 0x0 after the
>>> glueBack->be_entry_open call. This points to glue_tool_entry_open, which always
>>> returns zero
>>>
>> Need to see your slapd.conf; glue_tool_entry_open should only ever get
>> called once at program startup, not anywhere in the midst of traversing
>> the DBs.
>>
>
> This is the slapd.conf:
>
> include /usr/share/openldap/schema/core.schema
> include /usr/share/openldap/schema/cosine.schema
> include /usr/share/openldap/schema/inetorgperson.schema
> include /usr/share/openldap/schema/nis.schema
>
> pidfile /var/run/ldap/slapd.pid
> argsfile /var/run/ldap/slapd.args
>
> schemacheck on
>
> database bdb
> suffix "ou=global,dc=example,dc=com"
> rootdn "cn=manager,dc=example,dc=com"
> checkpoint 512 30
> directory /var/lib/ldap-1
> overlay glue
> subordinate
>
> index objectClass,uid,uidNumber,gidNumber,memberUid eq
> index cn,mail,surname,givenname eq,subinitial
>
> access to dn.subtree="ou=global,dc=example,dc=com"
> by dn="uid=replicador,ou=global,dc=example,dc=com" read
> by * break
>
> access to attrs=userPassword
> by anonymous auth
> by self write
> by * none
>
> access to attrs=shadowLastChange
> by self write
> by * read
>
> access to dn.subtree="ou=global,dc=example,dc=com"
> by * read
>
> syncrepl rid=001
> provider=ldap://10.0.2.199
> type=refreshAndPersist
> retry="60 +"
> searchbase="ou=global,dc=example,dc=com"
> bindmethod=simple
> binddn="uid=replicador,ou=global,dc=example,dc=com"
> credentials="nonono"
>
>
> updateref ldap://10.0.2.199/
>
> database bdb
> suffix "dc=example,dc=com"
> rootdn "cn=manager,dc=example,dc=com"
> rootpw secret
> directory /var/lib/ldap-2
> index objectClass,uid,uidNumber,gidNumber,memberUid eq
> index cn,mail,surname,givenname eq,subinitial
> checkpoint 512 30
>
> access to attrs=userPassword
> by anonymous auth
> by self write
> by * none
>
> access to attrs=shadowLastChange
> by self write
> by * read
>
> access to dn.subtree="dc=example,dc=com"
> by * read
>
>
>
>
>
--
-- Howard Chu
Chief Architect, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc
OpenLDAP Core Team http://www.openldap.org/project/