Don't increment twice
authorVolker Lendecke <vl@samba.org>
Mon, 29 Dec 2008 22:24:43 +0000 (23:24 +0100)
committerVolker Lendecke <vl@samba.org>
Mon, 29 Dec 2008 22:25:23 +0000 (23:25 +0100)
Thanks metze :-)

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",