I am trying to notify a system to check if the openLDAP server is provider or consumer.I can do this by getting a referral error on the consumer side whenever I try to write something on the server , but is their any other way to check if OpenLDAP is provider or consumer without writing to it ? .
You could query for the updateref setting if you are using cn=config out of the config DB, but that'd require the rootdn? Or, you could just set up slapo-chain on your replica, and then it doesn't matter.
--Quanah -- Quanah Gibson-Mount Lead Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration