Patch from Luke Howard <lukeh@PADL.COM> to recognise local groups.
authorJeremy Allison <jra@samba.org>
Thu, 15 May 2003 19:43:21 +0000 (19:43 +0000)
committerJeremy Allison <jra@samba.org>
Thu, 15 May 2003 19:43:21 +0000 (19:43 +0000)
Jeremy.
(This used to be commit d7a23afe14b0d3ad8ecb7d994768705a32055d9a)

source3/libads/ads_utils.c

index 750940e336b45fe8012a8db606e1aee2007c6561..1aad0bed547ed553ebc2541eae76e00c344e9ecc 100644 (file)
@@ -126,6 +126,8 @@ enum SID_NAME_USE ads_atype_map(uint32 atype)
        switch (atype & 0xF0000000) {
        case ATYPE_GLOBAL_GROUP:
                return SID_NAME_DOM_GRP;
+       case ATYPE_SECURITY_LOCAL_GROUP:
+               return SID_NAME_ALIAS;
        case ATYPE_ACCOUNT:
                return SID_NAME_USER;
        default: