Sets up Virtual I/O Server as a Lightweight Direct Access Protocol (LDAP) client.
mkldap -host serverlist -bind bindDN -passwd bindpwd [ -base baseDN ] [ -port serverport ] [ -ctimeout cacheTimeout ] [ -csize cacheSize ] [ -threads NumberofThreads ] [ -hbeatint heartBeatInt ] [-keypath SSL_database_path ] [-keypasswd SSL_password ] [ -auth authType ] [ -users userlist | ALL]
mkldap -deconfig
You can supply multiple LDAP servers to the mkldap command during client setup. In this case, the client contacts the servers in the supplied order and establishes connection to the first server to which the client can successfully bind.
The LDAP client communicates to the LDAP server through a client side daemon, secldapclntd.
The secldapclntd command is enabled or disabled by using the startnetsvc and stopnetsvc commands.
| 0 | Success |
| 1 | Invalid flag, argument, or command failure |
Run one of the following mkldap commands with the -u flag for a user ID to become an LDAP user ID at client setup time:
mkldap -host ldapserv1 -bind cn=admin -passwd adminpwd -users user1,user2
mkldap -host ldapserv1 -bind cn=admin -passwd adminpwd
mkdap -bind cn=admin -passwd adminpwd -host server3.your_company.com -base o=mycompany,c=us -keypath /usr/ldap/clientkey.kdb -keypasswd keypwd -users user1,user2
Either of these commands set up the local host as the client of the LDAP server running on host ldapserv1 and cn=admin and -passwd adminpwd are the LDAP server administrator DN and password.
| /etc/security/ldap/ldap.cfg | Contains the mkldap command, and server bind DN, password, server name, the SSL key path and password, and other configuration attributes. |