mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
Fix flags in caller of lookup_name() in create_builtin_administrators().
Michael
(This used to be commit 46bfbf5c8a
)
This commit is contained in:
parent
7d5415a2cc
commit
720c65faed
@ -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 ) {
|
||||
|
Loading…
Reference in New Issue
Block a user