LDAP: couldn't connect to LDAP server
Can't contact LDAP server [auth.php:621]
LDAP user to find: ppom [auth.php:187]
LDAP Server: ldaps://ldap.picasoft.net [auth.php:190]
LDAP Filter: (&(objectClass=posixAccount)(uid=ppom)) [auth.php:200]
LDAP user search: Can't contact LDAP server [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=ppom)) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:212]
LDAP user to find: ppom [auth.php:187]
LDAP Server: ldaps://ldap.picasoft.net [auth.php:190]
LDAP Filter: (&(objectClass=posixAccount)(uid=ppom)) [auth.php:200]
LDAP user search: Can't contact LDAP server [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=ppom)) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:212]
LDAP user to find: qduchemi [auth.php:187]
LDAP Server: ldaps://ldap.picasoft.net [auth.php:190]
LDAP Filter: (&(objectClass=posixAccount)(uid=qduchemi)) [auth.php:200]
LDAP user search: Can't contact LDAP server [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=qduchemi)) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:212]
LDAP user to find: qduchemi [auth.php:187]
LDAP Server: ldaps://ldap.picasoft.net [auth.php:190]
LDAP Filter: (&(objectClass=posixAccount)(uid=qduchemi)) [auth.php:200]
LDAP user search: Can't contact LDAP server [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=qduchemi)) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:212]
LDAP user to find: qduchemi [auth.php:187]
LDAP Server: ldaps://ldap.picasoft.net [auth.php:190]
LDAP Filter: (&(objectClass=posixAccount)(uid=qduchemi)) [auth.php:200]
LDAP user search: Can't contact LDAP server [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=qduchemi)) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:212]
LDAP user to find: qduchemi [auth.php:187]
LDAP Server: ldaps://ldap.picasoft.net [auth.php:190]
LDAP Filter: (&(objectClass=posixAccount)(uid=qduchemi)) [auth.php:200]
LDAP user search: Can't contact LDAP server [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=qduchemi)) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:212]
LDAP user to find: qduchemi [auth.php:187]
LDAP Server: ldaps://ldap.picasoft.net [auth.php:190]
LDAP Filter: (&(objectClass=posixAccount)(uid=qduchemi)) [auth.php:200]
LDAP user search: Can't contact LDAP server [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=qduchemi)) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:212]
LDAP user to find: qduchemi [auth.php:187]
LDAP Server: ldaps://ldap.picasoft.net [auth.php:190]
LDAP Filter: (&(objectClass=posixAccount)(uid=qduchemi)) [auth.php:200]
LDAP user search: Can't contact LDAP server [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=qduchemi)) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:212]
LDAP user to find: qduchemi [auth.php:187]
LDAP Server: ldaps://ldap.picasoft.net [auth.php:190]
LDAP Filter: (&(objectClass=posixAccount)(uid=qduchemi)) [auth.php:200]
LDAP user search: Can't contact LDAP server [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=qduchemi)) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:212]
LDAP user to find: qduchemi [auth.php:187]
LDAP Server: ldaps://ldap.picasoft.net [auth.php:190]
LDAP Filter: (&(objectClass=posixAccount)(uid=qduchemi)) [auth.php:200]
LDAP user search: Can't contact LDAP server [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=qduchemi)) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:212]
LDAP user to find: qduchemi [auth.php:187]
LDAP Server: ldaps://ldap.picasoft.net [auth.php:190]
LDAP Filter: (&(objectClass=posixAccount)(uid=qduchemi)) [auth.php:200]
LDAP user search: Can't contact LDAP server [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=qduchemi)) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:212]
LDAP user to find: qduchemi [auth.php:187]
LDAP Server: ldaps://ldap.picasoft.net [auth.php:190]
LDAP Filter: (&(objectClass=posixAccount)(uid=qduchemi)) [auth.php:200]
LDAP user search: Can't contact LDAP server [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=qduchemi)) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:212]
LDAP user to find: qduchemi [auth.php:187]
LDAP Server: ldaps://ldap.picasoft.net [auth.php:190]
LDAP Filter: (&(objectClass=posixAccount)(uid=qduchemi)) [auth.php:200]
LDAP user search: Can't contact LDAP server [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=qduchemi)) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:212]
LDAP user to find: qduchemi [auth.php:187]
LDAP Server: ldaps://ldap.picasoft.net [auth.php:190]
LDAP Filter: (&(objectClass=posixAccount)(uid=qduchemi)) [auth.php:200]
LDAP user search: Can't contact LDAP server [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=qduchemi)) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:212]
LDAP user to find: ppom [auth.php:187]
LDAP Server: ldaps://ldap.picasoft.net [auth.php:190]
LDAP Filter: (&(objectClass=posixAccount)(uid=ppom)) [auth.php:200]
LDAP user search: Can't contact LDAP server [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=ppom)) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:212]
LDAP user to find: qduchemi [auth.php:187]
LDAP Server: ldaps://ldap.picasoft.net [auth.php:190]
LDAP Filter: (&(objectClass=posixAccount)(uid=qduchemi)) [auth.php:200]
LDAP user search: Can't contact LDAP server [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=qduchemi)) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:212]
LDAP user to find: qduchemi [auth.php:187]
LDAP Server: ldaps://ldap.picasoft.net [auth.php:190]
LDAP Filter: (&(objectClass=posixAccount)(uid=qduchemi)) [auth.php:200]
LDAP user search: Can't contact LDAP server [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=qduchemi)) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:212]
LDAP user to find: qduchemi [auth.php:187]
LDAP Server: ldaps://ldap.picasoft.net [auth.php:190]
LDAP Filter: (&(objectClass=posixAccount)(uid=qduchemi)) [auth.php:200]
LDAP user search: Can't contact LDAP server [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=qduchemi)) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:212]
LDAP user to find: qduchemi [auth.php:187]
LDAP Server: ldaps://ldap.picasoft.net [auth.php:190]
LDAP Filter: (&(objectClass=posixAccount)(uid=qduchemi)) [auth.php:200]
LDAP user search: Can't contact LDAP server [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=qduchemi)) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:212]
LDAP user to find: qduchemi [auth.php:187]
LDAP Server: ldaps://ldap.picasoft.net [auth.php:190]
LDAP Filter: (&(objectClass=posixAccount)(uid=qduchemi)) [auth.php:200]
LDAP user search: Can't contact LDAP server [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=qduchemi)) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:212]
LDAP user to find: qduchemi [auth.php:187]
LDAP Server: ldaps://ldap.picasoft.net [auth.php:190]
LDAP Filter: (&(objectClass=posixAccount)(uid=qduchemi)) [auth.php:200]
LDAP user search: Can't contact LDAP server [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=qduchemi)) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:212]
LDAP user to find: qduchemi [auth.php:187]
LDAP Server: ldaps://ldap.picasoft.net [auth.php:190]
LDAP Filter: (&(objectClass=posixAccount)(uid=qduchemi)) [auth.php:200]
LDAP user search: Can't contact LDAP server [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=qduchemi)) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:212]
LDAP user to find: qduchemi [auth.php:187]
LDAP Server: ldaps://ldap.picasoft.net [auth.php:190]
LDAP Filter: (&(objectClass=posixAccount)(uid=qduchemi)) [auth.php:200]
LDAP user search: Can't contact LDAP server [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=qduchemi)) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:212]
LDAP user to find: qduchemi [auth.php:187]
LDAP Server: ldaps://ldap.picasoft.net [auth.php:190]
LDAP Filter: (&(objectClass=posixAccount)(uid=qduchemi)) [auth.php:200]
LDAP user search: Can't contact LDAP server [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=qduchemi)) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:212]
LDAP user to find: qduchemi [auth.php:187]
LDAP Server: ldaps://ldap.picasoft.net [auth.php:190]
LDAP Filter: (&(objectClass=posixAccount)(uid=qduchemi)) [auth.php:200]
LDAP user search: Can't contact LDAP server [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=qduchemi)) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:212]
LDAP user to find: qduchemi [auth.php:187]
LDAP Server: ldaps://ldap.picasoft.net [auth.php:190]
LDAP Filter: (&(objectClass=posixAccount)(uid=qduchemi)) [auth.php:200]
LDAP user search: Can't contact LDAP server [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=qduchemi)) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:212]
LDAP user to find: qduchemi [auth.php:187]
LDAP Server: ldaps://ldap.picasoft.net [auth.php:190]
LDAP Filter: (&(objectClass=posixAccount)(uid=qduchemi)) [auth.php:200]
LDAP user search: Can't contact LDAP server [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=qduchemi)) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:212]

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
technique:adminsys:ldap:add_mail [2020/09/08 20:09]
qduchemi
technique:adminsys:ldap:add_mail [2022/05/24 21:09] (Version actuelle)
ppom
Ligne 5: Ligne 5:
 Cette page suppose que vous êtes [[technique:adminsys:ldap:utilisation|connecté au serveur LDAP avec le compte d'administration]]. Cette page suppose que vous êtes [[technique:adminsys:ldap:utilisation|connecté au serveur LDAP avec le compte d'administration]].
  
-Le but est de créer un compte LDAP qui sera utilisé pour envoyer et recevoir des mails à travers le serveur mail de Picasoft. La configuration que l'on présente ici découle de la [configuration du serveur mail](https://gitlab.utc.fr/picasoft/projets/dockerfiles/-/tree/master/pica-mail), qui est configuré pour utiliser le LDAP pour valider les comptes et adresses mail.+Le but est de créer un compte LDAP qui sera utilisé pour envoyer et recevoir des mails à travers le serveur mail de Picasoft. La configuration que l'on présente ici découle de la [configuration du serveur mail](https://gitlab.utc.fr/picasoft/projets/services/mail-system/), qui est configuré pour utiliser le LDAP pour valider les comptes et adresses mail.
  
 À titre d'exemple, Mattermost envoie des mails avec l'adresse `mattermost@picasoft.net`. À titre d'exemple, Mattermost envoie des mails avec l'adresse `mattermost@picasoft.net`.
  
-On crée une nouvelle entrée sous `ou=Services,dn=picasoft,dn=net`.+On crée une nouvelle entrée sous `ou=Services,dc=picasoft,dc=net`.
 On lui attribue les classes : On lui attribue les classes :
  
Ligne 20: Ligne 20:
 * `homeDirectory` : `/dev/null` * `homeDirectory` : `/dev/null`
 * `uidNumber` : se baser sur la [[technique:adminsys:ldap:add_people#uidnumber_gidnumber|même technique que pour les utilisateurs]], mais en partant de 5000 * `uidNumber` : se baser sur la [[technique:adminsys:ldap:add_people#uidnumber_gidnumber|même technique que pour les utilisateurs]], mais en partant de 5000
-* `userPassword` : à répertorier dans le [pass](https://gitlab.utc.fr/picasoft/interne/pass)+* `userPassword` : à répertorier dans le [[technique:adminsys:secu:password_store:start|pass]]
 * `gidNumber` : `502` (`member`, pas d'autorisation particulière) * `gidNumber` : `502` (`member`, pas d'autorisation particulière)
  
 Ne pas hésiter à rajouter un attribut `description` pour expliquer à quoi sert l'entrée. Ne pas hésiter à rajouter un attribut `description` pour expliquer à quoi sert l'entrée.
 +
 +Le résultat ressemblera alors à :
 +
 +{{ technique:adminsys:ldap:2020-09-08_20-10-16.png?nolink&600 |}}
  
 Une fois que c'est fait, on peut utiliser cet utilisateur via SMTP pour envoyer ou recevoir des mails. Une fois que c'est fait, on peut utiliser cet utilisateur via SMTP pour envoyer ou recevoir des mails.
LDAP user to find: qduchemi [auth.php:187]
LDAP Server: ldaps://ldap.picasoft.net [auth.php:190]
LDAP Filter: (&(objectClass=posixAccount)(uid=qduchemi)) [auth.php:200]
LDAP user search: Can't contact LDAP server [auth.php:202]
LDAP search at: ou=People,dc=picasoft,dc=net (&(objectClass=posixAccount)(uid=qduchemi)) [auth.php:203]
LDAP search returned non-array result: 1 [auth.php:212]
  • technique/adminsys/ldap/add_mail.1599588585.txt.gz
  • de qduchemi