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

simple bind

I am trying to use ldap_simple_bind_s() in OpenLDAP 2.0.11. 

I can successfully bind when I specify the root DSE and password
(as configured in slapd.conf).  But, when I try to specify
another DN it fails with:

  ldap: sasl.c:68: ldap_sasl_bind: Assertion `( ( ld )->ld_options.ldo_valid ==
0x2 )' failed.

I built the distribution w/o SASL support. 

  ./configure --prefix=/usr/local/openldap --enable-syslog  \
      --disable-ipv6  --with-tls  --enable-modules --enable-passwd

When I use the same DN and password combination on the command-line
with the ldapsearch(1) utility, it works!

Any tips?

- Don

- Don Buchholz                               <don@truedisk.com>
- TrueDisk, 7431 NW Evergreen Pkwy - #110, Hillsboro, OR  97124
- voice: 503/615-0888 x266                    FAX: 503/693-0873