Permalink
Browse files

MERGE: -c 62354 /trunk/Platform -> /branches/Platform-6.1

Fix bug 13263 - lwsmd hangs on shutdown (reboot / OS shutdown)

Netlogon was not correctly finding cached domain names in the registry. This caused the Kerberos service locator to slow down.

(netlogon: r62355)
  • Loading branch information...
1 parent 4a4d0ae commit 490f794b8d49048ace07771916fff56066515a36 Kyle Stemen committed with gitsync Nov 21, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 netlogon/server/api/lwnet-cachedb.c
@@ -1049,7 +1049,8 @@ LWNetCacheDbQuery(
if ( pEntry->QueryType == queryType &&
!strcmp(pEntry->pszDnsDomainName, pszDnsDomainNameLower))
{
- if (!pEntry->pszSiteName && !pszSiteNameLower)
+ if (LW_IS_NULL_OR_EMPTY_STR(pEntry->pszSiteName) &&
+ LW_IS_NULL_OR_EMPTY_STR(pszSiteNameLower))
{
break;
}

0 comments on commit 490f794

Please sign in to comment.