summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-12-22 21:24:40 +0000
committerGerald Carter <jerry@samba.org>2003-12-22 21:24:40 +0000
commit81e3125db21b0ecc237f740bb8048582aa21b2f0 (patch)
tree3c71e5bceff1e574e212718cdc91139314a2b2cf
parentc24ab7ccaecf94022a9ff303ab34c724622384d3 (diff)
downloadsamba-81e3125db21b0ecc237f740bb8048582aa21b2f0.tar.gz
samba-81e3125db21b0ecc237f740bb8048582aa21b2f0.tar.bz2
samba-81e3125db21b0ecc237f740bb8048582aa21b2f0.zip
add well known rid for pre win2k compatible access group; bug 897
(This used to be commit 426a02cf678236f902c143b56eaaf854fca2237f)
-rw-r--r--source3/include/rpc_misc.h1
-rw-r--r--source3/passdb/util_sam_sid.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/source3/include/rpc_misc.h b/source3/include/rpc_misc.h
index 29ae212185..0c6eee3650 100644
--- a/source3/include/rpc_misc.h
+++ b/source3/include/rpc_misc.h
@@ -63,6 +63,7 @@
#define BUILTIN_ALIAS_RID_REPLICATOR (0x00000228L)
#define BUILTIN_ALIAS_RID_RAS_SERVERS (0x00000229L)
+#define BUILTIN_ALIAS_RID_PRE_2K_ACCESS (0x0000022aL)
/*
* Masks for mappings between unix uid and gid types and
diff --git a/source3/passdb/util_sam_sid.c b/source3/passdb/util_sam_sid.c
index 3ca54f0529..f6cc2491a8 100644
--- a/source3/passdb/util_sam_sid.c
+++ b/source3/passdb/util_sam_sid.c
@@ -79,6 +79,7 @@ static const known_sid_users builtin_groups[] = {
{ BUILTIN_ALIAS_RID_BACKUP_OPS, SID_NAME_ALIAS, "Backup Operators" },
{ BUILTIN_ALIAS_RID_REPLICATOR, SID_NAME_ALIAS, "Replicator" },
{ BUILTIN_ALIAS_RID_RAS_SERVERS, SID_NAME_ALIAS, "RAS Servers" },
+ { BUILTIN_ALIAS_RID_PRE_2K_ACCESS, SID_NAME_ALIAS, "Pre-Windows 2000 Compatible Access" },
{ 0, (enum SID_NAME_USE)0, NULL}};
/**************************************************************************