summaryrefslogtreecommitdiff
path: root/source3
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
commit380e1607784e5d6fc5235b98790180b9eb0878c1 (patch)
treefb9163e2d3b3ef8782277c88f99c859e2cc28490 /source3
parent25a990bde07e2ada68f6709355c0c98f9feacf33 (diff)
downloadsamba-380e1607784e5d6fc5235b98790180b9eb0878c1.tar.gz
samba-380e1607784e5d6fc5235b98790180b9eb0878c1.tar.bz2
samba-380e1607784e5d6fc5235b98790180b9eb0878c1.zip
add well known rid for pre win2k compatible access group; bug 897
(This used to be commit 33a1a374ebb44c839d995d11e1229767fc679678)
Diffstat (limited to 'source3')
-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}};
/**************************************************************************