Revert last commit

Purports to remove kbind, but adds a ldap_search_s() request.
This commit is contained in:
Kurt Zeilenga 2007-06-19 00:58:35 +00:00
parent 9631c14b3c
commit fa6aa0688a

View file

@ -411,9 +411,6 @@ main( int argc, char *argv[] )
ber_memfree( retoid );
ber_bvfree( retdata );
rc = ldap_search_s( ld, binddn, LDAP_SCOPE_BASE, "(objectclass=*)",
NULL, 0, &res );
rc = ( code == LDAP_SUCCESS ) ? EXIT_SUCCESS : EXIT_FAILURE;
done: