From: Volker Lendecke Date: Mon, 29 Dec 2008 22:24:43 +0000 (+0100) Subject: Don't increment twice X-Git-Tag: samba-3.3.0~120 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d64d9d6205d68951b9efec959194c12ce204961c;p=thirdparty%2Fsamba.git Don't increment twice Thanks metze :-) (cherry picked from commit fe100673121b73cc2091726d068d9a3e53bf494e) --- diff --git a/source/smbd/password.c b/source/smbd/password.c index 87c525e9c57..beea872f8a8 100644 --- a/source/smbd/password.c +++ b/source/smbd/password.c @@ -186,7 +186,6 @@ int register_initial_vuid(void) while( get_valid_user_struct_internal(next_vuid, SERVER_ALLOCATED_REQUIRED_ANY) != NULL ) { increment_next_vuid(&next_vuid); - next_vuid++; } DEBUG(10,("register_initial_vuid: allocated vuid = %u\n",