diff --git a/lsass/interop/nsswitch/aix/lam-main.c b/lsass/interop/nsswitch/aix/lam-main.c index 5ae224306..5a6035765 100644 --- a/lsass/interop/nsswitch/aix/lam-main.c +++ b/lsass/interop/nsswitch/aix/lam-main.c @@ -269,6 +269,7 @@ LsaNssGetSupportedAttrs( {S_PGRP, AL_USERATTR, SEC_CHAR}, {S_GROUPS, AL_USERATTR, SEC_LIST}, {S_GROUPSIDS, AL_USERATTR, SEC_LIST}, + {S_DAEMONCHK, AL_USERATTR, SEC_BOOL}, {S_LOCKED, AL_USERATTR, SEC_BOOL}, {"SID", AL_USERATTR, SEC_CHAR}, {"UPN", AL_USERATTR, SEC_CHAR}, @@ -294,6 +295,7 @@ LsaNssGetSupportedAttrs( &pList[17], &pList[18], &pList[19], + &pList[20], NULL }; diff --git a/lsass/interop/nsswitch/aix/lam-user.c b/lsass/interop/nsswitch/aix/lam-user.c index 95254c23c..b1627560c 100644 --- a/lsass/interop/nsswitch/aix/lam-user.c +++ b/lsass/interop/nsswitch/aix/lam-user.c @@ -551,6 +551,10 @@ LsaNssGetUserAttr( &pResult->attr_un.au_char); BAIL_ON_LSA_ERROR(dwError); } + else if (!strcmp(pszAttribute, S_DAEMONCHK)) + { + pResult->attr_un.au_int = 0; + } else if (!strcmp(pszAttribute, S_LOCKED)) { pResult->attr_un.au_int = pInfo->bAccountLocked;