Jeremy Allison [Fri, 25 Feb 2000 22:25:25 +0000 (22:25 +0000)]
client/client.c:
libsmb/clientgen.c: Fixes for Win2k smbclient browsing.
Other fixes implement smbpasswd -x user to delete users. Also allows swat
to do the same.
Jeremy.
(This used to be commit
9f6ad046761adecafba59040baa3abc9f0959e65)
Jean-François Micouleau [Thu, 24 Feb 2000 23:01:24 +0000 (23:01 +0000)]
made dynamic the Printer struct. No more limits :-)
J.F.
(This used to be commit
b59233b3b61b17e85f5d5b44cc6f2ced9d27b497)
Jean-François Micouleau [Thu, 24 Feb 2000 16:27:06 +0000 (16:27 +0000)]
converted a couple of bzero() to memset()
rewrote the printer notify code, so now it's compatible with SP5 and fully
dynamic. No more limits on printers and job lists.
removed the make_xxx() functions as they are not used and broken
fixed a bug in the open handle function.
J.F.
(This used to be commit
aa9054d14bc940f251639ab897d9f356814f5fc0)
Jeremy Allison [Wed, 23 Feb 2000 22:29:27 +0000 (22:29 +0000)]
Multiple-dot scope handling fix from Greg Bowering gb@pobox.com
Jeremy.
(This used to be commit
693a582c23599bbdd45adb30401b1162e44fd274)
Jeremy Allison [Wed, 23 Feb 2000 02:02:33 +0000 (02:02 +0000)]
lib/system.c: Fixed gcc warnings.
nmbd/nmbd_processlogon.c: Use "True" and "False" instead of 1 and 0.
Others - preparing for multiple pdu write code.
Jeremy.
(This used to be commit
9f879ec396230deba34fbe5e82d8a65f92137c54)
Luke Leighton [Tue, 22 Feb 2000 21:00:01 +0000 (21:00 +0000)]
richard got the short request for GETDC right (hooray!) win9x _and_ nt
now work.
(This used to be commit
27ef1789267c7af70071ac9b1d216b4dd745578a)
Jeremy Allison [Mon, 21 Feb 2000 18:47:21 +0000 (18:47 +0000)]
Fix for crash bug from Paul Tyler <pct@ansto.gov.au>.
Jeremy.
(This used to be commit
89aa4d8ca9cc9e8e6dd4566076c0cace8b82d838)
Jean-François Micouleau [Mon, 21 Feb 2000 01:58:13 +0000 (01:58 +0000)]
more rewrite ...
comitting before starting on new functions.
J.F.
(This used to be commit
f9c20801114f72b587a6e8c3177cbab13dbdcc28)
Jeremy Allison [Fri, 18 Feb 2000 03:54:26 +0000 (03:54 +0000)]
Fix for reporting file system attributes correctly.
Jeremy.
(This used to be commit
801ed2389b97f921aa855513696d304c542fda04)
Jeremy Allison [Fri, 18 Feb 2000 03:11:22 +0000 (03:11 +0000)]
Fixes for Eastern Europe code page.
Jeremy.
(This used to be commit
0ec82d661a27a02322e5c8da20a18f33bfb24a3e)
Tim Potter [Thu, 17 Feb 2000 23:22:26 +0000 (23:22 +0000)]
Don't assume that the (files_struct *) passed to fd_attempt_close()
will be non-NULL.
(This used to be commit
02f845e54351ec57ee873a8ed887285552c6ecab)
Tim Potter [Thu, 17 Feb 2000 00:16:40 +0000 (00:16 +0000)]
Updated docs for tdb_traverse.
(This used to be commit
8cbc7dfa031cb66d1f011705b6bd76d56c68cae5)
Tim Potter [Wed, 16 Feb 2000 22:57:57 +0000 (22:57 +0000)]
More checks for passing NULL tdb contexts to tdb functions.
(This used to be commit
7faa70d254549e60520de1ed1112d41fe9a4d77c)
Jeremy Allison [Wed, 16 Feb 2000 22:48:19 +0000 (22:48 +0000)]
Added support for SO_REUSEPORT for systems that have it.
Jeremy.
(This used to be commit
377515cf9624720362c0b76969b9381d9972a13f)
Jeremy Allison [Wed, 16 Feb 2000 17:52:25 +0000 (17:52 +0000)]
Tim Potter [Wed, 16 Feb 2000 04:56:11 +0000 (04:56 +0000)]
tdb_traverse() now takes three arguments.
(This used to be commit
2d3e2f8877fb8eb21b4ccf4d7a56f1c625c71780)
Jeremy Allison [Wed, 16 Feb 2000 02:35:53 +0000 (02:35 +0000)]
Added "source environment" parameter from Nicolas Williams <Nicolas.Williams@wdr.com>.
Jeremy.
(This used to be commit
f29847cbeeb0109f1fa61e9851e8cb0689b5228d)
Jeremy Allison [Tue, 15 Feb 2000 19:36:47 +0000 (19:36 +0000)]
Added replacement functions sys_popen and sys_pclose. These are based
on the glibc source code and are safer than the traditional popen as
they don't use a shell to exec the requested command. Now we have
these functions they can be tightened up (environment etc.) as required
to make a safe popen. It should now be safe to add the environement
variable loading code to loadparm.c
Jeremy.
(This used to be commit
b52e92b09d4ca3b66e534f520468dee27065d048)
Jean-François Micouleau [Tue, 15 Feb 2000 18:07:45 +0000 (18:07 +0000)]
fix the reply of rpc_alter_context
OpenPrinterEx is now decoding correctly the query
most of the EnumXXX use the new_buffer struct.
check the (un)marshalling return code.
conclusion: still a long way to go. all the client code has to be
rewritten, and I still wonder how to implement correctly the notify stuff.
(This used to be commit
3d6d3863751787b08d40268c83221add1487a5c9)
Tim Potter [Tue, 15 Feb 2000 06:13:38 +0000 (06:13 +0000)]
Return "Invalid tdb context" instead of crashing when tdb_error called
with NULL tdb context.
(This used to be commit
ba9f24c0964054f22cd8f0de32cfeacb88b4800c)
Tim Potter [Tue, 15 Feb 2000 05:06:53 +0000 (05:06 +0000)]
Not enough args to DEBUG statement.
(This used to be commit
156f438bce607236b2d91c28f3dbe8559e048738)
Jeremy Allison [Mon, 14 Feb 2000 21:52:35 +0000 (21:52 +0000)]
Ooops. Fixed stupid typo with missing ! in cli error code.
Jeremy.
(This used to be commit
0babc4baea62aa40e8698ab88b3a95d514c001b6)
Andrew Tridgell [Thu, 10 Feb 2000 13:45:52 +0000 (13:45 +0000)]
damn, masktest now needs the mangle code from smbd
not very clean
(This used to be commit
6c09c0fd9e00036f6da9d29801e885ed3b559c42)
Andrew Tridgell [Thu, 10 Feb 2000 13:43:59 +0000 (13:43 +0000)]
the beginnings of a fnmatch() based wildcard matching routine
(This used to be commit
ef256de9d9a204cf91fe8b636d07400cd0648d1e)
Tim Potter [Wed, 9 Feb 2000 23:47:02 +0000 (23:47 +0000)]
file ntdom.c was initially added on branch SAMBA_TNG.
(This used to be commit
1f7964f29b9bcc92517e10c4f47c56fb2de5c9ab)
Jeremy Allison [Wed, 9 Feb 2000 15:50:44 +0000 (15:50 +0000)]
Fixed wildcard match bug with '****' with smbclient. Found by Andrew (damn him! :-).
Jeremy.
(This used to be commit
c8ca70f99ee2eae5e29ddf0dd4bc231fbcd188f2)
Jeremy Allison [Wed, 9 Feb 2000 15:43:09 +0000 (15:43 +0000)]
Correct for for core dump in smbpasswd with cli_errstr().
Jeremy.<F4>plit the test for NetBIOS name being *SMBSERVER.
(This used to be commit
34b0e2acb050e384c132ddfb50ec84157fb430c6)
Jeremy Allison [Wed, 9 Feb 2000 14:45:22 +0000 (14:45 +0000)]
Defensive programming for cli_error().
Jeremy.
(This used to be commit
94ed74d5b09d6f28b47b2855c4e4a1dc5c2108d3)
Andrew Tridgell [Wed, 9 Feb 2000 14:17:12 +0000 (14:17 +0000)]
update masktest for new make_nmb_name() syntax
(This used to be commit
3609e835d4f938190f43b958403978c892b4bc9b)
Andrew Tridgell [Wed, 9 Feb 2000 14:10:08 +0000 (14:10 +0000)]
added masktest to head branch, in preparation for another assault on
the wildcard handling code
(This used to be commit
3f77690dade57f4ae9da7196b0aa7a3a43afcc46)
Jeremy Allison [Tue, 8 Feb 2000 11:32:43 +0000 (11:32 +0000)]
Moved over lib/util_sec (with added fixes) as the HEAD source
seems to have drifted a little.
Jeremy.
(This used to be commit
ebcdb4afee04cc3b94e60b1de86c2b534d4e233e)
Jean-François Micouleau [Mon, 7 Feb 2000 18:06:54 +0000 (18:06 +0000)]
Hum, I should remove my gloves when I'm in front of an xterm :)
fixed a stupid bug in unistr2_to_ascii that I introduced
fixed getprinterdata()
(This used to be commit
2f544a807714024c0fe2ddc26e11c9ddcb47e81f)
Jean-François Micouleau [Mon, 7 Feb 2000 16:28:41 +0000 (16:28 +0000)]
make proto ...
and the Makefile.in file
J.F.
(This used to be commit
aa22586aac02c28aaa5f96e1a03a83fc138c840e)
Jean-François Micouleau [Mon, 7 Feb 2000 16:27:03 +0000 (16:27 +0000)]
spoolss include definitions
J.F.
(This used to be commit
853a1a3027dde7608027dc78f6e15789d5fc9152)
Jean-François Micouleau [Mon, 7 Feb 2000 16:25:15 +0000 (16:25 +0000)]
spoolss definitions.
also added some prs_struct functions, 'cause I'm handling buffers as
prs_struct.
J.F.
(This used to be commit
81e375bbbe0fb022a44a2aaaa3729a9518b7a854)
Jean-François Micouleau [Mon, 7 Feb 2000 16:22:16 +0000 (16:22 +0000)]
Jeremy can you check lib/util_unistr.c for codepages support ?
I added 2 UNICODE <-> ASCII functions which _don't_ honor codepage
support.
J.F.
(This used to be commit
b81dc7b7f832cae2e66076398a134fbb6c1f78ca)
Jean-François Micouleau [Mon, 7 Feb 2000 16:17:59 +0000 (16:17 +0000)]
First commit of the spoolss code to the HEAD branch.
still needs a lot of cleaning/debuging.
J.F.
(This used to be commit
bd9d4cdde9193c120c6f4e8cf72f87cd67a9387e)
Jeremy Allison [Mon, 7 Feb 2000 14:27:04 +0000 (14:27 +0000)]
Added check for SGI IRIX brokenness with semaphores when using gcc.
Code from Don Badrak <dbadrak@census.gov>
Jeremy.
(This used to be commit
773d6e504b1ac97f0d8136002ace2c0c0771a163)
Tim Potter [Mon, 7 Feb 2000 00:41:58 +0000 (00:41 +0000)]
Fix some more compile warnings.
(This used to be commit
507624dbc0a1a9e1df72a6b8de45038e86a9e5b1)
Tim Potter [Mon, 7 Feb 2000 00:24:04 +0000 (00:24 +0000)]
Fixed compile warning in locking.c:traverse_fn()
(This used to be commit
eefc8972217e5a700b90f13ab040a0919f184d23)
Jean-François Micouleau [Fri, 4 Feb 2000 15:19:28 +0000 (15:19 +0000)]
After 3AM, it's getting hard for Luke :-)
(This used to be commit
61c970b10adc37412722a6ee54b166d41ed0a071)
Tim Potter [Fri, 4 Feb 2000 05:18:06 +0000 (05:18 +0000)]
Fix some compile warnings.
(This used to be commit
ccbd936211d4bfc8687cef78405ae58127289d13)
Tim Potter [Fri, 4 Feb 2000 05:08:16 +0000 (05:08 +0000)]
Hopefully these changes will actually stick.
(This used to be commit
a2782097db258a164bf43d814e8832a27d0eb3f1)
Luke Leighton [Fri, 4 Feb 2000 04:59:31 +0000 (04:59 +0000)]
1) added void* state argument to tdb_traverse. guess what! there were
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)
Tim Potter [Thu, 3 Feb 2000 23:08:24 +0000 (23:08 +0000)]
Put back lots of missing calls to dos_to_unix(). Thanks to
aono@cc.osaka-kyoiku.ac.jp (Tomoki AONO)
(This used to be commit
176c405d2702a4245561ff56c8eac3c754a0dea3)
Tim Potter [Thu, 3 Feb 2000 05:55:11 +0000 (05:55 +0000)]
Backed out -rdynamic linker option. It seems to be GNU ld specific.
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)
Tim Potter [Thu, 3 Feb 2000 05:18:26 +0000 (05:18 +0000)]
Tim Potter [Thu, 3 Feb 2000 05:17:25 +0000 (05:17 +0000)]
Mega-VFS merge. Yeah baby!
Synopsis: change every disk access function to work through a vfs_ops
structure contained in the connection_struct.
(This used to be commit
3aad500c0fb61232ed3431ff4b743b5d18ec852f)
Tim Potter [Thu, 3 Feb 2000 05:11:26 +0000 (05:11 +0000)]
Added 'vfs object' and 'vfs options' smb.conf parameters.
(This used to be commit
f872518972e7942e31b5ac5150d7ed8b0fbcf641)
Tim Potter [Thu, 3 Feb 2000 05:10:09 +0000 (05:10 +0000)]
Comments to use vfs_* functions instead of dos_* unless really
accessing files on local disk.
(This used to be commit
b55f63da7e6a3c306ce668c77ed63a41d33240db)
Tim Potter [Thu, 3 Feb 2000 05:07:06 +0000 (05:07 +0000)]
Add -rdynamic to LDFLAGS if libdl found.
(This used to be commit
4c14a343d10bbddd69a1dc5abc9d4f64cf75dacc)
Tim Potter [Thu, 3 Feb 2000 05:05:29 +0000 (05:05 +0000)]
Added smbd/vfs.o and smbd/vfs-wrap.o to smbd objects.
(This used to be commit
d91bfec537cf9959b47ad1cd470e18a6ddcbda6f)
Tim Potter [Thu, 3 Feb 2000 04:49:11 +0000 (04:49 +0000)]
Added .dummy file.
(This used to be commit
71fc4dc7917d5c4782f61640c5b7681732742766)
Tim Potter [Thu, 3 Feb 2000 04:47:50 +0000 (04:47 +0000)]
Busting up of source/include/smb.h into smaller pieces which can be
#included by VFS modules without bringing in too much other junk.
(This used to be commit
13a2cf80f65156e725a5716e62a4c44e70f5340f)
Tim Potter [Thu, 3 Feb 2000 04:40:56 +0000 (04:40 +0000)]
Some strange CVS weirdness happening here. I had SAMBA_TNG tags in my
head branch CVS/Entries file leading to lots of fun and games. )-:
(This used to be commit
bb07eceddb0552ff17ba9db94ae81f58226be4b5)
Luke Leighton [Wed, 2 Feb 2000 21:56:20 +0000 (21:56 +0000)]
file srv_netlogond_nt.c was initially added on branch SAMBA_TNG.
(This used to be commit
f25bffada9b65236adbece7284a699c37af74f6d)
Tim Potter [Tue, 1 Feb 2000 03:44:33 +0000 (03:44 +0000)]
system_name not server_name
(This used to be commit
e9da53012011b30cab80074fdc55e624ede97979)
Tim Potter [Mon, 31 Jan 2000 02:44:05 +0000 (02:44 +0000)]
Pass arguments to ./configure
(This used to be commit
6e9ab5157842700adc895a6ae0bcf0927bc43588)
Herb Lewis [Sun, 30 Jan 2000 01:00:00 +0000 (01:00 +0000)]
made "enable" and "disable" the default "lpresume" and "lppause" commands
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)
Jeremy Allison [Sat, 29 Jan 2000 00:23:40 +0000 (00:23 +0000)]
Wrapped popen calls in HAVE_POPEN - needed if we are to add the
env patch.
Jeremy.
(This used to be commit
94c075faee88538e48d1898f1694500b8a5d4c8b)
Jeremy Allison [Sat, 29 Jan 2000 00:03:50 +0000 (00:03 +0000)]
Fix from Motonobu TAKAHASHI to sort code page parameters first.
Needed when reading the rest of smb.conf.
Jeremy.
(This used to be commit
171bef4d95390c1a74591fb06327cc993360a764)
Jeremy Allison [Fri, 28 Jan 2000 23:47:31 +0000 (23:47 +0000)]
Modified auto alignment of ud[] struct on stack to be declared as an
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)
Jeremy Allison [Thu, 27 Jan 2000 01:09:21 +0000 (01:09 +0000)]
Fixed code page conversions of messages outgoing/incoming.
Jeremy.
(This used to be commit
84b045cbc8b337f1e23f200af433ac9d265a22d4)
Jeremy Allison [Wed, 26 Jan 2000 21:25:35 +0000 (21:25 +0000)]
Added hash-based stat cache code from Ying Chen.
Jeremy.
(This used to be commit
b62a1bd6328f5894ae1a2fef3ef6fc66304ade52)
Jeremy Allison [Wed, 26 Jan 2000 00:12:35 +0000 (00:12 +0000)]
Second set of inline optimisation fixes from Ying Chen <ying@almaden.ibm.com>.
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)
Jeremy Allison [Tue, 25 Jan 2000 22:57:51 +0000 (22:57 +0000)]
First set of speed improvements from Ying Chen <ying@almaden.ibm.com>.
Inline several commonly used functions as macros.
Jeremy.
(This used to be commit
fc0219c7cc4b83e6db17d5b3be70d74fd7971089)
Jeremy Allison [Mon, 24 Jan 2000 23:12:02 +0000 (23:12 +0000)]
tdb record read error return check fix from Dave Airlie <airlied@samba.org>.
Jeremy.
(This used to be commit
82c99dc8d8bc79e88f0db651f04fc23508195a51)
Andrew Tridgell [Mon, 24 Jan 2000 03:39:24 +0000 (03:39 +0000)]
we need -lc when making shared objects or glibc doesn't do its magic
binding for stat()
(This used to be commit
b52e60d5685b6ce9e581b5598b2725a4bf88ab06)
Luke Leighton [Fri, 21 Jan 2000 02:33:21 +0000 (02:33 +0000)]
made cvs main up-to-date with samba_tng, with addition of process id to
msrpc loop-back interface.
(This used to be commit
adbf97c0a93149e17496b002ecc8ecdb3f360ed5)
Jeremy Allison [Thu, 20 Jan 2000 17:16:07 +0000 (17:16 +0000)]
Moved Herb's global -> local changes to HEAD.
Jeremy.
(This used to be commit
bdb2ff6a38f55a66fa7e142f30442899193805ee)
Jeremy Allison [Tue, 18 Jan 2000 05:11:29 +0000 (05:11 +0000)]
Added Herb's swat fixes.
Jeremy.
(This used to be commit
fa3d91de8957c932f02205f9257dd3e47892a43d)
Herb Lewis [Mon, 17 Jan 2000 23:16:23 +0000 (23:16 +0000)]
test for pre- version numbers
(This used to be commit
c1f25dbf996de50f486a165b314119e9f4ae0419)
Luke Leighton [Mon, 17 Jan 2000 23:01:23 +0000 (23:01 +0000)]
SAMR_R_UNKNOWN_38 is 3 uint16 params (4-byte aligned) followed by status code.
(This used to be commit
55035b8984c135ddd2c4e3be18caf8833975841d)
Andrew Tridgell [Sun, 16 Jan 2000 13:17:05 +0000 (13:17 +0000)]
fixed some typos in access_table() which, amaziingly enough, make no
difference to the result.
(This used to be commit
9e28b7220bc293e386fec30c2d2e7e401b61b1f7)
Andrew Tridgell [Sun, 16 Jan 2000 12:53:12 +0000 (12:53 +0000)]
made access_table() a pure logic function - makes it simpler to apply
maths to
(This used to be commit
0ad62f128d1c26b8f7e71bc045c6f4a584f8d374)
Andrew Tridgell [Sun, 16 Jan 2000 12:28:43 +0000 (12:28 +0000)]
renamed DENY to DENY1
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)
Andrew Tridgell [Sun, 16 Jan 2000 12:27:20 +0000 (12:27 +0000)]
use GET_DENY_MODE() macro
(This used to be commit
d9c3e0e61f315ad4d9c3ea6bb6acc8500befe6b4)
Andrew Tridgell [Sun, 16 Jan 2000 12:26:42 +0000 (12:26 +0000)]
as obelix would say "these romans are crazy"
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)
Andrew Tridgell [Sun, 16 Jan 2000 12:24:01 +0000 (12:24 +0000)]
use GET_DENY_MODE() macro instead of the bit shift
(This used to be commit
d72c98a931ff05a7f8b74b98cd7ebd025a87d249)
Andrew Tridgell [Sun, 16 Jan 2000 11:24:07 +0000 (11:24 +0000)]
Andrew Tridgell [Sun, 16 Jan 2000 11:22:39 +0000 (11:22 +0000)]
a consequence of the access_table() fixes is that we can't treat
DENY_DOS and DENY_FCB as the same thing anymore (the difference
matters for *.exe files)
(This used to be commit
8f3ff09283db87083a81a943909ae047cdd9e48b)
Andrew Tridgell [Sun, 16 Jan 2000 11:21:33 +0000 (11:21 +0000)]
rewrote the access_table() code to get it right for *.exe, *.dll,
*.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)
Andrew Tridgell [Sun, 16 Jan 2000 11:18:04 +0000 (11:18 +0000)]
use string_set() instead of string_init()
bug pointed out by Richard
(This used to be commit
070f49397ff24e4d6ba7c2c1cfaef2dfa0944bd0)
Andrew Tridgell [Sun, 16 Jan 2000 11:14:44 +0000 (11:14 +0000)]
added code to allow traversal of the byte range lock database
this is used with "smbstatus -B" to dump the lock list
(This used to be commit
5f022629146701e6d543f77007dc944e4277ab0c)
Andrew Tridgell [Sun, 16 Jan 2000 11:09:32 +0000 (11:09 +0000)]
fixed a formatting error
(This used to be commit
10d9d81e8b7eba588526a5d479be74ce8f86fc55)
Andrew Tridgell [Sun, 16 Jan 2000 11:07:11 +0000 (11:07 +0000)]
make string_init() static
use string_set() instead, to avoid the bug Richard discovered
(This used to be commit
fdcbf6b52d8373bf8f35718a9649788415c23342)
Andrew Tridgell [Sun, 16 Jan 2000 11:06:00 +0000 (11:06 +0000)]
make a br_off a SMB_BIG_UINT
(This used to be commit
0751a0ea4cdb7f5db0aa6f359dd3e4f744fc0689)
Jeremy Allison [Fri, 14 Jan 2000 23:50:38 +0000 (23:50 +0000)]
useable_space does not include the alignment offset calculations.
Bugfix from Marc_Jacobsen@hp.com.
Jeremy.
(This used to be commit
eb06c199163232453e2d9ca50d00765c90f8f3e2)
Jeremy Allison [Fri, 14 Jan 2000 21:16:59 +0000 (21:16 +0000)]
HP changes for registry querying.
Jeremy.
(This used to be commit
fd8582cc0a751618f4699f435d561f5de54bf7f4)
Jeremy Allison [Fri, 14 Jan 2000 19:34:57 +0000 (19:34 +0000)]
Added HP change.
Jeremy.
(This used to be commit
4914d2f161b6a82789f3a9decccb636fb21264c5)
Andrew Tridgell [Fri, 14 Jan 2000 08:33:20 +0000 (08:33 +0000)]
casts and defines to make solaris happy
(This used to be commit
77cf152c02b445f4b6e9de393936dd6e54e6f442)
Andrew Tridgell [Fri, 14 Jan 2000 08:01:44 +0000 (08:01 +0000)]
damn, Solaris already has a "enum lock_type"
changed it to "enum brl_type"
(This used to be commit
6b9ee7662c7afa70f6b20889e6b0ae1dcd677f9f)
Andrew Tridgell [Fri, 14 Jan 2000 04:32:57 +0000 (04:32 +0000)]
we now pass all byte range locking tests
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)
Jeremy Allison [Fri, 14 Jan 2000 01:49:56 +0000 (01:49 +0000)]
Updated docs for "inherit permissions" fix.
Jeremy.
(This used to be commit
4fbc7358d21f541b7a6e27f768a88007bf390da5)
Jeremy Allison [Fri, 14 Jan 2000 01:41:04 +0000 (01:41 +0000)]
Added "inherit permissions" patch.
Fixed locking bug found by Andrew.
Jeremy.
(This used to be commit
38dffd360dc2e44bfc9e751f017e24f81ff0f2fa)
Andrew Tridgell [Fri, 14 Jan 2000 00:50:48 +0000 (00:50 +0000)]
some more work on the byte range locking
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)
Andrew Tridgell [Thu, 13 Jan 2000 12:11:30 +0000 (12:11 +0000)]
greatly expanded the lock4 locking test. we now pass all but one test
- that should be fixed soon.
(This used to be commit
23bb936e1fdeab2ad697ed946c945ef5ce87357d)
Andrew Tridgell [Thu, 13 Jan 2000 12:10:48 +0000 (12:10 +0000)]
changes to reflect the new syntax of the locking calls.
(This used to be commit
44117df2c908d473b3e1a1020b22af6d584809ef)
Andrew Tridgell [Thu, 13 Jan 2000 12:09:36 +0000 (12:09 +0000)]
the bulk of the new byte range locking coode
it doesn't map to posix locks yet, that will come later.
(This used to be commit
7f2a493095887cb0aae915ac36b9cded71d3a7a7)
Andrew Tridgell [Thu, 13 Jan 2000 12:08:53 +0000 (12:08 +0000)]
the lock routines now take a enumerated type for read/write locks, and
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)