From 521b3363aa1aa5530a83be3a7c55302c557e7818 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Fri, 5 Feb 2010 13:45:48 -0500 Subject: [PATCH] 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 --- src/kauth/user_nt.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/kauth/user_nt.c b/src/kauth/user_nt.c index 3988eb0a84..bac627d16d 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);