Hi there,
I have managed to setup the system with cn=config.
However, when I try to add in a new database, i get this error.
ldapadd -vx -D "cn=config" -W -f x.ldif ldap_initialize( <DEFAULT> ) Enter LDAP Password: add objectClass: olcDatabaseConfig olcBdbConfig add olcDatabase: bdb add olcSuffix: "dc=example,dc=net" add olcDbDirectory: /usr/local/var/openldap-data-net add olcRootDN: "cn=Manager,dc=example,dc=com" add olcDbIndex: objectClass eq add olcAccess: to * by users read adding new entry "olcDatabase=bdb,cn=config" modify complete ldap_add: Invalid syntax (21) additional info: olcSuffix: value #0 invalid per syntax
Anyone know what i did wrongly?
Thanks in Advance
Hi,
"Wai Phang" sephiroth.rias@gmail.com writes:
Hi there, I have managed to setup the system with cn=config. However, when I try to add in a new database, i get this error. ldapadd -vx -D "cn=config" -W -f x.ldif ldap_initialize( <DEFAULT> ) Enter LDAP Password: add objectClass: olcDatabaseConfig olcBdbConfig
[...]
adding new entry "olcDatabase=bdb,cn=config" modify complete ldap_add: Invalid syntax (21) additional info: olcSuffix: value #0 invalid per syntax Anyone know what i did wrongly?
There is something wrong with your x.ldif, could you please post the first 4 entries?
-Dieter
openldap-software@openldap.org