13.07.2015 Views

Naming and Directory Services (DNS, NIS, and LDAP)

Naming and Directory Services (DNS, NIS, and LDAP)

Naming and Directory Services (DNS, NIS, and LDAP)

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.

<strong>LDAP</strong> Configuration Problems <strong>and</strong>SolutionsThe following sections describe <strong>LDAP</strong> configuration problems <strong>and</strong> suggests solutionsto the problems.Unresolved HostnameThe Solaris platform <strong>LDAP</strong> client back end returns fully qualified host names for hostlookups, such as host names returned by gethostbyname() <strong>and</strong> getaddrinfo().If the name stored is qualified, that is, contains at least one dot, the client returns thename as is. For example, if the name stored is hostB.eng, the returned name ishostB.eng.If the name stored in the <strong>LDAP</strong> directory is not qualified (it does not contain a dot),the client back end appends the domain part to the name. For example, if the namestored is hostA, the returned name is hostA.domainname.Unable to Reach Systems in the <strong>LDAP</strong> DomainRemotelyIf the <strong>DNS</strong> domain name is different from the <strong>LDAP</strong> domain name, then the <strong>LDAP</strong>naming service cannot be used to serve host names unless the host names are storedfully qualified.Login Does Not Work<strong>LDAP</strong> clients use the PAM modules for user authentication during login. When usingthe st<strong>and</strong>ard UNIX PAM module, the password is read from the server <strong>and</strong> checkedon the client side. This can fail due to one of the following reasons:1. ldap is not used by the passwd service in the /etc/nsswitch.conf file.2. The user’s userPassword attribute on the server list is not readable by the proxyagent. You need to allow at least the proxy agent to read the password because theproxy agent returns it to the client for comparison. pam_ldap does not requireread access to the password.3. The proxy agent might not have the correct password.4. The entry does not have the shadowAccount object class.192 System Administration Guide: <strong>Naming</strong> <strong>and</strong> <strong>Directory</strong> <strong>Services</strong> (<strong>DNS</strong>, <strong>NIS</strong>, <strong>and</strong> <strong>LDAP</strong>) • January 2005

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

Saved successfully!

Ooh no, something went wrong!