Women in Technology

Hear us Roar



Article:
  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).
Main Topics Oldest First

Showing messages 1 through 1 of 1.

  • 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