First part of bugfix for #5933
commit2e540d693ddf706b7927964104a3e01e8d944c35
authorVolker Lendecke <vl@samba.org>
Mon, 29 Dec 2008 21:01:57 +0000 (29 22:01 +0100)
committerKarolin Seeger <kseeger@samba.org>
Fri, 2 Jan 2009 11:44:26 +0000 (2 12:44 +0100)
treea80c14c2ebbd75acc8bea32a6af07b61ae502a6f
parent41b3c91c787b16f6315e35283dababfbb19fd39b
First part of bugfix for #5933

Ofer Tal <otsmb@shmoop.org> fully correctly noted that we're incrementing
num_validated_vuids twice per session setup, but decrement it only once.
Looking at sesssetup.c we always call register_initial_vuid() before
register_existing_vuid(), so there's no point in incrementing it in
register_existing_vuid().

Jeremy, please check!
(cherry picked from commit 769989008d97308d2a10675a91ae2dfdde493bab)
source/smbd/password.c