Hallo,
im Zuge einer Zentralisierung und Vereinheitlichung kommt nun LDAP (openLDAP) zum Einsatz. Der Login funktioniert auch und auch andere Bestandteile sind bereits eingepflegt. Eine Sache, die nun noch fehlt, ist der eMail-Server (Postfix & Courier). Ich habe versucht, sowohl mit einer ldif-Datei als auch via phpLDAPadmin einen eMail-Benutzer der Organisationseinheit "mailUser" anzulegen, ohne Erfolg.
Fehlermeldung ldif-Datei:
|
Source code
|
1
2
|
SASL/DIGEST-MD5 authentication started
ldap_sasl_interactive_bind_s: Invalid credentials (49)
|
Fehlermeldung phpLDAPadmin:
|
Source code
|
1
2
3
4
|
LDAP said: Object class violation
Error number: 0x41 (LDAP_OBJECT_CLASS_VIOLATION)
Description: You tried to perform an operation that would cause an undefined attribute to exist or that would remove a required attribute, given the current list of ObjectClasses. This can also occur if you do not specify a structural objectClass when creating an entry, or if you specify more than one structural objectClass.
|
ldif-Datei:
|
Source code
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
dn: cn=gx blu, ou=mailUser, dc=gnex, dc=local
userPassword:{SSHA}XYZ
givenName: gx
sn: blu
mailMessageStore: /home/users/mail/blubb/
mail: blubb@gnex.org
mailAlternateAddress: blubb@mygnex.de
mailAlternateAddress: blubb@gnexlab.org
uid: blubb
accountStatus: active
cn: gx blu
objectClass: top
objectClass: person
objectClass: inetOrgPerson
objectClass: qmailUser
objectClass: organizationalPerson
|
"Hinzufügen"-Befehl:
|
Source code
|
1
|
ldapadd -D "cn=admin,dc=gnex,dc=local" -w -f blubb.ldif
|
Auch die Beschreibung des Fehlers hat mir nicht wirklich geholfen - Kann mir jemand helfen?