Cisco Headend Digital Broadband Delivery System
Enable the Client for LDAP and Sudo Support
4017610 Rev A
13
5 Did the above command run successfully?
If yes, continue with the next step in this procedure.
If no, contact Cisco Services and provide a screen capture from the above
command.
command.
6 Type cp -p nsswitch.files nsswitch.conf and press Enter. The system copies
nsswitch.files to nsswitch.conf.
7 Use a text editor such as vi to open /etc/nsswitch.conf and add the ldap tag only
for password, group, and netgroup entries as shown below:
passwd: files ldap
group: files ldap
netgroup: ldap
8 Save and close the /etc/nsswitch.conf file.
9 After the above modifications have been made, a file comparison of
9 After the above modifications have been made, a file comparison of
/etc/nsswitch.files and /etc/nsswitch.conf should reflect the following
differences:
differences:
LDAP_Client#
diff /etc/nsswitch.files /etc/nsswitch.conf
16,17c16,17
< passwd: files
< group: files
---
> passwd: files ldap
> group: files ldap
29c29
< netgroup: files
---
> netgroup: ldap
10 Does the file /etc/nsswitch.conf reflect the above changes?
If yes, go to Configure Sudo Support (on page 14).
If no, go back to step 5 and make the necessary modifications.