From fa6aa0688a1ad566484b31a07d505e66024c1717 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Tue, 19 Jun 2007 00:58:35 +0000 Subject: [PATCH] Revert last commit Purports to remove kbind, but adds a ldap_search_s() request. --- clients/tools/ldappasswd.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/clients/tools/ldappasswd.c b/clients/tools/ldappasswd.c index 7645e55e0a..9e0cbbd206 100644 --- a/clients/tools/ldappasswd.c +++ b/clients/tools/ldappasswd.c @@ -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: -- 2.39.5