s3: Fix the return of make_new_server_info_guest
authorVolker Lendecke <vl@samba.org>
Wed, 15 Jun 2011 12:09:50 +0000 (14:09 +0200)
committerVolker Lendecke <vl@samba.org>
Wed, 15 Jun 2011 12:11:05 +0000 (14:11 +0200)
source3/auth/auth_util.c

index 1b986a06408070e42f6ff4a915a06e97f664f7bd..e2a3dadd4618947ee18cdb5e6fb188fa1d7d040f 100644 (file)
@@ -811,7 +811,7 @@ static NTSTATUS make_new_server_info_guest(struct auth_serversupplied_info **ses
        status = NT_STATUS_OK;
 done:
        TALLOC_FREE(tmp_ctx);
-       return NT_STATUS_OK;
+       return status;
 }
 
 /***************************************************************************