Using LDAP Search On Linux / Solaris 12 With TLS/SSL

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Using ldapsearch to do an LDAP Search using TLS/SSL

In older / previous versions of Solaris (pre-Solaris 12/11.4) ldapsearch was based on the original Netscape ldapsearch using a different syntex.
Searching for a user was something like the syntax below.

In more recent versions of 11.4 (Solaris 12), the ldapsearch application was updated to work more like the Linux version, which added many options but also changed the the syntax.

Below are some examples.
Note: Some of the steps below are only required if the LDAP CA certificate is not using a public CA or your private CA was not added to your system certificates.

You can also added/modify one of the files below to make this a permanent setting.
Add to /etc/openldap/ldap.conf or ~/.ldaprc.

Two additional examples.

Getting the last unused uidNumber by implementing LDAP server side sorting.

Example with paged results

Leave a Reply

avatar
  Subscribe  
Notify of