Skip to content

How to modify or add in cn=config #13

@singhindresh

Description

@singhindresh

Greetings,

I tried "ldapadd -c -Y external -H ldapi:/// -f memberOfmodule.ldif " on the docker container but I get "ldap_sasl_interactive_bind_s: Can't contact LDAP server (-1)" error .

I also tried to us admin as recommend "To access cn=config, set cn=config as root and use the administrator account for binding, here cn=admin,dc=my-company,dc=com and password 1234567890." with rootpw but get the Insufficient access error

root@openldap[x]:/# ldapadd -W -D "cn=admin,dc=niaidceirs,dc=org" -f memberOfmodule.ldif
Enter LDAP Password:
modifying entry "cn=module{0},cn=config"
ldap_modify: Insufficient access (50)

root@openldap[x]:/# cat memberOfmodule.ldif
dn: cn=module{0},cn=config
changetype: modify
add: olcModuleLoad
olcModuleLoad: memberof.la

Your help is really appreciated.

Thanks
Indresh

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions