summaryrefslogtreecommitdiff
path: root/source3/auth
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-12-17 10:54:05 +0100
committerMichael Adam <obnox@samba.org>2007-12-17 13:06:09 +0100
commit720c65faeda7c5f5dd195d2e341b6f5e10eb06e0 (patch)
treea65515bc62a7e179a61420898b1c4a1abb706cc2 /source3/auth
parent7d5415a2cc4d86c97f220c308b43787d6fb845f8 (diff)
downloadsamba-720c65faeda7c5f5dd195d2e341b6f5e10eb06e0.tar.gz
samba-720c65faeda7c5f5dd195d2e341b6f5e10eb06e0.tar.bz2
samba-720c65faeda7c5f5dd195d2e341b6f5e10eb06e0.zip
Fix flags in caller of lookup_name() in create_builtin_administrators().
Michael (This used to be commit 46bfbf5c8af6c030e67219a29c49fd2d40003b18)
Diffstat (limited to 'source3/auth')
-rw-r--r--source3/auth/token_util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/auth/token_util.c b/source3/auth/token_util.c
index 2415a90b02..eb8271faf6 100644
--- a/source3/auth/token_util.c
+++ b/source3/auth/token_util.c
@@ -249,7 +249,8 @@ static NTSTATUS create_builtin_administrators( void )
return NT_STATUS_NO_MEMORY;
}
fstr_sprintf( root_name, "%s\\root", get_global_sam_name() );
- ret = lookup_name( ctx, root_name, 0, NULL, NULL, &root_sid, &type );
+ ret = lookup_name(ctx, root_name, LOOKUP_NAME_DOMAIN, NULL, NULL,
+ &root_sid, &type);
TALLOC_FREE( ctx );
if ( ret ) {