summaryrefslogtreecommitdiff
path: root/source3/torture/locktest.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10Add start of IPv6 implementation. Currently most of this is avoidingJeremy Allison1-2/+2
IPv6 in winbindd, but moves most of the socket functions that were wrongly in lib/util.c into lib/util_sock.c and provides generic IPv4/6 independent versions of most things. Still lots of work to do, but now I can see how I'll fix the access check code. Nasty part that remains is the name resolution code which is used to returning arrays of in_addr structs. Jeremy. (This used to be commit 3f6bd0e1ec5cc6670f3d08f76fc2cd94c9cd1a08)
2007-10-10r25055: Add file_id_string_tosVolker Lendecke1-1/+1
This removes file_id_string_static and file_id_string_static2 (This used to be commit 638c848c9afe374feb30e34c494f89b2a6c64f7b)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell1-2/+1
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r23554: Fix bug #4711 by makeing cli_connect return an NTSTATUS.Jeremy Allison1-1/+8
Long overdue fix.... Jeremy. (This used to be commit 073fdc5a58139796dbaa7ea9833dca5308f11282)
2007-10-10r23195: Add void *private_data to brl_forallVolker Lendecke1-2/+3
(This used to be commit c91b2bdc160d76bf0b0770fe7f92cbc7124d6c3c)
2007-10-10r23183: Check in a change made by Tridge:Volker Lendecke1-4/+3
This replaces the internal explicit dev/ino file id representation by a "struct file_id". This is necessary as cluster file systems and NFS don't necessarily assign the same device number to the shared file system. With this structure in place we can now easily add different schemes to map a file to a unique 64-bit device node. Jeremy, you might note that I did not change the external interface of smb_share_modes.c. Volker (This used to be commit 9b10dbbd5de8813fc15ebbb6be9b18010ffe8139)
2007-10-10r22736: Start to merge the low-hanging fruit from the now 7000-line cluster ↵Volker Lendecke1-1/+1
patch. This changes "struct process_id" to "struct server_id", keeping both is just too much hassle. No functional change (I hope ;-)) Volker (This used to be commit 0ad4b1226c9d91b72136310d3bbb640d2c5d67b8)
2007-10-10r20261: merge 20260 from samba_3_0_24Herb Lewis1-2/+2
clean up a bunch of no previous prototype warnings (This used to be commit c60687db112405262adf26dbf267804b04074e67)
2007-10-10r20245: merge 20244 from samba_3_0_24Herb Lewis1-2/+3
get rid of more nested extern declarations warnings (This used to be commit e9df051f5201843e3428ddbed7a719553c2e799a)
2007-10-10r17571: Change the return code of cli_session_setup from BOOL to NTSTATUSVolker Lendecke1-4/+6
Volker (This used to be commit 94817a8ef53589011bc4ead4e17807a101acf5c9)
2007-10-10r16945: Sync trunk -> 3.0 for 3.0.24 code. Still needJeremy Allison1-4/+8
to do the upper layer directories but this is what everyone is waiting for.... Jeremy. (This used to be commit 9dafb7f48ca3e7af956b0a7d1720c2546fc4cfb8)
2007-10-10r13799: Make locktest debug a little easier to read.Jeremy Allison1-3/+17
Jeremy. (This used to be commit 13de4d000e04ffca41814554bdee8291ddb1efe2)
2007-10-10r13796: Another load_case_tables...Jeremy Allison1-0/+2
Jeremy. (This used to be commit 36df6ba3ad8b93744577ad92df0fe0b9bf9a4300)
2007-10-10r13212: r12414@cabra: derrell | 2006-01-28 17:52:17 -0500Derrell Lipman1-1/+1
lp_load() could not be called multiple times to modify parameter settings based on reading from multiple configuration settings. Each time, it initialized all of the settings back to their defaults before reading the specified configuration file. This patch adds a parameter to lp_load() specifying whether the settings should be initialized. It does, however, still force the settings to be initialized the first time, even if the request was to not initialize them. (Not doing so could wreak havoc due to uninitialized values.) (This used to be commit f2a24de769d1b2266e576597c57a8e3b1e2a2b51)
2007-10-10r11556: Fix "make everything"Volker Lendecke1-3/+3
(This used to be commit bff03f0cd484c04d5ab6d6b66f30191bef368b68)
2007-10-10r8572: Remove crufty #define NO_SYSLOG as it's not used at all anymore.Tim Potter1-2/+0
(This used to be commit 985dbb47d925e79c1195ca219f7ab5d6648b22b8)
2007-10-10r6640: Attempt to fix 'make everything' with the paranoid malloc checker.Volker Lendecke1-1/+1
Volker (This used to be commit 3db2799822da3711b47b60ba13daa07205ced45f)
2003-07-22Fixup a bunch of printf-style functions and debugs to use unsigned long whenTim Potter1-1/+1
displaying pid_t, uid_t and gid_t values. This removes a whole lot of warnings on some of the 64-bit build farm machines as well as help us out when 64-bit uid/gid/pid values come along. (This used to be commit f93528ba007c8800a850678f35f499fb7360fb9a)
2003-05-10Reverse previous patch from Stefan and me after comments by Andrew BartlettJelmer Vernooij1-2/+0
(This used to be commit d817eaf0ecca2d878ab1ffcf7a747a02d71c811e)
2003-05-10Patch from metze and me that adds dummy smb_register_*() functions soJelmer Vernooij1-0/+2
that is now possible to, for example, load a module which contains an auth method into a binary without the auth/ subsystem built in. (This used to be commit 74d9ecfe2dd7364643d32acb62ade957bd71cd0d)
2003-02-24Missed a couple of files from the client-side kerberos mergeAndrew Bartlett1-1/+4
(This used to be commit 56934f303c0551df858cc6d6ad32d0b37fcd1307)
2003-01-14Merge from HEAD:Andrew Bartlett1-8/+8
- fstring/pstring mixups - the detection code that found them (disabled) - a bit of whitespace - a static Andrew Bartlett (This used to be commit 9b70fa868e7d9481f584c83fc4046174e1dedfd9)
2002-08-17Sync 3.0 branch with HEADJelmer Vernooij1-1/+1
(This used to be commit d3599b446ed1c8ccd7c9e161ecfa5d52d6066c22)
2002-03-17Renamed get_nt_error_msg() to nt_errstr().Tim Potter1-2/+2
(This used to be commit 1f007d3ed41c1b71a89fa6be7d173e67e927c302)
2002-03-10added -E and -Z options, and allow for the 2 servers to have differentAndrew Tridgell1-33/+63
usernames/passwords (This used to be commit 0ae4ba18e578d35206628fa29203c8becbbdc5cd)
2002-03-05added -M option for minimum lock sizeAndrew Tridgell1-4/+8
(This used to be commit 6acd98cbb92ec5c78686d23d2e05c1c98b5127fe)
2002-03-04allow setting of lock range and base in locktestAndrew Tridgell1-10/+14
(This used to be commit 97993630add4e8965f0395f92d34b0e8a6d9b875)
2002-03-04added -k options for kerberos to smbtorture and locktestAndrew Tridgell1-1/+14
(This used to be commit 46b89bc9979229abc6e9f2f8c585a22dd4f22902)
2002-01-30Removed version number from file header.Tim Potter1-2/+1
Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
2001-11-28fix a bunch of places where we can double-free a cli structureAndrew Tridgell1-1/+0
(This used to be commit e2ba2383c9f679c076749a8f4fccefc3559e37ec)
2001-11-26Got medieval on another pointless extern. Removed extern struct ipzeroTim Potter1-3/+2
and replaced with two functions: void zero_ip(struct in_adder *ip); BOOL is_zero_ip(struct in_addr ip); (This used to be commit 778f5f77a66cda76348a7c6f64cd63afe2bfe077)
2001-11-23Removed TimeInit() call from every client program (except for one placeTim Potter1-2/+0
in smbd/process.c where the timezone is reinitialised. Was replaced with check for a static is_initialised boolean. (This used to be commit 8fc772c9e5770cd3a8857670214dcff033ebae32)
2001-11-20fix locktest default parametersAndrew Tridgell1-2/+3
(This used to be commit f6a4b00aab9ca01d8dfed33252f3d5c5349d13b0)
2001-11-19Store some path names in global variables initialized to configureMartin Pool1-2/+1
default, rather than in preprocessor macros. (This used to be commit 79ec88f0da40faebe1e587f1b3e87b5f2b184f58)
2001-09-17move to SAFE_FREE()Simo Sorce1-2/+1
(This used to be commit fc71962409e11509a60fb2be6741c32970865881)
2001-09-16Fix (I hope) for a number of little compile warnings found by the IRIXAndrew Bartlett1-2/+2
compilers on the build farm. Andrew Bartlett (This used to be commit 0ff0a91a6baf7cf6b3ca59a2b4067cc07e3f2f88)
2001-09-10declare dbf in one spotAndrew Tridgell1-1/+0
(This used to be commit f41c3bb80f1e498a9d27f6e236b0ff3a742764c9)
2001-09-10replaced stdio in many parts of samba with a XFILE. XFILE is a cut-downAndrew Tridgell1-2/+2
replacemnt of stdio that doesn't suffer from the 8-bit filedescriptor limit that we hit with nasty consequences on some systems I would eventually prefer us to have a configure test to see if we need to replace stdio, but for now this code needs to be tested widely so I'm enabling it by default. (This used to be commit 1af8bf34f1caa3e7ec312d8109c07d32a945a448)
2001-08-27converted smbd to use NTSTATUS by defaultAndrew Tridgell1-27/+75
major changes include: - added NSTATUS type - added automatic mapping between dos and nt error codes - changed all ERROR() calls to ERROR_DOS() and many to ERROR_NT() these calls auto-translate to the client error code system - got rid of the cached error code and the writebmpx code We eventually will need to also: - get rid of BOOL, so we don't lose error info - replace all ERROR_DOS() calls with ERROR_NT() calls but that is too much for one night (This used to be commit 83d9896c1ea8be796192b51a4678c2a3b87f7518)
2001-08-24fixed handling of 139/445 in clientsAndrew Tridgell1-2/+1
(This used to be commit 22b372f8a7996a19bebb8cdb411df999cffa32a4)
2001-08-24tests for 0 length locksAndrew Tridgell1-15/+28
(This used to be commit 8fbd1d0f978a349ec4fcc0d34fca55314d3dec31)
2001-08-24allow for 0 range locks in locktestAndrew Tridgell1-1/+1
(This used to be commit c3b2d959a7461cf6f9574716c8a7b915c078b311)
2001-07-04strchr and strrchr are macros when compiling with optimisation in gcc, so we ↵Andrew Tridgell1-2/+2
can't redefine them. damn. (This used to be commit c41fc06376d1a2b83690612304e85010b5e5f3cf)
2001-07-04The big character set handling changeover!Andrew Tridgell1-2/+0
This commit gets rid of all our old codepage handling and replaces it with iconv. All internal strings in Samba are now in "unix" charset, which may be multi-byte. See internals.doc and my posting to samba-technical for a more complete explanation. (This used to be commit debb471267960e56005a741817ebd227ecfc512a)
2001-07-03See if we can stick to slightly valid C..Andrew Bartlett1-2/+8
(With thanks to tpot) Andrew Bartlett (This used to be commit e77cfe1379d92d2be4e2895454e14d11311a913d)
2001-06-19added a torture target for building all torture progs. Fixed a typo in locktestAndrew Tridgell1-1/+1
(This used to be commit fd0d729ce0d9a057e867001c2ea52c8599713b28)
2001-06-19moved all our torture code to a separate directoryAndrew Tridgell1-0/+567
(This used to be commit dd12c47645e2d0e832bc555492a6a8725a4495ee)