1,234
edits
Changes
→INVESTIGATION 2: Adding Users to LDAP
$DEFAULT_BASE = "dc=andrew,dc=ops";
$EXTENDED_SCHEMA = 1;</source>
<source>
grep -w <your username> /etc/passwd > /root/ldapusers.entry
</source>
*Use the ldapadd command to enter this new information into the database(see the Itzgeek tutorial for an example). As before use simple authentication, the distinguished name of the ldap administrator, and get prompted for a password.* Use ldapsearch to confirm that the new users have been added to the database.<br />You should get output similar to the following:
<source>
# extended LDIF