summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-09 00:25:27 +0100
committerMichael Adam <obnox@samba.org>2008-01-09 01:47:10 +0100
commitf269ed866d01b9924264941268d902b893fbac83 (patch)
treee8ab57eac605e5623c0c582d82699911c4b96d3c
parentf3603d5a5ab878d45b67bf0f33e2beca50d0af2d (diff)
downloadsamba-f269ed866d01b9924264941268d902b893fbac83.tar.gz
samba-f269ed866d01b9924264941268d902b893fbac83.tar.bz2
samba-f269ed866d01b9924264941268d902b893fbac83.zip
Move content of comment.
Michael (This used to be commit ed4dd00c5ae8e4995ace9326f915ae4bd15d96b3)
-rw-r--r--source3/lib/util_reg_smbconf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/lib/util_reg_smbconf.c b/source3/lib/util_reg_smbconf.c
index 472fef7a2d..5fb862ac35 100644
--- a/source3/lib/util_reg_smbconf.c
+++ b/source3/lib/util_reg_smbconf.c
@@ -26,16 +26,16 @@ extern REGISTRY_OPS smbconf_reg_ops;
/*
* create a fake token just with enough rights to
- * locally access the registry.
+ * locally access the registry:
+ *
+ * - builtin administrators sid
+ * - disk operators privilege
*/
NT_USER_TOKEN *registry_create_admin_token(TALLOC_CTX *mem_ctx)
{
NTSTATUS status;
NT_USER_TOKEN *token = NULL;
- /* fake a user token: builtin administrators sid and the
- * disk operators privilege is all we need to access the
- * registry... */
token = TALLOC_ZERO_P(mem_ctx, NT_USER_TOKEN);
if (token == NULL) {
DEBUG(1, ("talloc failed\n"));