Commit 39258110 authored by Luc Bourdot's avatar Luc Bourdot
Browse files

Ajout username

parent 0e403f97
Pipeline #5637 failed with stages
in 0 seconds
node_modules
package-lock.json
npm-debug.log
.env
config/local-env.js
This diff is collapsed.
......@@ -7,7 +7,6 @@
"ldapjs": "^2.2.4",
"mongo-connect": "^0.0.6",
"mongoose": "^5.12.4"
},
"engines": {
"node": ">=0.10.0"
......
......@@ -39,13 +39,14 @@ r={
dn: 'cn='+u.username.toLowerCase()+','+SUFFIX,
attributes: {
cn: u.username.toLowerCase(),
username: u.username,
uid: u.username,
uuid: u.username.toLowerCase(),
name: u.lastName ,
surname: u.firstName,
structure: u.structure,
mail: (!u.emails)?"":u.emails[0].address ,
nclocator: (!u.nclocator?"":nclocator),
nclocator: (!u.nclocator?"":u.nclocator),
//isActive: u.isActive,
profile: u.profile,
objectclass: 'appsUser',
......
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