How do i configure Ezeelogin to authenticate using OpenLdap(Pam-Ldap) in centos ?
Integration of Open-LDAP (PAM-LDAP) in centos
root@jumpserver:~# yum install php-ldap openldap openldap-clients ;apachectl restart
1. Login to Web-GUI > open settings > Ldap
Add the details of LDAP configurations
2 Under Settings > general > Authentication > change Webpanel authentication to ldap & Check PAM Authentication


you can confirm the imported LDAP users were listed in Users
Now you can login to ezeelogin with ldap user in ezeelogin GUI
#yum install nss-pam-ldapd nscd
#authconfig-tui

vi /etc/nslcd.conf
binddn cn=admin,dc=eztest,dc=net
bindpw chaSD@#234JH56hj^7
map passwd loginShell "/usr/local/bin/ezsh"
authconfig --enablemkhomedir --update
service nslcd restart && service nscd restart
Ensure the login shell of ldap user is /usr/local/bin/ezsh
[root@jumpserver ~]# finger jake
Login: jake Name: jake t
Directory: /home/jake Shell: /usr/local/bin/ezsh
Last login Wed Jun 13 05:02 (EDT) on pts/1 from 10.1.1.13
No mail.
No Plan.
[root@jumpserver ~]# id jake
uid=1001(jake) gid=20001(domain users) groups=1547600513(domain users)
ldapsearch -v -x -H ldap://10.11.1.164 -b "cn=jake j,cn=Users,dc=ad2016,dc=admod,dc=net" -D "cn=administrator,dc=ad2016,dc=admod,dc=net" -w redhat
ldap_initialize( ldap://10.11.1.103:389/??base )
filter: (objectclass=*)
requesting: All userApplication attributes
# extended LDIF
#
# LDAPv3
# base <cn=jake j,dc=ad2016,dc=admod,dc=net> with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#
# jake j, ad2016.admod.net
dn: cn=jake j,dc=ad2016,dc=admod,dc=net
cn: jake j
givenName: jake
gidNumber: 500
sn: j
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: top
userPassword:: e01ENX15VHpOZUxJSFpTZzBZaGF6c3ZjQjVnPT0=
uidNumber: 1001
uid: jake
homeDirectory: /home/jake
loginShell: /usr/local/bin/ezsh
# search result
search: 2
result: 0 Success
# numResponses: 2
# numEntries: 1
Quotation content
setting the context and environment in which something is set More (Definitions, Synonyms, Translation)