[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Ldap , problems with getent passwd



I fixed it, the problem was in the libnss_ldap configuration, I ran to fix it:

dpkg-reconfigure libnss-ldap , and I filled it again. something should be wrong before.

Now Im having another problem, when i try to change permissions from windows , i get this errors from syslog 
lapd[5168]: <= bdb_equality_candidates: (gidNumber) not indexed
Oct 20 13:57:10 chacoli slapd[5168]: <= bdb_equality_candidates: (sambaSID) not indexed
Oct 20 13:57:10 chacoli slapd[5168]: <= bdb_equality_candidates: (sambaSID) not indexed
Oct 20 13:57:10 chacoli slapd[5168]: <= bdb_equality_candidates: (sambaGroupType) not indexed
Oct 20 13:57:10 chacoli slapd[5168]: <= bdb_equality_candidates: (sambaSIDList) not indexed
Oct 20 13:57:10 chacoli slapd[5168]: <= bdb_equality_candidates: (sambaSIDList) not indexed
Oct 20 13:57:10 chacoli slapd[5168]: <= bdb_equality_candidates: (sambaSIDList) not indexed
Oct 20 13:57:10 chacoli slapd[5168]: <= bdb_equality_candidates: (sambaSIDList) not indexed
Oct 20 13:57:10 chacoli slapd[5168]: <= bdb_equality_candidates: (sambaGroupType) not indexed
Oct 20 13:57:10 chacoli slapd[5168]: <= bdb_equality_candidates: (sambaSIDList) not indexed
Oct 20 13:57:10 chacoli slapd[5168]: <= bdb_equality_candidates: (sambaSIDList) not indexed


Regards, i hope someone answer me.

Thanks for all

regards
Alejandro Gándara

2010/10/20 Alejandro <agandara@optaresolutions.com>
Hi all,

I've just configured samba PDC + Ldap . I thouhg i had everything right done , but recently running last test, I've seen when i do :

smbldap-useradd -m testuser1 , I check phpldapadmin to see if user was created  , and right, user appear in phpldapadmin , with an uuid=testuser1, but if  I check with a shell:
getent passwd

I have no results concern with testuser1 , just local users, what could I've been doing wrong.

This is my nsswitch.conf

passwd:         compat ldap
group:          compat ldap
shadow:         compat ldap

hosts:          files dns
networks:       files

protocols:      db files
services:       db files
ethers:         db files
rpc:            db files

netgroup:       nis


if you need more information about others files just tell me .

Thanks for all , and excuse me for my english

Regards

Alejandro Gándara



--




<p style="font-size: xx-small; color: #0078aa; font-family: verdana, geneva;">
    <strong style="font-size: x-small;">Nombre Apellidos</strong> | Puesto<br />
    T/ + 34 986 410 091 (ext) xxx | M/ +34 xxx xxx xxx<br />
    <a style="text-decoration: none; color: #0078aa;" href="" href="http://www.optaresolutions.com/" target="_blank">http://www.optaresolutions.com" target="_blank">
        www.optaresolutions.com<br />
    </a>
        <br />
    <a style="text-decoration: none; color: #0078aa;" href="" href="http://optarecoolvendor.com/" target="_blank">http://optarecoolvendor.com" target="_blank">
        <img style="border: 0;" src="" href="http://www.optaresolutions.com/images/stories/optareemailsignature.jpg" target="_blank">http://www.optaresolutions.com/images/stories/optareemailsignature.jpg" alt="Optare Solutions"  />
    </a>
</p>