mirror of
https://github.com/samba-team/samba.git
synced 2025-02-15 05:57:49 +03:00
r6315: Allow sane session setup behaviour on SPNEGO regarding VUIDs.
Andrew Bartlett
This commit is contained in:
parent
d8d63e8c79
commit
6e2327ee9b
@ -113,7 +113,9 @@ static BOOL test_session(struct smbcli_state *cli, TALLOC_CTX *mem_ctx)
|
||||
|
||||
if (cli->transport->negotiate.capabilities & CAP_EXTENDED_SECURITY) {
|
||||
/* Samba4 currently fails this - we need to determine if this insane behaviour is important */
|
||||
CHECK_VALUE(session2->vuid, session->vuid);
|
||||
if (session2->vuid == session->vuid) {
|
||||
printf("server allows the user to re-use an existing vuid in session setup \n");
|
||||
}
|
||||
} else {
|
||||
CHECK_NOT_VALUE(session2->vuid, session->vuid);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user