Index: likewise-open-5.4.0.42111/lsass/server/auth-providers/ad-provider/offline.c =================================================================== --- likewise-open-5.4.0.42111.orig/lsass/server/auth-providers/ad-provider/offline.c 2010-04-01 21:01:23.000000000 -0700 +++ likewise-open-5.4.0.42111/lsass/server/auth-providers/ad-provider/offline.c 2010-04-01 21:01:32.000000000 -0700 @@ -470,7 +470,10 @@ pDomain->pszForestName, NULL ); - BAIL_ON_LSA_ERROR(dwError); + if (IsSetFlag(pDomain->dwTrustFlags, NETR_TRUST_FLAG_PRIMARY)) + { + BAIL_ON_LSA_ERROR(dwError); + } pPos = pPos->pNext; } @@ -1030,3 +1033,12 @@ goto cleanup; } + +/* +local variables: +mode: c +c-basic-offset: 4 +indent-tabs-mode: nil +tab-width: 4 +end: +*/ Index: likewise-open-5.4.0.42111/lsass/server/auth-providers/ad-provider/online.c =================================================================== --- likewise-open-5.4.0.42111.orig/lsass/server/auth-providers/ad-provider/online.c 2010-04-01 21:01:28.000000000 -0700 +++ likewise-open-5.4.0.42111/lsass/server/auth-providers/ad-provider/online.c 2010-04-01 21:01:32.000000000 -0700 @@ -183,7 +183,10 @@ TRUE, pDomain->pszForestName, NULL); - BAIL_ON_LSA_ERROR(dwError); + if (IsSetFlag(pDomain->dwTrustFlags, NETR_TRUST_FLAG_PRIMARY)) + { + BAIL_ON_LSA_ERROR(dwError); + } pPos = pPos->pNext; }