summaryrefslogtreecommitdiffstats
path: root/source/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
commitd7a23afe14b0d3ad8ecb7d994768705a32055d9a (patch)
tree55d6f49979335502347e66888c76f66bbaba1fac /source/libads
parent459fb6519bc9bc9bbb151291ff795ecc0c014d63 (diff)
downloadsamba-d7a23afe14b0d3ad8ecb7d994768705a32055d9a.tar.gz
samba-d7a23afe14b0d3ad8ecb7d994768705a32055d9a.tar.xz
samba-d7a23afe14b0d3ad8ecb7d994768705a32055d9a.zip
Patch from Luke Howard <lukeh@PADL.COM> to recognise local groups.
Jeremy.
Diffstat (limited to 'source/libads')
-rw-r--r--source/libads/ads_utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/libads/ads_utils.c b/source/libads/ads_utils.c
index 750940e336b..1aad0bed547 100644
--- a/source/libads/ads_utils.c
+++ b/source/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: