Announcement Announcement Module
Collapse
No announcement yet.
ldap_add: Naming violation (64) Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • ldap_add: Naming violation (64)

    Hey I'm trying to install openldap on Ubuntu 10.04 but I'm getting this annoying error which I can't figure a way around it

    adding new entry “cn=module{0},cn=config”
    ldap_add: Naming violation (64)

    this happens when I try to configure slapd.d

    This is the tutorial that I'm following, starting from 'cat << EOF > $tmpdir/database.ldif'
    http://albanianwizard.org/ubuntu-10-...albanianwizard

    this is what I'm entering:

    cat << EOF > $tmpdir/database.ldif
    # Load dynamic backend modules
    dn: cn=module{0},cn=config
    objectClass: olcModuleList
    cn: module{0}
    olcModulePath: /usr/lib/ldap
    olcModuleLoad: {0}back_hdb

    # Create directory database
    dn: olcDatabase={1}hdb,cn=config
    objectClass: olcDatabaseConfig
    objectClass: olcHdbConfig
    olcDatabase: {1}hdb
    olcDbDirectory: /var/lib/ldap
    olcSuffix: dc=volder,dc=com
    olcRootDN: cn=admin,dc=volder,dc=com
    olcRootPW: 11111
    olcAccess: {0}to attrs=userPassword,shadowLastChange by dn=”cn=admin,dc=volder,dc=volder" write by anonymous auth by self write by * none
    olcAccess: {1}to dn.base=”" by * read
    olcAccess: {2}to * by dn=”cn=admin,dc=volder,dc=com" write by * read
    olcLastMod: TRUE
    olcDbCheckpoint: 512 30
    olcDbConfig: {0}set_cachesize 0 2097152 0
    olcDbConfig: {1}set_lk_max_objects 1500
    olcDbConfig: {2}set_lk_max_locks 1500
    olcDbConfig: {3}set_lk_max_lockers 1500
    olcDbIndex: uid pres,eq
    olcDbIndex: cn,sn,mail pres,eq,approx,sub
    olcDbIndex: objectClass eq

    # Modifications
    dn: cn=config
    changetype: modify

    dn: olcDatabase={-1}frontend,cn=config
    changetype: modify
    delete: olcAccess

    dn: olcDatabase={0}config,cn=config
    changetype: modify
    add: olcRootDN
    olcRootDN: cn=admin,cn=config

    dn: olcDatabase={0}config,cn=config
    changetype: modify
    add: olcRootPW
    olcRootPW: 11111

    dn: olcDatabase={0}config,cn=config
    changetype: modify
    delete: olcAccess
    EOF

    I have tried other tutorials before this one but all of them resulted the same problem and couldn't find anything on the internet specific to the error I'm presented.

    Please help me on this one
    --------------
    Ben
Working...
X