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:24:43 +0000 (23:24 +0100)
Thanks metze :-)

source/smbd/password.c

index c19df0c528cb00c8e1247af362e01c019c0ce34d..66c73aff65b40c487cf9b84290d5ca922e5c5247 100644 (file)
@@ -188,7 +188,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",