Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am playing with LDAP lately and trying to authenticate against ApacheDS. I am unable to setup my Ubuntu client to print the LDAP users list (getent passwd for instance). I found few tutorials on the web of how to setup the server side. I do that via the Apache Directory Studio and have no issues at all - the server is up and running, the Studio sees the users and groups I got there. I am using the example apache_ds_tutorial.ldif from Apache DS website. I found some LDAP client setup on the Web, all made for OpenLDAP. I tested that one too and successfully authenticate against it. However, when I try to set it up in similar way for my ApacheDS it won't work.

Does anyone know how I could setup my LDAP client for ApacheDS? Thanks!

share|improve this question
    
Whats the error you get ? The setup is the same for any ldap directory –  topdog Apr 25 '12 at 15:28
    
I got correct output from ldapsearch -x but getent passwd does not display LDAP users. –  grs Apr 25 '12 at 17:33
    
I think I got it. It turned out the cn=nis,ou=schema was disabled by default and the ObjectClass posixAccount was not available. As soon as I enabled it, I was able to create test user and to login as such. Thanks! –  grs Apr 26 '12 at 19:35
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.