Changes

Jump to: navigation, search

OPS335-Lab-ldap

36 bytes added, 18:08, 28 November 2019
INVESTIGATION 2: Adding Users to LDAP
$DEFAULT_BASE = "dc=andrew,dc=ops";
$EXTENDED_SCHEMA = 1;</source>
#*Add a new user to this machine with your username and a UID of 10000. Set their password as well.#*Migrating them into LDAP will take several steps:*Extract the passwd entries of your new user from /etc/passwd to a file called"ldapusers.entry"
<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

Navigation menu