Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | made "enable" and "disable" the default "lpresume" and "lppause" commands | Herb Lewis | 2000-01-30 | 1 | -4/+1 | |
| | | | | | | | | | | for SYSV instead of the lpc commands (since these are BSD commands) I still don't like the default "lppause" and "lpresume" commands for SYSV since these seem to be SUN specific additions to the lp command (at least I don't find them in IRIX and HPUX). I think this should be inside an ifdef SUN??? but I'm not sure what the define should be so I have left it for now. | |||||
* | Wrapped popen calls in HAVE_POPEN - needed if we are to add the | Jeremy Allison | 2000-01-29 | 5 | -2/+11 | |
| | | | | | env patch. Jeremy. | |||||
* | Fix from Motonobu TAKAHASHI to sort code page parameters first. | Jeremy Allison | 2000-01-29 | 1 | -2/+2 | |
| | | | | | Needed when reading the rest of smb.conf. Jeremy. | |||||
* | Modified auto alignment of ud[] struct on stack to be declared as an | Jeremy Allison | 2000-01-28 | 2 | -4/+4 | |
| | | | | | | array of pointers. This should cause alignment on a correct boundary.. Spotted by Darren Reed <darrenr@telnetmedia.com>. Jeremy. | |||||
* | Fixed code page conversions of messages outgoing/incoming. | Jeremy Allison | 2000-01-27 | 2 | -0/+17 | |
| | | | | Jeremy. | |||||
* | Added hash-based stat cache code from Ying Chen. | Jeremy Allison | 2000-01-26 | 9 | -83/+502 | |
| | | | | Jeremy. | |||||
* | Second set of inline optimisation fixes from Ying Chen <ying@almaden.ibm.com>. | Jeremy Allison | 2000-01-26 | 9 | -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. | |||||
* | First set of speed improvements from Ying Chen <ying@almaden.ibm.com>. | Jeremy Allison | 2000-01-25 | 7 | -166/+76 | |
| | | | | | Inline several commonly used functions as macros. Jeremy. | |||||
* | tdb record read error return check fix from Dave Airlie <airlied@samba.org>. | Jeremy Allison | 2000-01-24 | 1 | -1/+1 | |
| | | | | Jeremy. | |||||
* | we need -lc when making shared objects or glibc doesn't do its magic | Andrew Tridgell | 2000-01-24 | 1 | -1/+1 | |
| | | | | binding for stat() | |||||
* | made cvs main up-to-date with samba_tng, with addition of process id to | Luke Leighton | 2000-01-21 | 7 | -10/+32 | |
| | | | | msrpc loop-back interface. | |||||
* | Moved Herb's global -> local changes to HEAD. | Jeremy Allison | 2000-01-20 | 1 | -2/+2 | |
| | | | | Jeremy. | |||||
* | Added Herb's swat fixes. | Jeremy Allison | 2000-01-18 | 1 | -2/+2 | |
| | | | | Jeremy. | |||||
* | test for pre- version numbers | Herb Lewis | 2000-01-17 | 1 | -0/+4 | |
| | ||||||
* | SAMR_R_UNKNOWN_38 is 3 uint16 params (4-byte aligned) followed by status code. | Luke Leighton | 2000-01-17 | 2 | -5/+3 | |
| | ||||||
* | fixed some typos in access_table() which, amaziingly enough, make no | Andrew Tridgell | 2000-01-16 | 1 | -3/+3 | |
| | | | | difference to the result. | |||||
* | made access_table() a pure logic function - makes it simpler to apply | Andrew Tridgell | 2000-01-16 | 1 | -16/+26 | |
| | | | | maths to | |||||
* | renamed DENY to DENY1 | Andrew Tridgell | 2000-01-16 | 1 | -5/+95 | |
| | | | | | added DENY2 test that checks all 648 deny combinations for the case of two opens on the same connection | |||||
* | use GET_DENY_MODE() macro | Andrew Tridgell | 2000-01-16 | 1 | -2/+1 | |
| | ||||||
* | as obelix would say "these romans are crazy" | Andrew Tridgell | 2000-01-16 | 1 | -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 | |||||
* | use GET_DENY_MODE() macro instead of the bit shift | Andrew Tridgell | 2000-01-16 | 1 | -3/+2 | |
| | ||||||
* | proto update | Andrew Tridgell | 2000-01-16 | 1 | -2/+4 | |
| | ||||||
* | a consequence of the access_table() fixes is that we can't treat | Andrew Tridgell | 2000-01-16 | 1 | -0/+2 | |
| | | | | | DENY_DOS and DENY_FCB as the same thing anymore (the difference matters for *.exe files) | |||||
* | rewrote the access_table() code to get it right for *.exe, *.dll, | Andrew Tridgell | 2000-01-16 | 1 | -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. | |||||
* | use string_set() instead of string_init() | Andrew Tridgell | 2000-01-16 | 3 | -41/+31 | |
| | | | | bug pointed out by Richard | |||||
* | added code to allow traversal of the byte range lock database | Andrew Tridgell | 2000-01-16 | 3 | -4/+72 | |
| | | | | this is used with "smbstatus -B" to dump the lock list | |||||
* | fixed a formatting error | Andrew Tridgell | 2000-01-16 | 1 | -1/+1 | |
| | ||||||
* | make string_init() static | Andrew Tridgell | 2000-01-16 | 2 | -2/+2 | |
| | | | | use string_set() instead, to avoid the bug Richard discovered | |||||
* | make a br_off a SMB_BIG_UINT | Andrew Tridgell | 2000-01-16 | 1 | -1/+1 | |
| | ||||||
* | useable_space does not include the alignment offset calculations. | Jeremy Allison | 2000-01-14 | 1 | -1/+8 | |
| | | | | | Bugfix from Marc_Jacobsen@hp.com. Jeremy. | |||||
* | HP changes for registry querying. | Jeremy Allison | 2000-01-14 | 1 | -1/+9 | |
| | | | | Jeremy. | |||||
* | Added HP change. | Jeremy Allison | 2000-01-14 | 1 | -53/+54 | |
| | | | | Jeremy. | |||||
* | casts and defines to make solaris happy | Andrew Tridgell | 2000-01-14 | 3 | -3/+7 | |
| | ||||||
* | damn, Solaris already has a "enum lock_type" | Andrew Tridgell | 2000-01-14 | 5 | -15/+15 | |
| | | | | changed it to "enum brl_type" | |||||
* | we now pass all byte range locking tests | Andrew Tridgell | 2000-01-14 | 6 | -25/+94 | |
| | | | | | the last piece was to use a smb timeout slightly larger than the locking timeout in bloking locks to prevent a race | |||||
* | Updated docs for "inherit permissions" fix. | Jeremy Allison | 2000-01-14 | 1 | -3/+48 | |
| | | | | Jeremy. | |||||
* | Added "inherit permissions" patch. | Jeremy Allison | 2000-01-14 | 10 | -33/+122 | |
| | | | | | Fixed locking bug found by Andrew. Jeremy. | |||||
* | some more work on the byte range locking | Andrew Tridgell | 2000-01-14 | 3 | -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. | |||||
* | greatly expanded the lock4 locking test. we now pass all but one test | Andrew Tridgell | 2000-01-13 | 1 | -45/+93 | |
| | | | | - that should be fixed soon. | |||||
* | changes to reflect the new syntax of the locking calls. | Andrew Tridgell | 2000-01-13 | 3 | -20/+19 | |
| | ||||||
* | the bulk of the new byte range locking coode | Andrew Tridgell | 2000-01-13 | 2 | -45/+296 | |
| | | | | it doesn't map to posix locks yet, that will come later. | |||||
* | the lock routines now take a enumerated type for read/write locks, and | Andrew Tridgell | 2000-01-13 | 1 | -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. | |||||
* | added Enosuchshare and a lock_type enum | Andrew Tridgell | 2000-01-13 | 1 | -0/+4 | |
| | ||||||
* | new prototypes | Andrew Tridgell | 2000-01-13 | 1 | -5/+22 | |
| | ||||||
* | defined br_off as a type for byte range offsets. For now I've set it | Andrew Tridgell | 2000-01-13 | 1 | -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) | |||||
* | added locking/brlock.c, a byte range locking system | Andrew Tridgell | 2000-01-13 | 1 | -1/+1 | |
| | ||||||
* | Added missing #ifdef for WITH_UTMP. | Jeremy Allison | 2000-01-13 | 1 | -0/+2 | |
| | | | | Jeremy. | |||||
* | Added utmp fix from David Lee <T.D.Lee@durham.ac.uk>. | Jeremy Allison | 2000-01-12 | 9 | -576/+951 | |
| | | | | Jeremy. | |||||
* | Use slprintf not snprintf. | Jeremy Allison | 2000-01-12 | 1 | -1/+1 | |
| | | | | Jeremy. | |||||
* | Fix problems with broken libc fvct returns. | Jeremy Allison | 2000-01-12 | 1 | -1/+8 | |
| | | | | Jeremy. |