From: Jeffrey Altman Date: Fri, 5 Feb 2010 18:45:48 +0000 (-0500) Subject: Windows: Remove use of AFS_AFSDB_ENV from kauth/user_nt.c X-Git-Tag: openafs-devel-1_5_72~42 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=521b3363aa1aa5530a83be3a7c55302c557e7818;p=packages%2Fo%2Fopenafs.git Windows: Remove use of AFS_AFSDB_ENV from kauth/user_nt.c AFS_AFSDB_ENV was removed from the rest of the source tree. Now remove it from kauth/user_nt.c so that DNS lookups can be performed from the ka_ authentication routines. FIXES 126366 Change-Id: I99cf6ada8b672398c0cfc6c8251cfc8dfdae9a31 Reviewed-on: http://gerrit.openafs.org/1245 Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman --- diff --git a/src/kauth/user_nt.c b/src/kauth/user_nt.c index 3988eb0a8..bac627d16 100644 --- a/src/kauth/user_nt.c +++ b/src/kauth/user_nt.c @@ -109,13 +109,10 @@ ka_UserAuthenticateGeneral2(afs_int32 flags, char *name, char *instance, code = cm_SearchCellRegistry(1, realm, fullRealm, NULL, ka_AddHostProc, NULL); if (code && code != CM_ERROR_FORCE_DNS_LOOKUP) code = cm_SearchCellFile(realm, fullRealm, ka_AddHostProc, NULL); - -#ifdef AFS_AFSDB_ENV if (code) { code = cm_SearchCellByDNS(realm, fullRealm, &ttl, ka_AddHostProc, NULL); } -#endif if (code) { *reasonP = "specified realm is unknown"; return (code);