diff options
author | Volker Lendecke <vl@samba.org> | 2008-12-29 21:03:15 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-12-30 11:26:10 +0100 |
commit | fb54e711fbb2c3a37bf0171f0ea4f32ff1b78430 (patch) | |
tree | eef45dbf39d3e022c8b5550d9fdd85bdc71683ad | |
parent | 9957d5f3a0faa14a387de1ad4c8bcf88e3ada58a (diff) | |
download | samba-fb54e711fbb2c3a37bf0171f0ea4f32ff1b78430.tar.gz samba-fb54e711fbb2c3a37bf0171f0ea4f32ff1b78430.tar.bz2 samba-fb54e711fbb2c3a37bf0171f0ea4f32ff1b78430.zip |
Simplify invalidate_vuid slightly
get_valid_user_struct_internal() checks for UID_FIELD_INVALID itself
-rw-r--r-- | source3/smbd/password.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/smbd/password.c b/source3/smbd/password.c index 1ad98438ef..68e134a0d6 100644 --- a/source3/smbd/password.c +++ b/source3/smbd/password.c @@ -103,10 +103,6 @@ void invalidate_vuid(uint16 vuid) { user_struct *vuser = NULL; - if (vuid == UID_FIELD_INVALID) { - return; - } - vuser = get_valid_user_struct_internal(vuid, SERVER_ALLOCATED_REQUIRED_ANY); if (vuser == NULL) { |