diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-09-24 04:34:54 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-09-24 04:34:54 +0200 |
commit | 4b942c2a7298987bbc596e89197ba76617580221 (patch) | |
tree | 3dd5b4ec259f09f32f2d9aaacc3d1433194420f1 /source4/libcli/smb_composite | |
parent | 6a689c23e83fef71a562a9009b92983d750f63cc (diff) | |
parent | b7d2ff38f54250db52c495d26a2b2923e5dcc83e (diff) | |
download | samba-4b942c2a7298987bbc596e89197ba76617580221.tar.gz samba-4b942c2a7298987bbc596e89197ba76617580221.tar.bz2 samba-4b942c2a7298987bbc596e89197ba76617580221.zip |
Merge branch 'master' of ssh://git.samba.org/data/git/samba
Diffstat (limited to 'source4/libcli/smb_composite')
-rw-r--r-- | source4/libcli/smb_composite/sesssetup.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source4/libcli/smb_composite/sesssetup.c b/source4/libcli/smb_composite/sesssetup.c index 92b49dc3d4..645f5362ac 100644 --- a/source4/libcli/smb_composite/sesssetup.c +++ b/source4/libcli/smb_composite/sesssetup.c @@ -97,6 +97,15 @@ static void request_handler(struct smbcli_request *req) c->status = state->remote_status; state->req = NULL; + /* + * we only need to check the signature if the + * NT_STATUS_OK is returned + */ + if (!NT_STATUS_IS_OK(state->remote_status)) { + talloc_free(check_req); + check_req = NULL; + } + switch (state->setup.old.level) { case RAW_SESSSETUP_OLD: state->io->out.vuid = state->setup.old.out.vuid; |