Commit 9ffd22d1 authored by Luc Bourdot's avatar Luc Bourdot
Browse files

Draft memberOf

parent 2967f319
# Conteneur E-LDAP en mode Production
FROM mhart/alpine-node:14
RUN apk add --no-cache vim
#FROM node:slim
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY . /usr/src/app
......@@ -10,3 +10,6 @@ npm install
node server.js
Ex recherche:
ldapsearch -x -H ldap://localhost:1389 -D "cn=reader,dc=Apps" -w MySecret -b dc=Apps
......@@ -44,6 +44,7 @@ uuid: u.username.toLowerCase(),
name: u.lastName ,
surname: u.firstName,
structure: u.structure,
memberof: u.favGroups,
mail: (!u.emails)?"":u.emails[0].address ,
//isActive: u.isActive,
profile: u.profile,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment