Projet

Général

Profil

Development #8215

Add a basic OpenLDAP sock/shell backend for users

Ajouté par Benjamin Dauvergne il y a plus de 8 ans. Mis à jour il y a plus de 6 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Catégorie:
-
Version cible:
Début:
09 septembre 2015
Echéance:
% réalisé:

100%

Temps estimé:
Patch proposed:
Non
Planning:

Description

The goal is to provide an LDAP read access to the user directory. It's an experimental feature.

Révisions associées

Révision 24d25350 (diff)
Ajouté par Benjamin Dauvergne il y a plus de 8 ans

add a basic OpenLDAP sock/shell backend (fixes #8215)

To use it, launch using socat, ex:

socat -s UNIX-LISTEN:/tmp/slapd-sock,umask=000,fork EXEC:"./authentic2-ctl --config=mysettings.py slapd-shell"

On OpenLDAP side you need to configure a backend such as:

olcDatabase={3}sock,cn=config
objectClass: olcDbSocketConfig
olcDatabase: {3}sock
olcDbSocketPath: /tmp/slapd-sock
olcSuffix: o=authentic

Only uuid, username, email, first_name and last_name are mapped (to uid,
, cn, mail, givenName and sn). The only filters supported are:

'('[uid|cn|givenName|sn|mail]= *? value *? )

That is exact match, prefix match, suffix match or substring match on
attributes uid, cn, mail, givenName and sn.

Historique

#1

Mis à jour par Benjamin Dauvergne il y a plus de 8 ans

  • Statut changé de Nouveau à Résolu (à déployer)
  • % réalisé changé de 0 à 100
#2

Mis à jour par Benjamin Dauvergne il y a environ 8 ans

  • Statut changé de Résolu (à déployer) à Solution déployée
#3

Mis à jour par Benjamin Dauvergne il y a plus de 6 ans

  • Statut changé de Solution déployée à Fermé

Formats disponibles : Atom PDF