ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Building an Address Book with OpenLDAP
Subject:   still no joy
Date:   2003-04-12 11:10:59
From:   jcphil
Response to: still no joy

Sorry to respond so late. No time during the week. The ldapadd command was as you have it in your article, except that I added the "-x" option. Without that, I get this error:


ldap_sasl_interactive_bind_s: No such attribute


The same goes for the search. I have to use this string to search:


ldapsearch -x -b 'dc=example, dc=com' 'objectclass=*'


And the output is as I posted before. Here it is again:


version: 2


#
# filter: objectclass=*
# requesting: ALL
#


# search result
search: 2
result: 0 Success


# numResponses: 1



1 to 1 of 1
1 to 1 of 1