summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2000-02-041) added void* state argument to tdb_traverse. guess what! there wereLuke Leighton12-390/+402
two places i found where it was appropriate to _use_ that third argument, in locking.c and brlock.c! there was a static traverse_function and i removed the static variable, typecast it to a void*, passed it to tdb_traverse and re-cast it back to the traverse_function inside the tdb_traverse function. this makes the use of tdb_traverse() reentrant, which is never going to happen, i know, i just don't like to see statics lying about when there's no need for them. as i had to do in samba-tng, all uses of tdb_traverse modified to take the new void* state argument. 2) disabled rpcclient: referring people to use SAMBA_TNG rpcclient. i don't know how the other samba team members would react if i deleted rpcclient from cvs main. damn, that code's so old, it's unreal. 20 rpcclient commands, instead of about 70 in SAMBA_TNG. (This used to be commit 49d7f0afbc1c5425d53019e234d54ddf205c8e9a)
2000-02-03Put back lots of missing calls to dos_to_unix(). Thanks toTim Potter7-44/+59
aono@cc.osaka-kyoiku.ac.jp (Tomoki AONO) (This used to be commit 176c405d2702a4245561ff56c8eac3c754a0dea3)
2000-02-03Backed out -rdynamic linker option. It seems to be GNU ld specific.Tim Potter2-420/+429
Need a platform independant way of exporting symbols for dlopen(). Perhaps this is only needed for certain platforms anyway... (This used to be commit 8b26be1e82d329c9ea8a1d6a71e5e9f440eb93ac)
2000-02-03make protoTim Potter1-332/+373
(This used to be commit 8855d7346d0c15ecada2fc092e360b58ccf161fe)
2000-02-03Mega-VFS merge. Yeah baby!Tim Potter14-158/+261
Synopsis: change every disk access function to work through a vfs_ops structure contained in the connection_struct. (This used to be commit 3aad500c0fb61232ed3431ff4b743b5d18ec852f)
2000-02-03Added 'vfs object' and 'vfs options' smb.conf parameters.Tim Potter1-0/+25
(This used to be commit f872518972e7942e31b5ac5150d7ed8b0fbcf641)
2000-02-03Comments to use vfs_* functions instead of dos_* unless reallyTim Potter4-4/+761
accessing files on local disk. (This used to be commit b55f63da7e6a3c306ce668c77ed63a41d33240db)
2000-02-03Add -rdynamic to LDFLAGS if libdl found.Tim Potter2-653/+736
(This used to be commit 4c14a343d10bbddd69a1dc5abc9d4f64cf75dacc)
2000-02-03Added smbd/vfs.o and smbd/vfs-wrap.o to smbd objects.Tim Potter1-0/+1
(This used to be commit d91bfec537cf9959b47ad1cd470e18a6ddcbda6f)
2000-02-03Added .dummy file.Tim Potter1-0/+1
(This used to be commit 71fc4dc7917d5c4782f61640c5b7681732742766)
2000-02-03Busting up of source/include/smb.h into smaller pieces which can beTim Potter6-349/+608
#included by VFS modules without bringing in too much other junk. (This used to be commit 13a2cf80f65156e725a5716e62a4c44e70f5340f)
2000-02-01system_name not server_nameTim Potter1-1/+1
(This used to be commit e9da53012011b30cab80074fdc55e624ede97979)
2000-01-31Pass arguments to ./configureTim Potter1-1/+1
(This used to be commit 6e9ab5157842700adc895a6ae0bcf0927bc43588)
2000-01-30made "enable" and "disable" the default "lpresume" and "lppause" commandsHerb Lewis1-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. (This used to be commit d3557b7f728e262d880bd7f7bbe20b853dbf165a)
2000-01-29Wrapped popen calls in HAVE_POPEN - needed if we are to add theJeremy Allison5-2/+11
env patch. Jeremy. (This used to be commit 94c075faee88538e48d1898f1694500b8a5d4c8b)
2000-01-29Fix from Motonobu TAKAHASHI to sort code page parameters first.Jeremy Allison1-2/+2
Needed when reading the rest of smb.conf. Jeremy. (This used to be commit 171bef4d95390c1a74591fb06327cc993360a764)
2000-01-28Modified auto alignment of ud[] struct on stack to be declared as anJeremy Allison2-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)
2000-01-27Fixed code page conversions of messages outgoing/incoming.Jeremy Allison2-0/+17
Jeremy. (This used to be commit 84b045cbc8b337f1e23f200af433ac9d265a22d4)
2000-01-26Added hash-based stat cache code from Ying Chen.Jeremy Allison9-83/+502
Jeremy. (This used to be commit b62a1bd6328f5894ae1a2fef3ef6fc66304ade52)
2000-01-26Second set of inline optimisation fixes from Ying Chen <ying@almaden.ibm.com>.Jeremy Allison9-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)
2000-01-25First set of speed improvements from Ying Chen <ying@almaden.ibm.com>.Jeremy Allison7-166/+76
Inline several commonly used functions as macros. Jeremy. (This used to be commit fc0219c7cc4b83e6db17d5b3be70d74fd7971089)
2000-01-24tdb record read error return check fix from Dave Airlie <airlied@samba.org>.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 82c99dc8d8bc79e88f0db651f04fc23508195a51)
2000-01-24we need -lc when making shared objects or glibc doesn't do its magicAndrew Tridgell1-1/+1
binding for stat() (This used to be commit b52e60d5685b6ce9e581b5598b2725a4bf88ab06)
2000-01-21made cvs main up-to-date with samba_tng, with addition of process id toLuke Leighton7-10/+32
msrpc loop-back interface. (This used to be commit adbf97c0a93149e17496b002ecc8ecdb3f360ed5)
2000-01-20Moved Herb's global -> local changes to HEAD.Jeremy Allison1-2/+2
Jeremy. (This used to be commit bdb2ff6a38f55a66fa7e142f30442899193805ee)
2000-01-18Added Herb's swat fixes.Jeremy Allison1-2/+2
Jeremy. (This used to be commit fa3d91de8957c932f02205f9257dd3e47892a43d)
2000-01-17SAMR_R_UNKNOWN_38 is 3 uint16 params (4-byte aligned) followed by status code.Luke Leighton2-5/+3
(This used to be commit 55035b8984c135ddd2c4e3be18caf8833975841d)
2000-01-16fixed some typos in access_table() which, amaziingly enough, make noAndrew Tridgell1-3/+3
difference to the result. (This used to be commit 9e28b7220bc293e386fec30c2d2e7e401b61b1f7)
2000-01-16made access_table() a pure logic function - makes it simpler to applyAndrew Tridgell1-16/+26
maths to (This used to be commit 0ad62f128d1c26b8f7e71bc045c6f4a584f8d374)
2000-01-16renamed DENY to DENY1Andrew Tridgell1-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)
2000-01-16use GET_DENY_MODE() macroAndrew Tridgell1-2/+1
(This used to be commit d9c3e0e61f315ad4d9c3ea6bb6acc8500befe6b4)
2000-01-16as obelix would say "these romans are crazy"Andrew Tridgell1-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)
2000-01-16use GET_DENY_MODE() macro instead of the bit shiftAndrew Tridgell1-3/+2
(This used to be commit d72c98a931ff05a7f8b74b98cd7ebd025a87d249)
2000-01-16proto updateAndrew Tridgell1-2/+4
(This used to be commit ab492d46942e9c43e6b61a04f9db75d9fc3f40d6)
2000-01-16a consequence of the access_table() fixes is that we can't treatAndrew Tridgell1-0/+2
DENY_DOS and DENY_FCB as the same thing anymore (the difference matters for *.exe files) (This used to be commit 8f3ff09283db87083a81a943909ae047cdd9e48b)
2000-01-16rewrote the access_table() code to get it right for *.exe, *.dll,Andrew Tridgell1-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)
2000-01-16use string_set() instead of string_init()Andrew Tridgell3-41/+31
bug pointed out by Richard (This used to be commit 070f49397ff24e4d6ba7c2c1cfaef2dfa0944bd0)
2000-01-16added code to allow traversal of the byte range lock databaseAndrew Tridgell3-4/+72
this is used with "smbstatus -B" to dump the lock list (This used to be commit 5f022629146701e6d543f77007dc944e4277ab0c)
2000-01-16fixed a formatting errorAndrew Tridgell1-1/+1
(This used to be commit 10d9d81e8b7eba588526a5d479be74ce8f86fc55)
2000-01-16make string_init() staticAndrew Tridgell2-2/+2
use string_set() instead, to avoid the bug Richard discovered (This used to be commit fdcbf6b52d8373bf8f35718a9649788415c23342)
2000-01-16make a br_off a SMB_BIG_UINTAndrew Tridgell1-1/+1
(This used to be commit 0751a0ea4cdb7f5db0aa6f359dd3e4f744fc0689)
2000-01-14useable_space does not include the alignment offset calculations.Jeremy Allison1-1/+8
Bugfix from Marc_Jacobsen@hp.com. Jeremy. (This used to be commit eb06c199163232453e2d9ca50d00765c90f8f3e2)
2000-01-14HP changes for registry querying.Jeremy Allison1-1/+9
Jeremy. (This used to be commit fd8582cc0a751618f4699f435d561f5de54bf7f4)
2000-01-14Added HP change.Jeremy Allison1-53/+54
Jeremy. (This used to be commit 4914d2f161b6a82789f3a9decccb636fb21264c5)
2000-01-14casts and defines to make solaris happyAndrew Tridgell3-3/+7
(This used to be commit 77cf152c02b445f4b6e9de393936dd6e54e6f442)
2000-01-14damn, Solaris already has a "enum lock_type"Andrew Tridgell5-15/+15
changed it to "enum brl_type" (This used to be commit 6b9ee7662c7afa70f6b20889e6b0ae1dcd677f9f)
2000-01-14we now pass all byte range locking testsAndrew Tridgell6-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)
2000-01-14Added "inherit permissions" patch.Jeremy Allison10-33/+122
Fixed locking bug found by Andrew. Jeremy. (This used to be commit 38dffd360dc2e44bfc9e751f017e24f81ff0f2fa)
2000-01-14some more work on the byte range lockingAndrew Tridgell3-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)
2000-01-13greatly expanded the lock4 locking test. we now pass all but one testAndrew Tridgell1-45/+93
- that should be fixed soon. (This used to be commit 23bb936e1fdeab2ad697ed946c945ef5ce87357d)