]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Don't increment twice
authorVolker Lendecke <vl@samba.org>
Mon, 29 Dec 2008 22:24:43 +0000 (23:24 +0100)
committerKarolin Seeger <kseeger@samba.org>
Fri, 2 Jan 2009 11:44:26 +0000 (12:44 +0100)
Thanks metze :-)
(cherry picked from commit fe100673121b73cc2091726d068d9a3e53bf494e)

source/smbd/password.c

index 87c525e9c57c2cff50fab908c65a69300f78edb8..beea872f8a8d9577381c2cb8f33cf6ff7464abf7 100644 (file)
@@ -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",