This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
user:bewanyk:portfolio:ldap-client-install [2011/04/04 18:57] – [Verify Installation] bewanyk | user:bewanyk:portfolio:ldap-client-install [2011/04/04 19:02] (current) – [References:] bewanyk | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ======LDAP Clinet Installation and Configuration.====== | ||
+ | =====Preparation of virtual machine.===== | ||
+ | * Log onto the virtual machine, created for use as a LDAP client, as root using the password set at VM creation. | ||
+ | < | ||
+ | Warning: Permanently added ' | ||
+ | root@vm31.student.lab' | ||
+ | * Use pico to edit the '/ | ||
+ | < | ||
+ | 10.80.3.31 | ||
+ | 10.80.3.36 | ||
+ | #The following lines are desireable for IPv6 capable hosts | ||
+ | </ | ||
+ | * Install the ssh nmap packages using the command ' | ||
+ | * Press <Y> and < | ||
+ | *Confirm the LDAP server is available on the network using the command 'nmap -p 389 vm36.student.lab' | ||
+ | * Port state and service should read as " | ||
+ | =====OpenLDAP Client Install.===== | ||
+ | * Install the client packages needed using the command ' | ||
+ | * When prompted enter ' | ||
+ | * When prompted change the default entry to ' | ||
+ | * When prompted select " | ||
+ | * When prompted change the default entry to ' | ||
+ | * When prompted for a password press < | ||
+ | * DO NOT ENTER A PASSWORD AT THIS POINT! | ||
+ | * When prompted press < | ||
+ | * When prompted select "< | ||
+ | * When prompted select "< | ||
+ | * Install the LDAP utilities package using the command ' | ||
+ | * Reconfigure the //debconf// of // | ||
+ | * When prompted, confirm the entry reads " | ||
+ | * When prompted, confirm the entry reads " | ||
+ | * When prompted use the arrows to select " | ||
+ | * When prompted use the arrows to select "< | ||
+ | * When prompted use the arrows to select "< | ||
+ | * When prompted use the arrows to select "< | ||
+ | * Press < | ||
+ | ====ldap.conf==== | ||
+ | * Use pico to edit the //"/ | ||
+ | < | ||
+ | URI | ||
+ | * Save and exit usint the < | ||
+ | ====nsswitch.conf==== | ||
+ | * Stop the nscd daemon using the command '/ | ||
+ | * Use pico to edit the nsswitch.conf file by typing the command 'pico / | ||
+ | * Change the passwd, group, shadow, and hosts entries to match the following: | ||
+ | <cli> | ||
+ | passwd: | ||
+ | group: | ||
+ | shadow: | ||
+ | hosts: | ||
+ | * Save and exit using the < | ||
+ | * Use the command '/ | ||
+ | ====PAM Configuration==== | ||
+ | * Use pico to edit the common-session file using the command 'pico / | ||
+ | * Add the following line to the end of the file: | ||
+ | session required | ||
+ | * Save and exit using the < | ||
+ | ====Verify Installation==== | ||
+ | * Confirm installation using the following command: | ||
+ | |||
+ | ~# id genUsr | ||
+ | |||
+ | * The response should look like: | ||
+ | < | ||
+ | =====References: | ||
+ | [[http:// | ||
+ | |||
+ | [[http:// | ||
+ | |||
+ | [[http:// | ||
+ | |||
+ | [[http:// |