29.11.2012 Views

About Omneon MediaGrid - Harmonic Inc

About Omneon MediaGrid - Harmonic Inc

About Omneon MediaGrid - Harmonic Inc

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Editing the LDAP Configuration File<br />

System Configuration<br />

A configuration file is present on the ContentDirectors, which can be edited to set up LDAP<br />

authentication. Complete the steps below to set up LDAP.<br />

NOTE: You may also use the preferred Linux LDAP client configuration method prescribed by your Linux<br />

system administrator to set up LDAP.<br />

To edit the file:<br />

1. Open the /etc/ldap.conf file on both the primary and secondary ContentDirectors and edit the<br />

following lines:<br />

a. Specify the LDAP server by changing “host 127.0.0.1” to the Fully Qualified Domain Name<br />

(FQDN) of the customer LDAP server, for example:<br />

ahost.example.com<br />

Another way to specify the LDAP server is to provide a Uniform Resource Identifier (URI) with<br />

the server name. For example:<br />

uri ldap://example-ldap/<br />

b. Change the entry “base dc=example,dc=com” to the distinguished name of the search base,<br />

which is the name that uniquely identifies an entry in the directory.<br />

c. Edit the line “pam_password md5” to add the password encryption function crypt.<br />

• For Windows, edit as follows: pam_password crypt<br />

• For Apple Open Directory, edit as follows: pam_password exop<br />

2. Save and close the /etc/ldap.conf file.<br />

3. Open the /omneon/config/mdscore-local file on both the primary and secondary<br />

ContentDirectors and add the following line to the file to set the authentication method:<br />

auth_method = pam<br />

4. Create a symbolic link between the two LDAP configuration files as follows:<br />

mv /etc/openldap/ldap.conf /etc/openldap/ldap.conf.old<br />

ln -s /etc/ldap.conf /etc/openldap/ldap.conf<br />

5. Type the following to test the configuration:<br />

id admin<br />

where “admin” is a user who is only in ldap and not in the local /etc/passwd file.<br />

You should see the following if the configuration is set up properly:<br />

uid=5001(admin) gid=5001(admin) groups=5001(admin)<br />

If you see the following output, LDAP is not configured properly, and you must trace the problem:<br />

id: admin: No such user<br />

6. Restart the omcld service by typing the following:<br />

service omcld restart<br />

<strong>Omneon</strong>, Now Part of <strong>Harmonic</strong> 115

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!