summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix from Motonobu TAKAHASHI to sort code page parameters first.Jeremy Allison2000-01-291-2/+2
| | | | | | Needed when reading the rest of smb.conf. Jeremy. (This used to be commit 171bef4d95390c1a74591fb06327cc993360a764)
* Modified auto alignment of ud[] struct on stack to be declared as anJeremy Allison2000-01-282-4/+4
| | | | | | | array of pointers. This should cause alignment on a correct boundary.. Spotted by Darren Reed <darrenr@telnetmedia.com>. Jeremy. (This used to be commit 91f4d0675333d7c5d7bb5ff077faaf83e1fd9bfe)
* Fixed code page conversions of messages outgoing/incoming.Jeremy Allison2000-01-272-0/+17
| | | | | Jeremy. (This used to be commit 84b045cbc8b337f1e23f200af433ac9d265a22d4)
* Added hash-based stat cache code from Ying Chen.Jeremy Allison2000-01-269-83/+502
| | | | | Jeremy. (This used to be commit b62a1bd6328f5894ae1a2fef3ef6fc66304ade52)
* Second set of inline optimisation fixes from Ying Chen <ying@almaden.ibm.com>.Jeremy Allison2000-01-269-53/+76
| | | | | | | Stop makeing function calls for every use of skip_multibyte_char. This function is called several *million* times during a NetBench run :-). Jeremy. (This used to be commit e5a3deba46ea2d4cb49a6c4b73edd766fe8b5a5c)
* First set of speed improvements from Ying Chen <ying@almaden.ibm.com>.Jeremy Allison2000-01-257-166/+76
| | | | | | Inline several commonly used functions as macros. Jeremy. (This used to be commit fc0219c7cc4b83e6db17d5b3be70d74fd7971089)
* tdb record read error return check fix from Dave Airlie <airlied@samba.org>.Jeremy Allison2000-01-241-1/+1
| | | | | Jeremy. (This used to be commit 82c99dc8d8bc79e88f0db651f04fc23508195a51)
* we need -lc when making shared objects or glibc doesn't do its magicAndrew Tridgell2000-01-241-1/+1
| | | | | binding for stat() (This used to be commit b52e60d5685b6ce9e581b5598b2725a4bf88ab06)
* made cvs main up-to-date with samba_tng, with addition of process id toLuke Leighton2000-01-217-10/+32
| | | | | msrpc loop-back interface. (This used to be commit adbf97c0a93149e17496b002ecc8ecdb3f360ed5)
* Moved Herb's global -> local changes to HEAD.Jeremy Allison2000-01-201-2/+2
| | | | | Jeremy. (This used to be commit bdb2ff6a38f55a66fa7e142f30442899193805ee)
* Added Herb's swat fixes.Jeremy Allison2000-01-181-2/+2
| | | | | Jeremy. (This used to be commit fa3d91de8957c932f02205f9257dd3e47892a43d)
* test for pre- version numbersHerb Lewis2000-01-171-0/+4
| | | | (This used to be commit c1f25dbf996de50f486a165b314119e9f4ae0419)
* SAMR_R_UNKNOWN_38 is 3 uint16 params (4-byte aligned) followed by status code.Luke Leighton2000-01-172-5/+3
| | | | (This used to be commit 55035b8984c135ddd2c4e3be18caf8833975841d)
* fixed some typos in access_table() which, amaziingly enough, make noAndrew Tridgell2000-01-161-3/+3
| | | | | difference to the result. (This used to be commit 9e28b7220bc293e386fec30c2d2e7e401b61b1f7)
* made access_table() a pure logic function - makes it simpler to applyAndrew Tridgell2000-01-161-16/+26
| | | | | maths to (This used to be commit 0ad62f128d1c26b8f7e71bc045c6f4a584f8d374)
* renamed DENY to DENY1Andrew Tridgell2000-01-161-5/+95
| | | | | | added DENY2 test that checks all 648 deny combinations for the case of two opens on the same connection (This used to be commit 01d4c4784dd26bdfc9883907b3170e8b0ea0cd6f)
* use GET_DENY_MODE() macroAndrew Tridgell2000-01-161-2/+1
| | | | (This used to be commit d9c3e0e61f315ad4d9c3ea6bb6acc8500befe6b4)
* as obelix would say "these romans are crazy"Andrew Tridgell2000-01-161-40/+59
| | | | | | | | | | I've finally got the access table code right for the case where the two opens are on the same connection. It is _incredibly_ complex, but now all 1296 test cases pass. I'll be very surprised if anyone by MS and us gets this right at CIFS2000 (This used to be commit 31a5857ce4f03eb53ff8ea96c5f1ce335941336d)
* use GET_DENY_MODE() macro instead of the bit shiftAndrew Tridgell2000-01-161-3/+2
| | | | (This used to be commit d72c98a931ff05a7f8b74b98cd7ebd025a87d249)
* proto updateAndrew Tridgell2000-01-161-2/+4
| | | | (This used to be commit ab492d46942e9c43e6b61a04f9db75d9fc3f40d6)
* a consequence of the access_table() fixes is that we can't treatAndrew Tridgell2000-01-161-0/+2
| | | | | | DENY_DOS and DENY_FCB as the same thing anymore (the difference matters for *.exe files) (This used to be commit 8f3ff09283db87083a81a943909ae047cdd9e48b)
* rewrote the access_table() code to get it right for *.exe, *.dll,Andrew Tridgell2000-01-161-27/+41
| | | | | | | | | | *.sym and *.com files. I still find it incredible that SMB treats file locking differently depending on the file name - that is so ugly it stinks. anyway, we now behave the same way as NT, except for the same-connection case which I'm still working on. (This used to be commit 5b9be3feca26f1f20fe3f32ba90769cc78f9bb6b)
* use string_set() instead of string_init()Andrew Tridgell2000-01-163-41/+31
| | | | | bug pointed out by Richard (This used to be commit 070f49397ff24e4d6ba7c2c1cfaef2dfa0944bd0)
* added code to allow traversal of the byte range lock databaseAndrew Tridgell2000-01-163-4/+72
| | | | | this is used with "smbstatus -B" to dump the lock list (This used to be commit 5f022629146701e6d543f77007dc944e4277ab0c)
* fixed a formatting errorAndrew Tridgell2000-01-161-1/+1
| | | | (This used to be commit 10d9d81e8b7eba588526a5d479be74ce8f86fc55)
* make string_init() staticAndrew Tridgell2000-01-162-2/+2
| | | | | use string_set() instead, to avoid the bug Richard discovered (This used to be commit fdcbf6b52d8373bf8f35718a9649788415c23342)
* make a br_off a SMB_BIG_UINTAndrew Tridgell2000-01-161-1/+1
| | | | (This used to be commit 0751a0ea4cdb7f5db0aa6f359dd3e4f744fc0689)
* useable_space does not include the alignment offset calculations.Jeremy Allison2000-01-141-1/+8
| | | | | | Bugfix from Marc_Jacobsen@hp.com. Jeremy. (This used to be commit eb06c199163232453e2d9ca50d00765c90f8f3e2)
* HP changes for registry querying.Jeremy Allison2000-01-141-1/+9
| | | | | Jeremy. (This used to be commit fd8582cc0a751618f4699f435d561f5de54bf7f4)
* Added HP change.Jeremy Allison2000-01-141-53/+54
| | | | | Jeremy. (This used to be commit 4914d2f161b6a82789f3a9decccb636fb21264c5)
* casts and defines to make solaris happyAndrew Tridgell2000-01-143-3/+7
| | | | (This used to be commit 77cf152c02b445f4b6e9de393936dd6e54e6f442)
* damn, Solaris already has a "enum lock_type"Andrew Tridgell2000-01-145-15/+15
| | | | | changed it to "enum brl_type" (This used to be commit 6b9ee7662c7afa70f6b20889e6b0ae1dcd677f9f)
* we now pass all byte range locking testsAndrew Tridgell2000-01-146-25/+94
| | | | | | the last piece was to use a smb timeout slightly larger than the locking timeout in bloking locks to prevent a race (This used to be commit 1b54cb4a33a65e62c2e3189b78ef073869a60c75)
* Updated docs for "inherit permissions" fix.Jeremy Allison2000-01-141-3/+48
| | | | | Jeremy. (This used to be commit 4fbc7358d21f541b7a6e27f768a88007bf390da5)
* Added "inherit permissions" patch.Jeremy Allison2000-01-1410-33/+122
| | | | | | Fixed locking bug found by Andrew. Jeremy. (This used to be commit 38dffd360dc2e44bfc9e751f017e24f81ff0f2fa)
* some more work on the byte range lockingAndrew Tridgell2000-01-143-22/+31
| | | | | | | | | note the ugly global_smbpid - I hope that won't bethere for long, I just didn't want to do two lots of major surgery at the one time. Using global_smbpid avoids the big change of getting rid of our inbuf/outbuf interface to reply routines. I'll do that once the locking stuff passes all tests. (This used to be commit f8bebf91abcaa5bda3ec8701f9242f220da8943a)
* greatly expanded the lock4 locking test. we now pass all but one testAndrew Tridgell2000-01-131-45/+93
| | | | | - that should be fixed soon. (This used to be commit 23bb936e1fdeab2ad697ed946c945ef5ce87357d)
* changes to reflect the new syntax of the locking calls.Andrew Tridgell2000-01-133-20/+19
| | | | (This used to be commit 44117df2c908d473b3e1a1020b22af6d584809ef)
* the bulk of the new byte range locking coodeAndrew Tridgell2000-01-132-45/+296
| | | | | it doesn't map to posix locks yet, that will come later. (This used to be commit 7f2a493095887cb0aae915ac36b9cded71d3a7a7)
* the lock routines now take a enumerated type for read/write locks, andAndrew Tridgell2000-01-131-4/+4
| | | | | | | | | we now don't pass the lock type at all for unlocks. I was surprised to discover that NT totally ignores the lock type in unlocks. It unlocks a matching write lock if there is one, otherwise it removes the first matching read lock. (This used to be commit 1bbc1ce18b8ccb92b5a78ee648539a591a452118)
* added Enosuchshare and a lock_type enumAndrew Tridgell2000-01-131-0/+4
| | | | (This used to be commit 6927aa19052baba2dcfcdec7564dad1a17f4c562)
* new prototypesAndrew Tridgell2000-01-131-5/+22
| | | | (This used to be commit 671e52cec2f254a11f9dcef9ef692afa3b86c679)
* defined br_off as a type for byte range offsets. For now I've set itAndrew Tridgell2000-01-131-0/+3
| | | | | | as SMB_OFF_T, we need to do some autoconf changes to generate a 64 bit int whenever possible (eg. long long on 32 bit i386) (This used to be commit 09dbe8bccec244c8ea0893a7d8ca4fe85d5420f7)
* added locking/brlock.c, a byte range locking systemAndrew Tridgell2000-01-131-1/+1
| | | | (This used to be commit 67b7b2a5a68fd22222bd54771c779f752ff59917)
* Added missing #ifdef for WITH_UTMP.Jeremy Allison2000-01-131-0/+2
| | | | | Jeremy. (This used to be commit 465c5a830827b82f0535d4507b3432c2df6de658)
* Added utmp fix from David Lee <T.D.Lee@durham.ac.uk>.Jeremy Allison2000-01-129-576/+951
| | | | | Jeremy. (This used to be commit 95d37a1d25d56316c80eec54aea1f358cd621d4c)
* Use slprintf not snprintf.Jeremy Allison2000-01-121-1/+1
| | | | | Jeremy. (This used to be commit b0a5ba9e01e71a64c7e693b6bf3f9bd499d3e095)
* Fix problems with broken libc fvct returns.Jeremy Allison2000-01-121-1/+8
| | | | | Jeremy. (This used to be commit 6b61f2fe66a62082fdab998ec7bbb1184b9583d7)
* Fixed pointer arithmetic found by IRIX compiler.Jeremy Allison2000-01-111-1/+1
| | | | | Jeremy. (This used to be commit 20d72e8959fc800836369e4c970f7cb84b95ac9a)
* Fixed bug in unix_mask_match() that caused veto files not to work.Jeremy Allison2000-01-111-31/+9
| | | | | Jeremy. (This used to be commit f5fedf80bce84dba1468631202337077511bcd25)