eMail-Account-Verwaltung mit LDAP

Diese Seite verwendet Cookies. Durch die Nutzung unserer Seite erklären Sie sich damit einverstanden, dass wir Cookies setzen. Weitere Informationen

  • eMail-Account-Verwaltung mit LDAP

    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:

    Quellcode

    1. SASL/DIGEST-MD5 authentication started
    2. ldap_sasl_interactive_bind_s: Invalid credentials (49)


    Fehlermeldung phpLDAPadmin:

    Quellcode

    1. LDAP said: Object class violation
    2. Error number: 0x41 (LDAP_OBJECT_CLASS_VIOLATION)
    3. 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:

    Quellcode

    1. dn: cn=gx blu, ou=mailUser, dc=gnex, dc=local
    2. userPassword:{SSHA}XYZ
    3. givenName: gx
    4. sn: blu
    5. mailMessageStore: /home/users/mail/blubb/
    6. mail: blubb@gnex.org
    7. mailAlternateAddress: blubb@mygnex.de
    8. mailAlternateAddress: blubb@gnexlab.org
    9. uid: blubb
    10. accountStatus: active
    11. cn: gx blu
    12. objectClass: top
    13. objectClass: person
    14. objectClass: inetOrgPerson
    15. objectClass: qmailUser
    16. objectClass: organizationalPerson
    Alles anzeigen



    "Hinzufügen"-Befehl:

    Quellcode

    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?

    Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von GneX ()