--- Todd Lyons <[EMAIL PROTECTED]> wrote:
> It works fine for me on passwd, group, and shadow. 
> I have not enabled
> hosts so I cannot speak authoritatively about that.
> 
> For reference, here's my ldap.conf for my test
> system:
> 
> host 192.168.3.30
> base dc=us,dc=mandrakesoft,dc=com
> ldap_version 3
> binddn uid=ldapadmin,dc=us,dc=mandrakesoft,dc=com
> bindpw aaaaaaaaaaaaaaaaaa
> rootbinddn
> uid=ldapwriter,dc=us,dc=mandrakesoft,dc=com
> scope one
> pam_filter objectclass=posixAccount
> pam_login_attribute uid
> pam_member_attribute gid
> pam_template_login_attribute uid
> pam_password md5
> nss_base_passwd
> ou=People,dc=us,dc=mandrakesoft,dc=com?one
> nss_base_shadow
> ou=People,dc=us,dc=mandrakesoft,dc=com?one
> nss_base_group
> ou=Group,dc=us,dc=mandrakesoft,dc=com?one
> ssl off
> 
> And installed packages:
> libldap2-devel-static-2.0.25-3mdk
> openldap-clients-2.0.25-3mdk
> libldap2-2.0.25-3mdk
> pam_ldap-148-2mdk
> libldap2-devel-2.0.25-3mdk
> php-ldap-4.2.1-2mdk
> openldap-2.0.25-3mdk
> nss_ldap-194-2mdk

Here's my relevant info:
[walser@mario walser]$ egrep -v "^#" /etc/ldap.conf |
egrep -v "^$"
host 192.168.0.1
base dc=linux,dc=box
ldap_version 3
rootbinddn cn=proxyuser,dc=example,dc=com
scope one
pam_filter objectclass=posixaccount
pam_login_attribute uid
pam_member_attribute gid
pam_template_login_attribute uid
pam_password md5
nss_base_passwd ou=People,dc=linux,dc=box?one
nss_base_shadow ou=People,dc=linux,dc=box?one
nss_base_group          ou=Group,dc=linux,dc=box?one
nss_base_hosts          ou=Hosts,dc=linux,dc=box?one
ssl off
[walser@mario walser]$ rpm -qa | grep ldap
nss_ldap-194-2mdk
openldap-2.0.25-3mdk
perl-ldap-0.26-2mdk
openldap-clients-2.0.25-3mdk
pam_ldap-148-2mdk
libldap2-2.0.25-3mdk
libldap2-devel-static-2.0.25-3mdk
mod_auth_ldap-1.6.0-7mdk
libldap2-devel-2.0.25-3mdk
php-ldap-4.2.1-2mdk

and the ldap.conf on the server that works
successfully as a client to itself:
[root@luigiwalser root]# egrep -v "^#" /etc/ldap.conf
| egrep -v "^$"
host 127.0.0.1
base dc=linux,dc=box
ldap_version 3
rootbinddn cn=proxyuser,dc=linux,dc=box
scope one
pam_filter objectclass=posixaccount
pam_login_attribute uid
pam_member_attribute gid
pam_template_login_attribute uid
pam_password md5
nss_base_passwd ou=People,dc=linux,dc=box?one
nss_base_shadow ou=People,dc=linux,dc=box?one
nss_base_group          ou=Group,dc=linux,dc=box?one
nss_base_hosts          ou=Hosts,dc=linux,dc=box?one
ssl off


__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

Reply via email to