OpenLDAP
OpenLDAP⚑
Usage⚑
Don't check certs⚑
LDAPTLS_REQCERT=never [command]
Show special entries and attributes in search⚑
ldapsearch [...] +
Or add TLS_REQCERT never
to /etc/openldap/ldap.conf
.
Tips⚑
Get highest uidNUmber on LDAP⚑
ldapsearch -H ldaps://your-ldap-domain -D "cn=Manager,dc=domain,dc=com" -W | awk '/uidNumber: / {print $2}' | sort | tail -n 1