hi everybody
one of databases in my slapd has nor referrals and olcMirrorMode=FALSE in config yet I get infamous:
- [LDAP: error code 53 - shadow context; no update referral]
why would it be, something I am missing in the config of that database? other databases configs affect this one somehow?
many thanks
--On Monday, June 08, 2015 6:04 PM +0100 lejeczek peljasz@yahoo.co.uk wrote:
hi everybody
one of databases in my slapd has nor referrals and olcMirrorMode=FALSE in config yet I get infamous:
- [LDAP: error code 53 - shadow context; no update referral]
why would it be, something I am missing in the config of that database? other databases configs affect this one somehow?
You don't supply your config, so who knows.
--Quanah
--
Quanah Gibson-Mount Platform Architect Zimbra, Inc. -------------------- Zimbra :: the leader in open source messaging and collaboration
On 08/06/15 17:27, Quanah Gibson-Mount wrote:
--On Monday, June 08, 2015 6:04 PM +0100 lejeczek peljasz@yahoo.co.uk wrote:
hi everybody
one of databases in my slapd has nor referrals and olcMirrorMode=FALSE in config yet I get infamous:
- [LDAP: error code 53 - shadow context; no update referral]
why would it be, something I am missing in the config of that database? other databases configs affect this one somehow?
You don't supply your config, so who knows.
--Quanah
--
Quanah Gibson-Mount Platform Architect Zimbra, Inc.
Zimbra :: the leader in open source messaging and collaboration
would there not be something blatantly obvious I should be looking for? which part of the config I should include? here is part of the database:
olcDbIndex: default sub olcDbIndex: objectClass pres,eq olcDbIndex: entryUUID eq olcDbIndex: entryCSN eq olcDbIndex: cn pres,eq,sub olcDbIndex: uid pres,eq,sub olcDbIndex: uidNumber pres,eq olcDbIndex: gidNumber pres,eq olcDbIndex: memberUid pres,eq,sub olcDbIndex: ou pres,eq,sub olcDbIndex: mail pres,eq,sub olcDbIndex: sn pres,eq,sub olcDbIndex: givenName pres,eq,sub olcDbIndex: loginShell pres,eq olcDbIndex: nisMapName pres,eq,sub olcDbIndex: nisMapEntry pres,eq,sub olcDbIndex: displayName pres,eq,sub olcDbIndex: sambaDomainName eq olcDbIndex: sambaSID eq olcDbIndex: sambaPrimaryGroupSID eq olcSyncUseSubentry: FALSE olcSuffix: dc=virtual,dc=hosting olcRootPW: {SSHA} olcRootDN: cn=Manager,dc=virtual,dc=hosting olcReadOnly: FALSE olcMonitoring: TRUE olcMirrorMode: FALSE olcMaxDerefDepth: 15 olcLastMod: TRUE olcDbShmKey: 0 olcDbSearchStack: 16 olcDbNoSync: FALSE olcDbMode: 0600 olcDbLinearIndex: FALSE olcDbIDLcacheSize: 0 olcDbDNcacheSize: 0 olcDbDirtyRead: FALSE olcDbDirectory: /var/lib/ldap/virtualMail olcDbCheckpoint: 1024 15 olcDbCacheSize: 1000 olcDbCacheFree: 1 olcDatabase: {2}bdb olcAddContentAcl: FALSE olcAccess: {3}to * by dn.base="cn=Manager,dc=virtual,cn=hosting" read by * +0 break olcAccess: {2}to * by * read olcAccess: {1}to attrs=shadowLastChange,shadowMax by self write by * read olcAccess: {0}to attrs=userPassword,sambaNTPassword,sambaLMPassword,sambaPwd MustChange,sambaPwdLastSet by self write by anonymous auth by * read objectClass: olcDatabaseConfig objectClass: olcBdbConfig
I also see something in the database which might be a remnant of past syncing:
DN: olcOverlay={0}syncprov,olcDatabase={2}bdb,cn=config
but cannot remove this entry
lejeczek peljasz@yahoo.co.uk writes:
one of databases in my slapd has nor referrals and olcMirrorMode=FALSE in config yet I get infamous:
- [LDAP: error code 53 - shadow context; no update referral]
why would it be, something I am missing in the config of that database?
Maybe you have an olcSyncrepl in the database config.
On 08/06/15 20:40, Ferenc Wagner wrote:
lejeczek peljasz@yahoo.co.uk writes:
one of databases in my slapd has nor referrals and olcMirrorMode=FALSE in config yet I get infamous:
- [LDAP: error code 53 - shadow context; no update referral]
why would it be, something I am missing in the config of that database?
Maybe you have an olcSyncrepl in the database config.
I've attached that database's config earlier, nope no olcSyncrepl, but I also mentioned there is something in the database which might be a remnant of past syncing:
DN: olcOverlay={0}syncprov,olcDatabase={2}bdb,cn=config
but cannot remove this entry
cn=config overlays cannot be removed in OLC. I've heard that this ability may be added someday. In the meantime, the only way I know to remove a cn=config overlay is to switch back to the old slapd.conf format, remove the overlay, then convert back to OLC.
See http://www.openldap.org/lists/openldap-technical/201308/msg00000.html and http://www.openldap.org/lists/openldap-software/200811/msg00103.html
-----Original Message----- From: openldap-technical [mailto:openldap-technical-bounces@openldap.org] On Behalf Of lejeczek Sent: Thursday, June 11, 2015 4:01 AM To: Ferenc Wagner Cc: openldap-technical@openldap.org Subject: Re: olcMirrorMode FALSE - yet - error code 53 - shadow context; no update referral
On 08/06/15 20:40, Ferenc Wagner wrote:
lejeczek peljasz@yahoo.co.uk writes:
one of databases in my slapd has nor referrals and olcMirrorMode=FALSE in config yet I get infamous:
- [LDAP: error code 53 - shadow context; no update referral]
why would it be, something I am missing in the config of that database?
Maybe you have an olcSyncrepl in the database config.
I've attached that database's config earlier, nope no olcSyncrepl, but I also mentioned there is something in the database which might be a remnant of past syncing:
DN: olcOverlay={0}syncprov,olcDatabase={2}bdb,cn=config
but cannot remove this entry
openldap-technical@openldap.org