1
0
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:
Volker Lendecke 2008-12-29 21:01:13 +01:00
parent 12c9d7fa6f
commit 9957d5f3a0

View File

@ -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);
}
/****************************************************************************