Q: How do I activate LDAP authentication and configure it to authenticate users against my server?
A: To enable LDAP authentication you need to set at least these defaults:
Defaults write NSGlobalDomain \
LSAuthLDAPServer '"myserver.de"'
Defaults write NSGlobalDomain \
LSAuthLDAPServerRoot '"dc=3Dopengroupware,dc=3Dorg"'
This makes OGo use a simple bind (ldapsearch -x) against the LDAP server to check credentials. OGo currently uses LDAPv2 for maximum interoperability.
Note that with LDAP authentication enabled OGo still needs to create an account record in the PostgreSQL database. This is done when a user logs in the first time and was successfully authenticated by LDAP (the user is taken to a welcome-page where he can decide whether to proceed).
les reference se trouve ici :Depuis un reboot du serveur de messagerie :( (sur ce meme serveur est installer ogo)Bonjour, J'ai un petit problème avec mon OGO. Il marchait tres bien jusqu'a hier. Depuis dès que quelqu'un veu s'identifier on a le message d'erreur : wrong user ou password.Depuis quoi ? un changement, une mise à jour ? Distrib ? version de OGo, de OpenLDAP ?
Oui (connection des clients de messagerie, consultation de l'annuaire, et GQ me permet de tout voir)Voici ce que j'ai dans les logs Jun 29 07:49:44 OpenGroupware [14209]: <0x40694B80[LSCommandContext]> +[LSCommandContext(LDAPSupport) isLDAPLoginAuthorized:password:]: LDAP server 'servmail.xxxxx.fr:389' did not authenticate user 'b.lepoutre' Jun 29 07:49:44 OpenGroupware [14209]: >DirectAction> access denied for user b.lepoutre.Et le serveur LDAP seul, il permet d'authentifier l'utilisateur ?
C'est fait. Mes utilisateurs utilisent thunderbird pour se connecter au serveur cyrus imap et consultent l'annuaire ldap sans problemes.A mon avis, il faudrait tester avec un browser LDAP avant de voir si OGo a un problème.
Merci pour votre reponse rapideBonne chance