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 <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
This commit is contained in:
Jeffrey Altman 2010-02-05 13:45:48 -05:00 committed by Jeffrey Altman
parent 0e8beecff3
commit 521b3363aa

View File

@ -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);