summaryrefslogtreecommitdiff
path: root/source3/smbd/password.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-03-09 22:31:37 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:11:13 -0500
commit1de2983de4ea1a482c294a9ecce8437cc35ff7ee (patch)
tree6b04ba8452a08e3396964e7965ad64582042cc16 /source3/smbd/password.c
parentf0210601d19016d0c932ad1623e77a70c9aee023 (diff)
downloadsamba-1de2983de4ea1a482c294a9ecce8437cc35ff7ee.tar.gz
samba-1de2983de4ea1a482c294a9ecce8437cc35ff7ee.tar.bz2
samba-1de2983de4ea1a482c294a9ecce8437cc35ff7ee.zip
r14112: * fix checks on return code from register_vuid() which could actually
fail and we would still return success in the SMBsesssetup reply :-( * Make sure to create the local token for the server_fino struct in reply_spnego_kerberos() so that register_vuid() does not fail. (how did this ever work?) (This used to be commit 8dafa45b97020d1aceb027a85e18401c965bf402)
Diffstat (limited to 'source3/smbd/password.c')
-rw-r--r--source3/smbd/password.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/password.c b/source3/smbd/password.c
index 8b88990e2f..8d33c1deed 100644
--- a/source3/smbd/password.c
+++ b/source3/smbd/password.c
@@ -305,7 +305,7 @@ int register_vuid(auth_serversupplied_info *server_info,
DEBUG(1, ("Failed to claim session for vuid=%d\n",
vuser->vuid));
invalidate_vuid(vuser->vuid);
- return -1;
+ return UID_FIELD_INVALID;
}
/* Register a home dir service for this user iff