Women in Technology

Hear us Roar

  Building an Address Book with OpenLDAP
Subject:   still no joy
Date:   2003-04-06 11:07:09
From:   dpuryear
Response to: still no joy

Try posting the complete ldapadd (include all arguments) and ldapsearch (include all arguments).
Full Threads Newest First

Showing messages 1 through 2 of 2.

  • still no joy
    2003-04-12 11:10:59  jcphil [View]

    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

    • still no joy
      2003-05-12 19:54:29  anonymous2 [View]

      Hi jcphil,

      I had the same problem last weekend. Now after going through the slapd.conf, I found that it was the access control creating the problem. Since there was nothing mentioned in the article about "access to" in slapd.conf, I commented it out, restarted slapd and everything working fine. Need to read more details about access to..... Have fun.