summaryrefslogtreecommitdiff
path: root/source3/libads
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-05-15 19:43:18 +0000
committerJeremy Allison <jra@samba.org>2003-05-15 19:43:18 +0000
commit13686d6772a235e209e14ca4edddb39a02a0e1d4 (patch)
tree8fc10c33700974adffad03b8403fd2a6749643df /source3/libads
parente325a2e16ad3d4e89e489943a7e68595d32793a9 (diff)
downloadsamba-13686d6772a235e209e14ca4edddb39a02a0e1d4.tar.gz
samba-13686d6772a235e209e14ca4edddb39a02a0e1d4.tar.bz2
samba-13686d6772a235e209e14ca4edddb39a02a0e1d4.zip
Patch from Luke Howard <lukeh@PADL.COM> to recognise local groups.
Jeremy. (This used to be commit 626116b738927660c3cf0070fc73222e46412187)
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 626c177926..c56e7385a4 100644
--- a/source3/libads/ads_utils.c
+++ b/source3/libads/ads_utils.c
@@ -172,6 +172,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: