summaryrefslogtreecommitdiff
path: root/source4/torture/gentest.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r2062: Fix a couple more of the printf warnings (real bugs).Andrew Bartlett1-1/+1
You should never pass a non-constant string as a format for a printf() function - it could contain printf macros, and these need to be checked. Andrew Bartlett (This used to be commit 183622c9f4dfe858564bbcb8c1a930d69b37f7fa)
2007-10-10r1676: - improved the handling of username/password in locktest and gentestAndrew Tridgell1-2/+6
- use lp_maxprotocol() in the libcli/raw/ negotiate code, so we obey the smb.conf "max protocol" option - better handling of -M option in masktest (This used to be commit 8685a584c92ab73a35b29a8c719f1ec207562837)
2007-10-10r1654: rename cli_ -> smbcli_Stefan Metzmacher1-24/+24
rename CLI_ -> SMBCLI_ metze (This used to be commit 8441750fd9427dd6fe477f27e603821b4026f038)
2007-10-10r1578: the first stage of the async client rewrite.Andrew Tridgell1-15/+4
Up to now the client code has had an async API, and operated asynchronously at the packet level, but was not truly async in that it assumed that it could always write to the socket and when a partial packet came in that it could block waiting for the rest of the packet. This change makes the SMB client library full async, by adding a separate outgoing packet queue, using non-blocking socket IO and having a input buffer that can fill asynchonously until the full packet has arrived. The main complexity was in dealing with the events structure when using the CIFS proxy backend. In that case the same events structure needs to be used in both the client library and the main smbd server, so that when the client library is waiting for a reply that the main server keeps processing packets. This required some changes in the events library code. Next step is to make the generated rpc client code use these new capabilities. (This used to be commit 96bf4da3edc4d64b0f58ef520269f3b385b8da02)
2007-10-10r1547: rename 'enum <bla>_level' -> 'enum smb_<bla>_level'Stefan Metzmacher1-2/+2
e.g. we now have 'union smb_mkdir' and 'enum smb_mkdir_level' in sync we may should also rename 'RAW_MKDIR_*' -> 'SMB_MKDIR_*' metze (This used to be commit 0bb50dcf1ccb9797000fcbea4d8a73f2d2a3db77)
2007-10-10r890: convert samba4 to use [u]int8_t instead of [u]int8Stefan Metzmacher1-3/+3
metze (This used to be commit 2986c5f08c8f0c26a2ea7b6ce20aae025183109f)
2007-10-10r889: convert samba4 to use [u]int16_t instead of [u]int16Stefan Metzmacher1-23/+23
metze (This used to be commit af6f1f8a01bebbecd99bc8c066519e89966e65e3)
2007-10-10r884: convert samba4 to use [u]int32_t instead of [u]int32Stefan Metzmacher1-8/+8
metze (This used to be commit 0e5517d937a2eb7cf707991d1c7498c1ab456095)
2007-10-10r873: converted samba4 to use real 64 bit integers instead ofAndrew Tridgell1-4/+4
structures. This was suggested by metze recently. I checked on the build farm and all the machines we have support 64 bit ints, and support the LL suffix for 64 bit constants. I suspect some won't support strtoll() and related functions, so we will probably need replacements for those. (This used to be commit 9a9244a1c66654c12abe4379661cba83a73c4c21)
2004-03-25fixed the handling of level II oplocks in samba4, especially whenAndrew Tridgell1-1/+1
acting as a cifs redirectory (using the cifs backend) (This used to be commit 06a8100e6a2f3f079af5b6ec32d87d1d25f56c3c)
2004-02-10Convert libcli routines to return NTSTATUS instead of BOOL. Again, theTim Potter1-5/+5
only users are smbclient and smbtorture. (This used to be commit 54cb508c78e5c1faa3ade46b46b165983c880d10)
2004-02-08Convert libcli routines to use cli_tree instead of cli_state. PortTim Potter1-6/+6
smbtorture to use the new interface. Part 2 will be to eliminate cli_state from smbtorture as this is now the only place where it is used. (This used to be commit db1cc96af62ea42837d60592877fc3f93cef143b)
2003-11-30 * removed a bunch of unused codeAndrew Tridgell1-1/+1
* made some functions static (This used to be commit 829b87f30d5f4cc7174b716f3354982d84af4818)
2003-09-02thanks to ntfsd and some google searches I worked out what the unknownAndrew Tridgell1-3/+2
fields in level 261 and level 262 of directory search are, plus the names of the levels the unknown fields are a 64bit unique file id, and match the 64 bit number from the internal_information qfileinfo level (This used to be commit b69f54eb028a24144a2e813f059b08644118ab09)
2003-08-15more fixes from the IRIX compiler (thanks herb!)Andrew Tridgell1-2/+2
(This used to be commit 4cf3839b727c77a727abb558bd9473119a092913)
2003-08-14added SMBopen to gentestAndrew Tridgell1-0/+35
(This used to be commit b47737b00bd6a96d8dec53381872656997ec6ad2)
2003-08-14added seek to gentestAndrew Tridgell1-0/+23
(This used to be commit 401fce169ecceac803a4a72480ffdc1f54f9a292)
2003-08-13- added a raw smb scannerAndrew Tridgell1-1/+1
- its not a root_fid in ntrename (This used to be commit 74be55efdc77d4ba7e70d0554cbd72472522abff)
2003-08-13- added SMBntrename test suiteAndrew Tridgell1-4/+39
- allow username of form DOMAIN\username or DOMAIN/username - added ntrename to gentest (This used to be commit 2b464472c17b791eb5b117f89d5aaea2bf60f6ad)
2003-08-13make sure we give the chosen workgroup in gentestAndrew Tridgell1-2/+6
(This used to be commit b8aa4a9a8f53d5307105424d90895dffefdc5e64)
2003-08-13first public release of samba4 codeAndrew Tridgell1-0/+2113
(This used to be commit b0510b5428b3461aeb9bbe3cc95f62fc73e2b97f)