Re: getent passwd doesn't show ldap user

2012-04-25 Thread stefano malini
Per, it runs. yes, i forgot to put it. thanks. now it the samba round! maybe i'll wrote you again! thank you very much. On 04/23/2012 10:36 PM, Per Carlson wrote: Hi Stefano nslcd: [8b4567] DEBUG: myldap_search(base="dc=amahoro,dc=bi", filter="(objectClass=posixAccount)") nslcd: [8b4567] DEB

Re: getent passwd doesn't show ldap user

2012-04-23 Thread Per Carlson
Hi Stefano > nslcd: [8b4567] DEBUG: myldap_search(base="dc=amahoro,dc=bi", > filter="(objectClass=posixAccount)") > nslcd: [8b4567] DEBUG: ldap_simple_bind_s(NULL,NULL) > (uri="ldap://localhost:389";) > > nslcd: [8b4567] ldap_result() failed: No such object Looking back at your first post, I now

Re: getent passwd doesn't show ldap user

2012-04-23 Thread stefano malini
Hi Per. something is improved! now i can log manually, there was an error, a big error, i didn't insert the root as ldif in the directory. Very big error! Anyway, the problem with getent passwd is still there: This is the output of nslcd -d typing getent passwd fro another shell: nslcd: DEBU

Re: getent passwd doesn't show ldap user

2012-04-23 Thread stefano malini
Hi Per, > Try stopping the caching daemon ("sudo service nscd stop") and try > again. getent still doesn't resolve? i tried without success > I'm not 100% sure, but LDAP might bee needed in pam as well. > Installing libpam-ldapd should do that automatically. Look for > "pam_ldap.so" in /etc/pam

Re: getent passwd doesn't show ldap user

2012-04-23 Thread Per Carlson
Hi Stefano. >> Did you install nslcd by it self or in companion with libnss-ldapd and >> libpam-ldapd? > > nslcd has been installed automatically installing libnss-ldapd. Ok. > This is my /etc/nsswitch.conf: > > passwd:         files ldap > group:          files ldap > shadow:         files ldap

Re: getent passwd doesn't show ldap user

2012-04-23 Thread stefano malini
slcd by it self or in companion with libnss-ldapd and libpam-ldapd? How does your /etc/nsswitch.conf look like? Here are the relevant lines from mine: passwd: files ldap group: files ldap shadow: files ldap You need libnss-ldapd for the "ldap" rule in the lines above.

Re: getent passwd doesn't show ldap user

2012-04-23 Thread Per Carlson
files ldap group: files ldap shadow: files ldap You need libnss-ldapd for the "ldap" rule in the lines above. > At the moment getent passwd doesn't show ldap user. > I create a user nslcd_proc for nslcd lookups. > this user belong to the System organizati

getent passwd doesn't show ldap user

2012-04-23 Thread stefano malini
hi, installed openldap and configured nslcd.conf and nsswitch.conf on debian squeeze server. At the moment getent passwd doesn't show ldap user. I create a user nslcd_proc for nslcd lookups. this user belong to the System organizationalUnit. You can see some checks. FIRST SHELL nslcd -d