From 720c65faeda7c5f5dd195d2e341b6f5e10eb06e0 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 17 Dec 2007 10:54:05 +0100 Subject: Fix flags in caller of lookup_name() in create_builtin_administrators(). Michael (This used to be commit 46bfbf5c8af6c030e67219a29c49fd2d40003b18) --- source3/auth/token_util.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/auth') 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 ) { -- cgit