From: Kurt Zeilenga Date: Fri, 4 Jun 1999 05:30:35 +0000 (+0000) Subject: Missed on mygetpass call... X-Git-Tag: OPENLDAP_REL_ENG_2_BP~407 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3c639f41c70671706796d1c027c48687a804d54f;p=openldap Missed on mygetpass call... --- diff --git a/clients/ud/auth.c b/clients/ud/auth.c index 560c702af4..e72e9c7443 100644 --- a/clients/ud/auth.c +++ b/clients/ud/auth.c @@ -45,7 +45,7 @@ int auth( char *who, int implicit ) { int rc; /* return code from ldap_bind() */ - char *passwd = NULL; /* returned by mygetpass() */ + char *passwd = NULL; /* returned by getpass() */ char **rdns; /* for fiddling with the DN */ int authmethod; int name_provided; /* was a name passed in? */ @@ -356,7 +356,7 @@ krbgetpass( char *user, char *inst, char *realm, char *pw, C_Block key ) sprintf(prompt, " Enter Kerberos password for %s: ", kauth_name ); #endif do { - passwd = mygetpass(prompt); + passwd = getpass(prompt); } while (passwd != NULL && *passwd == '\0'); if (passwd == NULL) { return(-1);