Quantcast
Channel: iRedMail
Viewing all articles
Browse latest Browse all 14136

general Ldap Setup Question

$
0
0

==== Required information ====
- iRedMail version:  0.9
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: Debian 7
- Related log if you're reporting an issue:
====

I want to setup additional Auth related Stuff, but I can't access the cn=admin,dc=config user.
It is protected by some password, but I don't know how to access it.

I need this because I need to execute these commands:

memberof_add.ldif
dn: cn=module,cn=config
objectClass: olcModuleList
cn: module
olcModulePath: /usr/lib/ldap
olcModuleLoad: memberof

sudo ldapadd -c -Y EXTERNAL -H ldapi:/// -f memberof_add.ldif

memboerof_config.ldif
dn: olcOverlay=memberof,olcDatabase={1}hdb,cn=config
objectClass: olcMemberOf
objectClass: olcOverlayConfig
objectClass: olcConfig
objectClass: top
olcOverlay: memberof
olcMemberOfDangling: ignore
olcMemberOfRefInt: TRUE
olcMemberOfGroupOC: groupOfNames
olcMemberOfMemberAD: member
olcMemberOfMemberOfAD: memberOf

sudo ldapadd -c -Y EXTERNAL -H ldapi:/// -f memberof_config.ldif


But on both the server tells me, I don't have permission to do this.
I'm a little bit confused as I didn't see that the Setup Script modifies anything in this.
Please help me ^^


Viewing all articles
Browse latest Browse all 14136

Trending Articles