From: Kurt Zeilenga Date: Thu, 31 Jan 2002 22:55:03 +0000 (+0000) Subject: Import kbind fix from HEAD (blind commit) X-Git-Tag: OPENLDAP_REL_ENG_2_0_22~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea074ff4c3c0c12a1a3df67579dd702bba33b129;p=thirdparty%2Fopenldap.git Import kbind fix from HEAD (blind commit) --- diff --git a/clients/ud/auth.c b/clients/ud/auth.c index 2835cb5644..5b74fcf4ea 100644 --- a/clients/ud/auth.c +++ b/clients/ud/auth.c @@ -136,25 +136,6 @@ auth( char *who, int implicit ) printf(" Authenticating to the directory as \"%s\"...\n", *rdns ); #ifdef LDAP_API_FEATURE_X_OPENLDAP_V2_KBIND - /* - * First, if the user has a choice of auth methods, ask which - * one they want to use. if they want kerberos, ask which - * krbname they want to bind as. - */ - - if ( (krbnames = ldap_get_values( ld, mp, "krbName" )) != NULL ) { - authmethod = LDAP_AUTH_KRBV4; - (void) ldap_value_free(krbnames); - } else { - authmethod = LDAP_AUTH_SIMPLE; - } - (void) ldap_msgfree(mp); - - /* - * if they are already kinited, we don't need to ask for a - * password. - */ - if ( authmethod != LDAP_AUTH_KRBV4 ) #endif {