URL: https://linuxfr.org/forums/linux-general/posts/probleme-ldap-opengroupware Title: probleme --> ldap + opengroupware Authors: mijback Date: 2006年05月06日T15:15:55+02:00 Tags: debian Score: 0 Bonjour, Je souhaite mettre en forme une plateforme type "exchange" alternative sur Debian Sarge Pour cela j'ai choisi OpenGroupWare.org (OGo) je l'ai installé sans soucis grace à ce tuto [http://noodle.yacoi.com/wiki/InstallNoodleOGo](http://noodle.yacoi.com/wiki/InstallNoodleOGo) je l'ai configurer avec l'authentification ldap, sans tester auparavant si cela fonctionnait sans elle, eh oui , erreur. j'ai installé openldap (slapd ...) Starting OpenLDAP: running BDB recovery, slapd. il se lance correctement apres quelques modif du slap.conf Mon probleme est le suivant: lorsque j'essaye de me connecter via l'interface web de OGo, il refuse mon mot de passe root. Or il faut que je me connecte une premiere fois en root pr initialiser le system. Comment vérifier que ldap fonctionne correctement ?? Comment désactiver l'authentification ldap de OGo ?? voila comment jai configurer l'authentification ldap pr OGo: # su - ogo $ Defaults write NSGlobalDomain LSAuthLDAPServer '"serv-d.montbe.local"' $ Defaults write NSGlobalDomain LSAuthLDAPServerRoot '"dc=montbe,dc=local"' $ Defaults write NSGlobalDomain LSAuthLDAPServerPort 389 $ Defaults write NSGlobalDomain LDAPInitialBindSpecific "YES" $ Defaults write NSGlobalDomain LDAPInitialBindDN "cn=OpenGroupwareAuthenticator,ou=System Accounts" $ Defaults write NSGlobalDomain LDAPInitialBindPW "G8i1cfhKrbr" $ Defaults write NSGlobalDomain LSUseLowercaseLogin "Yes" $ Defaults write NSGlobalDomain LDAPLoginAttributeName "uid" voici mon fichier hosts: 127.0.0.1 serv-d.montbe.local localhost serv-d J'ai effectué tous les tests de connexions avec links2 [https://127.0.0.1:20000/OpenGroupWare](https://127.0.0.1:20000/OpenGroupWare) un extrais de slapd.conf suffix "dc=montbe,dc=local" rootdn "cn=admin,dc=montbe,dc=local" rootpw ****** by dn="cn=admin,dc=montbe,dc=local" write by anonymous auth by self write by * none jai créer un fichier root.ldif dans /etc/ldap/ (et /root pr test), puis jai fait: ldapadd -x -D "cn=admin,dc=montbe,dc=local" -W -f root.ldif Enter LDAP Password: ***** et il me renvoie: ldapadd: no attributes to change or add (entry="uid=root,dc=montbe,dc=local objectClass: organizationalPerson objectClass: top objectClass: posixAccount objectClass: shadowAccount uid: root uidNumber: 0 gidNumber: 0 sn: root cn: root homeDirectory: /root loginShell: /bin/bash gecos: root") le pc est distants, je ne pourrai ouvrir les ports du firewall seulement demain, mais je ne vois pas pourquoi cela ne fonctionnerais pas en local avec links2 merci de votre aide, Mij