hello all! i'm in bit on head, , appreciate pointer or 2 in right direction.
i've setup openldap server on ubuntu 10.04 (x64) following server guide @ https://help.ubuntu.com/10.04/server...ap-server.html . initial configuration went fine, , server , running user authentication , tls access.
i'd add replication (following ubuntu server guide's example of simple provider/consumer model), seems messed in cn=config dit that's got me totally stuck.
when attempt add ldif file guide (step 4 in ldap replication -> provider configuration) command:
this output get:code:sudo ldapadd -y external -h ldapi:/// -f provider_sync.ldif
now, know oldrootpw not set in ldif file, has misconfiguration in existing dit (right?), perhaps done webmin or myself accidentally.code:sasl/external authentication started sasl username: gidnumber=0+uidnumber=0,cn=peercred,cn=external,cn=auth sasl ssf: 0 modifying entry "olcdatabase={1}hdb,cn=config" ldap_modify: constraint violation (19) additional info: attribute 'olcrootpw' cannot have multiple values
on how proceed appreciated. imagine need review server config, i'm not sure how. tried view cn=config dit following command:
but returnscode:ldapsearch -x -h ldap://127.0.0.1:389/ -b cn=config -d cn=admin,dc=myrealdomainhere,dc=com -w
again, appreciated!code:# extended ldif # # ldapv3 # base <cn=config> scope subtree # filter: (objectclass=*) # requesting: # # search result search: 2 result: 32 no such object # numresponses: 1
Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [all variants] OpenLDAP Replication per Server Guide - failing at ldapadd
Ubuntu
Comments
Post a Comment