diff options
-rw-r--r-- | source3/auth/token_util.c | 3 |
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 ) { |