On 04/24/2010 11:40 PM, Néher Márton wrote:
Okay, i found the bug. It was about the olcServerID. My cn=config showed olcServerID: 1 ldap://alpha-int/, olcServerID: 2 ldap://beta-int/, which is correct. But if I start my openldap as ubuntu says (/usr/sbin/slapd -h ldap://beta-int/ ldap://127.0.0.1:389/ http://127.0.0.1:389/ ldapi:/// -g openldap -u openldap -F /etc/ldap/slapd.d/), it does not recognise that he is beta-int. Only if I start it with only the ldap://beta-int/ parameter. But I really need the other two interfaces as well. What can I do now with it?
Thanks, BR, Márton Néher
Hello Márton,
If you only have two interfaces, or you have more but you don't mind slapd to listen on those too, you can always specify the urls like ldap:/// ldaps:/// ldapi:///. Since it's an ubuntu machine, and i'm assuming it's similar to debian, you should check /etc/default/slapd for those options.
Regards,
Hugo Monteiro.