[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: cn=config howto?



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
--
Est Solaris Oth Mithas