[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Really confusing responses (was: Re: Can't slapadd ldif file)



Todd Lyons wrote:
Because slapcat reads the files directly.  In general, slap* works with
the directory files directly and ldap* communicates with the slapd
server process and asks the server process to do the work.

That makes sense. Awesome. Thanks.

# ldapsearch -b 'ou=groups,dc=example,dc=com,c=US' 'objectclass=*'
ldap_sasl_interactive_bind_s: No such attribute

You have not configured SASL to work with your configuration, but since you compiled sasl in, it uses it by default. Add a -x to your commandline to disable sasl.

Good call. But it still has issues:

----------------------------------------
# ldapsearch -xb 'dc=example,dc=com,c=US' 'objectclass=*'
version: 2

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

# search result
search: 2
result: 32 No such object

# numResponses: 1
---------------------------------------

This should definitely find something as far as I'm concerned (see slapcat info in previous email).


-- Phil Dibowitz phil@ipom.com Freeware and Technical Pages Insanity Palace of Metallica http://home.earthlink.net/~jaymzh666/ http://www.ipom.com/

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
 - Benjamin Franklin, 1759