diff options
author | Andrew Bartlett <abartlet@samba.org> | 2007-05-14 05:53:26 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:52:23 -0500 |
commit | 8861c4a68ed23af2388103f2ca793f6833b4b58b (patch) | |
tree | 5a1b6ed2b7d74fb8f152a218503f60b4a602c5ad /source4/torture/util_smb.c | |
parent | 0f6b62072e673887d354bccd7a15d4188b5c4fca (diff) | |
download | samba-8861c4a68ed23af2388103f2ca793f6833b4b58b.tar.gz samba-8861c4a68ed23af2388103f2ca793f6833b4b58b.tar.bz2 samba-8861c4a68ed23af2388103f2ca793f6833b4b58b.zip |
r22838: Add in an explority test for what QFSINFO operations are valid on IPC$
It seems most opertaions are supported, but that the values are not
consistant. I think these are very much hand-hacked stubs, which is
what they will be on Samba4 too.
I'll need to add some more 'don't fail for...' hacks before this
passes against Win2k3.
Andrew Bartlett
(This used to be commit dcb858d0c716b23be6c5d36b4aa6f155582ada63)
Diffstat (limited to 'source4/torture/util_smb.c')
-rw-r--r-- | source4/torture/util_smb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/util_smb.c b/source4/torture/util_smb.c index c47741c5b9..4cadbe20fe 100644 --- a/source4/torture/util_smb.c +++ b/source4/torture/util_smb.c @@ -282,7 +282,7 @@ void *shm_setup(int size) check that a wire string matches the flags specified not 100% accurate, but close enough for testing */ -bool wire_bad_flags(struct smb_wire_string *str, int flags, struct smbcli_state *cli) +bool wire_bad_flags(struct smb_wire_string *str, int flags, struct smbcli_transport *transport) { bool server_unicode; int len; @@ -290,7 +290,7 @@ bool wire_bad_flags(struct smb_wire_string *str, int flags, struct smbcli_state len = strlen(str->s); if (flags & STR_TERMINATE) len++; - server_unicode = (cli->transport->negotiate.capabilities&CAP_UNICODE)?True:False; + server_unicode = (transport->negotiate.capabilities&CAP_UNICODE)?True:False; if (getenv("CLI_FORCE_ASCII") || !lp_unicode()) { server_unicode = False; } |