|Skip Navigation Links|
|Exit Print View|
|Oracle Solaris Administration: Naming and Directory Services Oracle Solaris 11 Information Library|
Note - Before populating the directory server with data, you must configure the server to store passwords in UNIX Crypt format if you are using the pam_unix_* modules. If you are using pam_ldap, you can store passwords in any format. For more information about setting the password in UNIX crypt format, see the Oracle Directory Server Enterprise Edition documents.
ldapaddent reads from the standard input (that being an /etc/filename like passwd) and places this data to the container associated with the service. Client configuration determines how the data will be written by default.
# ldapaddent -D "cn=directory manager" -f /etc/passwd passwd
See the ldapaddent(1M) man page. Also see Chapter 9, Introduction to LDAP Naming Services (Overview) for information about LDAP security and write-access to the directory server.