Nethserver-piler needs your tests

yum install http://mirror.de-labrusse.fr/NethDev/nethserver-piler/nethserver-piler-0.1.0-1.17.g1711166.ns7.sdl.x86_64.rpm

you have to install an account provider,back to imap because ldap still doe not work well

to use ldap do

config setprop piler Authentication ldap
systemctl restart piler

with openldap, piler can authenticate the user, grant him admin right if it is admin, retrieve its email address, the issue is piler cannot retrieve the group

with samba AD it is worth strange, piler can authenticate the user but piler does not know the email address and the group. This is a big issue because without email address, piler is completely lost.

the ldap configuration

I think I need some advices @jsuto

this is the output of samba : https://gist.github.com/stephdl/109d4cbbc34fd3d8dcdc56218594599d

[root@ns7loc13 ~]# net ads search -P cn=stephane
Got 1 replies

objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: user
cn: stephane
givenName: stephane de labrusse
instanceType: 4
whenCreated: 20201219201513.0Z
displayName: stephane de labrusse
uSNCreated: 3819
name: stephane
objectGUID: d9f0d850-2d48-49c9-8a40-59b6e1cd7a62
badPwdCount: 0
codePage: 0
countryCode: 0
badPasswordTime: 0
lastLogoff: 0
lastLogon: 0
primaryGroupID: 513
objectSid: S-1-5-21-2352814451-3700784286-2587900704-1107
accountExpires: 9223372036854775807
logonCount: 0
sAMAccountName: stephane
sAMAccountType: 805306368
objectCategory: CN=Person,CN=Schema,CN=Configuration,DC=ad,DC=nethservertest,DC=org
loginShell: /usr/libexec/openssh/sftp-server
unixHomeDirectory: /var/lib/nethserver/home/stephane
userPrincipalName: stephane@nethservertest.org
memberOf: CN=famille,CN=Users,DC=ad,DC=nethservertest,DC=org
userAccountControl: 66048
pwdLastSet: 132528825164467320
lastLogonTimestamp: 132575382823831570
whenChanged: 20210211173122.0Z
uSNChanged: 3859
distinguishedName: CN=stephane,CN=Users,DC=ad,DC=nethservertest,DC=org

[root@ns7loc13 ~]# 
[root@ns7loc13 ~]# net ads search -P cn=famille
Got 1 replies

objectClass: top
objectClass: group
cn: famille
instanceType: 4
whenCreated: 20201219201432.0Z
uSNCreated: 3818
name: famille
objectGUID: b7be0ea0-e8bd-4048-a401-4289f9207016
objectSid: S-1-5-21-2352814451-3700784286-2587900704-1106
sAMAccountName: famille
sAMAccountType: 268435456
groupType: -2147483646
objectCategory: CN=Group,CN=Schema,CN=Configuration,DC=ad,DC=nethservertest,DC=org
member: CN=maxime,CN=Users,DC=ad,DC=nethservertest,DC=org
member: CN=stephane,CN=Users,DC=ad,DC=nethservertest,DC=org
member: CN=helene,CN=Users,DC=ad,DC=nethservertest,DC=org
whenChanged: 20201219201658.0Z
uSNChanged: 3845
distinguishedName: CN=famille,CN=Users,DC=ad,DC=nethservertest,DC=org

this is the output of openldap : https://gist.github.com/stephdl/c970babae3b19afd1302a59ae4f3e821

dn: cn=famille,ou=Groups,dc=directory,dc=nh
gidNumber: 1002
cn: famille
objectClass: posixGroup
structuralObjectClass: posixGroup
entryUUID: f4126658-d67e-103a-9353-618194e739f1
creatorsName: cn=libuser,dc=directory,dc=nh
createTimestamp: 20201219194847Z
memberUid: stephane
memberUid: helene
memberUid: maxime
entryCSN: 20201219194955.372605Z#000000#000#000000
modifiersName: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
modifyTimestamp: 20201219194955Z

dn: uid=stephane,ou=People,dc=directory,dc=nh
uidNumber: 1001
gidNumber: 1000
uid: stephane
shadowMax: 99999
shadowWarning: 7
shadowMin: 0
loginShell: /usr/libexec/openssh/sftp-server
homeDirectory: /var/lib/nethserver/home/stephane
shadowInactive: -1
shadowExpire: -1
gecos: stephane de labrusse
shadowLastChange: 18615
shadowFlag: -1
cn: stephane de labrusse
sn: stephane
objectClass: posixAccount
objectClass: shadowAccount
objectClass: inetOrgPerson
structuralObjectClass: inetOrgPerson
entryUUID: 020142ca-d67f-103a-9354-618194e739f1
creatorsName: cn=libuser,dc=directory,dc=nh
createTimestamp: 20201219194910Z
mail: stephane@nethservertest.org
userPassword:: e0NSWVBUfSQ2JEZHdzhQaWJvLmEvS2pHc2wkcXdhWUtHV0l0ZnBMakF3MWlla
 G1ZV05SdDFRVjVFYVpyU1AudnJxYllpcGdZSmsxZEoxUW4xVXMxMnIuVW9sWGxZM1YvNUhLZmZ6
 SFN3ZGZvVGJZNy8=
entryCSN: 20201219194912.524513Z#000000#000#000000
modifiersName: cn=libuser,dc=directory,dc=nh
modifyTimestamp: 20201219194912Z
1 Like