summaryrefslogtreecommitdiff
path: root/source3/libads
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-05-15 19:43:21 +0000
committerJeremy Allison <jra@samba.org>2003-05-15 19:43:21 +0000
commitec7b079ab3cb701023db7ae35d6df7704c80f9c9 (patch)
tree4b42a289f7ac2e75c63c74730ae781258f0f5a3e /source3/libads
parenta62a29c2df4314ff7791c0b33fe2aa9d051c0456 (diff)
downloadsamba-ec7b079ab3cb701023db7ae35d6df7704c80f9c9.tar.gz
samba-ec7b079ab3cb701023db7ae35d6df7704c80f9c9.tar.bz2
samba-ec7b079ab3cb701023db7ae35d6df7704c80f9c9.zip
Patch from Luke Howard <lukeh@PADL.COM> to recognise local groups.
Jeremy. (This used to be commit d7a23afe14b0d3ad8ecb7d994768705a32055d9a)
Diffstat (limited to 'source3/libads')
-rw-r--r--source3/libads/ads_utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/libads/ads_utils.c b/source3/libads/ads_utils.c
index 750940e336..1aad0bed54 100644
--- a/source3/libads/ads_utils.c
+++ b/source3/libads/ads_utils.c
@@ -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: