Open rodrigolopes13 opened 1 year ago
There also is an issue, that you cannot specify a LDAP group/groups from what to add users. If you have a large LDAP, that contains Printers, System accounts and etc, then there is a problem as LDAP gives out 1000 Enterys and you have 2000
This is my success config for LDAPS
openssl x509 -inform DER -in ROOT-CA.cer -out ROOT-CA.crt install ROOT-CA.crt /etc/pki/tls/certs/ ln -s ROOT-CA.crt /etc/pki/tls/certs/$(openssl x509 -noout -hash -in /etc/pki/tls/certs/ROOT-CA.crt).0
LDAP configuration Enable users authentication through LDAP server: Yes Hosts: srv-dc.testvn.local LDAP port: 636 Base DN: OU=TESTVN,DC=testvn,DC=local Username: CN=ldap.teampass,OU=TESTVN,DC=testvn,DC=local Password: 123@123a User Distinguished Name: distinguishedname User name attribute: samaccountname User Object Filter: (&(objectClass=user)(CN=grp-user1,OU=TESTVN,DC=testvn,DC=local)) LDAP server type: Active Directory Use LDAP through SSL (LDAPS): Yes Use LDAP through TLS: yes Certificate check for LDAP TLS: LDAP_OPT_X_TLS_NEVER Teampass local users only: No Local and LDAP users: Yes Hide forgot password link on Home page: Yes
Page on which it happened
http://10.4.35.33/index.php?page=users
Steps to reproduce
Expected behaviour
A list of the users within my AD should appear on the table.
Actual behaviour
The query returns no results and nothing is populated in the table.
Server configuration
Operating system: Linux teampass 5.14.0-162.6.1.el9_1.0.1.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Nov 28 18:44:09 UTC 2022 x86_64
Web server: Apache/2.4.53 (Rocky Linux)
Database: 10.5.16-MariaDB
PHP version: 8.0.20
Teampass version: 3.0.0.22
Teampass configuration file:
Updated from an older Teampass or fresh install:
Client configuration
Browser: -
Operating system: - bits
Logs
Web server error log
Teampass 10 last system errors
Log from the web-browser developer console (CTRL + SHIFT + i)