mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
Simplify is_partial_auth_vuid slightly
This commit is contained in:
parent
12c9d7fa6f
commit
9957d5f3a0
@ -82,11 +82,7 @@ user_struct *get_valid_user_struct(uint16 vuid)
|
||||
|
||||
bool is_partial_auth_vuid(uint16 vuid)
|
||||
{
|
||||
if (vuid == UID_FIELD_INVALID) {
|
||||
return False;
|
||||
}
|
||||
return get_valid_user_struct_internal(vuid,
|
||||
SERVER_ALLOCATED_REQUIRED_NO) ? True : False;
|
||||
return (get_partial_auth_user_struct(vuid) != NULL);
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user