summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-12-22 21:48:06 +0000
committerGerald Carter <jerry@samba.org>2003-12-22 21:48:06 +0000
commit33a1a374ebb44c839d995d11e1229767fc679678 (patch)
tree2910058821f2471698e859d125f088add7ec6dce /source
parent6060afb98949a39eb4386d35481eaa5caae0fd97 (diff)
downloadsamba-33a1a374ebb44c839d995d11e1229767fc679678.tar.gz
samba-33a1a374ebb44c839d995d11e1229767fc679678.tar.xz
samba-33a1a374ebb44c839d995d11e1229767fc679678.zip
add well known rid for pre win2k compatible access group; bug 897
Diffstat (limited to 'source')
-rw-r--r--source/include/rpc_misc.h1
-rw-r--r--source/passdb/util_sam_sid.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/source/include/rpc_misc.h b/source/include/rpc_misc.h
index 29ae2121857..0c6eee3650a 100644
--- a/source/include/rpc_misc.h
+++ b/source/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/source/passdb/util_sam_sid.c b/source/passdb/util_sam_sid.c
index 3ca54f05290..f6cc2491a8b 100644
--- a/source/passdb/util_sam_sid.c
+++ b/source/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}};
/**************************************************************************