samba.git
24 years agoBringing these up to date with what I've got on my site. The fixes include
Christopher R. Hertel [Thu, 8 Jun 2000 17:29:05 +0000 (17:29 +0000)]
Bringing these up to date with what I've got on my site.  The fixes include
the change that prevents 'insure' from becomming confused and issuing leak
reports.  Some minor speed fixes.  That sort of thing.

Chris -)-----
(This used to be commit 164cc91d81f691f1ba4f16ba203230f745ee73dc)

24 years agoadded a NET_USER_INFO_3 struct to user_struct.
Luke Leighton [Thu, 8 Jun 2000 13:56:07 +0000 (13:56 +0000)]
added a NET_USER_INFO_3 struct to user_struct.

register_vuid fills it with constructed info.
(This used to be commit b1889e4334012b1b2caa604b859da4271509fc87)

24 years agoadded se_access_check.
Luke Leighton [Thu, 8 Jun 2000 08:41:28 +0000 (08:41 +0000)]
added se_access_check.
(This used to be commit 6de329f6bf9c26e132869cf43d4976d4881e285c)

24 years agomake_sec_acl was passed pointer to static array ace[2], oops.
Luke Leighton [Thu, 8 Jun 2000 07:55:24 +0000 (07:55 +0000)]
make_sec_acl was passed pointer to static array ace[2], oops.
(This used to be commit f3502d846c99c77b13ce75977f5dc79cc1a3506d)

24 years ago- changed HAVE_KERNEL_OPLOCKS to HAVE_KERNEL_OPLOCKS_IRIX
Andrew Tridgell [Thu, 8 Jun 2000 07:40:55 +0000 (07:40 +0000)]
- changed HAVE_KERNEL_OPLOCKS to HAVE_KERNEL_OPLOCKS_IRIX
- added autoconf test for HAVE_KERNEL_OPLOCKS_LINUX
(This used to be commit 0368f68529a9244663c199068e95d1a1d93152fa)

24 years agoMoved tdb functions that access parse structs into parse_prs.c
Jeremy Allison [Thu, 8 Jun 2000 01:16:42 +0000 (01:16 +0000)]
Moved tdb functions that access parse structs into parse_prs.c
to prevent builkd breaking.
Jeremy.
(This used to be commit 6c7adeab0f92844ecefbcb923d0d4763d4c3eaa5)

24 years agoCause printer SD's to be displayed correctly (full control).
Jeremy Allison [Thu, 8 Jun 2000 00:17:05 +0000 (00:17 +0000)]
Cause printer SD's to be displayed correctly (full control).
Jeremy.
(This used to be commit 341d07c516865bdd9be99f98cd0754d12b25f9c0)

24 years agoFixing get/set of security descriptors.
Jeremy Allison [Wed, 7 Jun 2000 01:49:23 +0000 (01:49 +0000)]
Fixing get/set of security descriptors.
Removed ugly hack for NT printing.
Fixed up tdb parse stuff memory leaks.
Jeremy.
(This used to be commit 8ef41f31c53e14ad057d883810a1cd2301fede2a)

24 years agoMemory leak fixes.
Jeremy Allison [Tue, 6 Jun 2000 20:44:58 +0000 (20:44 +0000)]
Memory leak fixes.
Jeremy.
(This used to be commit 34b63896ab1543936d6b9b382ef6727a161b6bf2)

24 years agofixed sizeof() typo
Andrew Tridgell [Tue, 6 Jun 2000 01:53:05 +0000 (01:53 +0000)]
fixed sizeof() typo
(This used to be commit 1da9c5531a8e26dc63b31a27fa73e0932278acb4)

24 years agofixed!!
Andrew Tridgell [Tue, 6 Jun 2000 01:47:11 +0000 (01:47 +0000)]
fixed!!

yipee!

the damn "device settings cannot be displayed" error is gone. We
needed to supply a default set of forms. I've added A4 and Letter by
default.
(This used to be commit 36f1189be1609490b6a825a2608b9cf5dc682656)

24 years agoCreate elements in default, not in read.
Jeremy Allison [Tue, 6 Jun 2000 01:34:20 +0000 (01:34 +0000)]
Create elements in default, not in read.
Jeremy.
(This used to be commit 0d681ea252e0cf7fdf57d316d2bfe7caa9b4fbf5)

24 years agoSome tidyup fixes (memory leaks etc.). Still no progress with the
Jeremy Allison [Mon, 5 Jun 2000 20:55:57 +0000 (20:55 +0000)]
Some tidyup fixes (memory leaks etc.). Still no progress with the
"no driver" issue. I'm banging my head against comparitive packet
dumps right now...
Jeremy.
(This used to be commit 03cd4aa1443acd958593f37c61ff9c90a43c660b)

24 years agosimple increment bug in uniarray_2_dosarray
Andrew Tridgell [Mon, 5 Jun 2000 14:06:13 +0000 (14:06 +0000)]
simple increment bug in uniarray_2_dosarray
(This used to be commit 6506e6f47085beeaa6588a361a220ab21fc32aa6)

24 years agodon't ue nasty /proc/locks hack by default
Andrew Tridgell [Mon, 5 Jun 2000 13:54:26 +0000 (13:54 +0000)]
don't ue nasty /proc/locks hack by default
(This used to be commit 62d72dd67ba41b90fefc4308139cd488b3fcb3fa)

24 years agoadded locktest2
Andrew Tridgell [Mon, 5 Jun 2000 13:53:56 +0000 (13:53 +0000)]
added locktest2

this uses 16 open file descriptors on 2 servers, with each server
accessed both via POSIX call and SMB calls. The idea is to test
NFS/SMB locking interaction.

Unfortunately the NT NFS locking implementation is so badly broken
that we don't have anything to test against
(This used to be commit 581498fe6b2efe44c1229dd12b9a6506b11747d0)

24 years agoForgot attr entry for private dir.
Tim Potter [Mon, 5 Jun 2000 13:02:09 +0000 (13:02 +0000)]
Forgot attr entry for private dir.
(This used to be commit df690273312fd5b6f3041298bf9763948d842811)

24 years agoUpdated samba appliance example.
Tim Potter [Mon, 5 Jun 2000 12:58:47 +0000 (12:58 +0000)]
Updated samba appliance example.
(This used to be commit e42f2fc397ab195391a6f78452782efb89ebf0cf)

24 years agofixed a off by one bug in ntforms read from the database
Andrew Tridgell [Mon, 5 Jun 2000 11:45:56 +0000 (11:45 +0000)]
fixed a off by one bug in ntforms read from the database
(This used to be commit 1c5f70821981e961b81c31f5c83bb56c08ef5018)

24 years agoCopied across NT_Security documentation from 2.0
Tim Potter [Mon, 5 Jun 2000 11:35:26 +0000 (11:35 +0000)]
Copied across NT_Security documentation from 2.0
(This used to be commit 6f07da3b9146e880df3290e664a28f904ac252eb)

24 years agoSomeone wrote a man page for smbspool - how nice!
Tim Potter [Mon, 5 Jun 2000 10:44:56 +0000 (10:44 +0000)]
Someone wrote a man page for smbspool - how nice!
(This used to be commit bac7a72f47ffb8456e39ad2dedfbd22c04a03f7d)

24 years agoadded -O (use oplocks) option to locktest
Andrew Tridgell [Mon, 5 Jun 2000 09:40:58 +0000 (09:40 +0000)]
added -O (use oplocks) option to locktest
(This used to be commit 56ba49382fbdbe5672c3a72faaca21f20a53752b)

24 years agowe no longer need the code to cope with setprinter having corrupted
Andrew Tridgell [Sun, 4 Jun 2000 23:44:33 +0000 (23:44 +0000)]
we no longer need the code to cope with setprinter having corrupted
data
(This used to be commit c602b703a05b94748a890add751f47fc6b539c60)

24 years agono space was being reserved for the security descriptor in the parse
Andrew Tridgell [Sun, 4 Jun 2000 23:34:55 +0000 (23:34 +0000)]
no space was being reserved for the security descriptor in the parse
buffer
(This used to be commit 417a88fc6a8406ad4244e8cc1317cb7163b07cc0)

24 years agosec_desc_size() needs to handle a null secdesc
Andrew Tridgell [Sun, 4 Jun 2000 23:34:11 +0000 (23:34 +0000)]
sec_desc_size() needs to handle a null secdesc
(This used to be commit b152d75ea677d4025dcaaf3ae9009db0979dc402)

24 years agosome printer parameters are getting corrupted, possibly by the client
Andrew Tridgell [Sun, 4 Jun 2000 04:17:59 +0000 (04:17 +0000)]
some printer parameters are getting corrupted, possibly by the client
possibly by smbd. Reset them so printing at least works while I try to
figure out what is going on.
(This used to be commit 70476d6767a571460fa375fb1dae884df77ca143)

24 years agoadded some debug code to track down pack/unpack problems
Andrew Tridgell [Sun, 4 Jun 2000 02:29:45 +0000 (02:29 +0000)]
added some debug code to track down pack/unpack problems
(This used to be commit ac9cdab33cddcc5ab00fc21ba79f416f5a9687e7)

24 years agofixed the pack/unpack of the devicemode
Andrew Tridgell [Sun, 4 Jun 2000 02:29:00 +0000 (02:29 +0000)]
fixed the pack/unpack of the devicemode
we were being bitten by uint16/uint32 mixups
(This used to be commit 1d37f76953534f7bf9d8890dda30c7e00cbb024c)

24 years agoadded a MANGLE_DRIVER_PATH define to chooose whether we stuff with the
Andrew Tridgell [Sun, 4 Jun 2000 00:26:08 +0000 (00:26 +0000)]
added a MANGLE_DRIVER_PATH define to chooose whether we stuff with the
driver path do a rename etc.

I turned it off by default as it is causing me no end of problems. The
client will *cache* this path, and that screws things up badly as the
temp directory is no longer there when it is needed.
(This used to be commit 46f5f41c88b6ffa117d30f7702628b43dd456902)

24 years agosomeone forgot a !
Andrew Tridgell [Sun, 4 Jun 2000 00:08:50 +0000 (00:08 +0000)]
someone forgot a !
(This used to be commit 29fa2e1d99235bc15b2916c404b46012eb77b7e2)

24 years agonew protos
Andrew Tridgell [Sat, 3 Jun 2000 07:20:57 +0000 (07:20 +0000)]
new protos
(This used to be commit e00c162f72303d94854c6033c1f91a1d7b9e0a27)

24 years agofixed some ptr declarations
Andrew Tridgell [Sat, 3 Jun 2000 07:20:44 +0000 (07:20 +0000)]
fixed some ptr declarations
(This used to be commit 7a670f5f3b627543bf776fc9698a2b5d46c110a3)

24 years agomoved secrets fns into secrets.c
Andrew Tridgell [Sat, 3 Jun 2000 06:34:40 +0000 (06:34 +0000)]
moved secrets fns into secrets.c
(This used to be commit 16355a9c66a2bdab1feb8914a40bbea5272bb170)

24 years agomoved secrets fns into secrets.c
Andrew Tridgell [Sat, 3 Jun 2000 06:22:19 +0000 (06:22 +0000)]
moved secrets fns into secrets.c
(This used to be commit f890bcf06786e7c63bf76fad2fd46d287a99a270)

24 years agoadded %J and %T to run_print_command()
Andrew Tridgell [Sat, 3 Jun 2000 06:18:43 +0000 (06:18 +0000)]
added %J and %T to run_print_command()
made the run_print_command a varargs fn
(This used to be commit b9f2cf459322fb3f10844f9441633c7bcd6ed151)

24 years agomoved secrets handling into secrets.c
Andrew Tridgell [Sat, 3 Jun 2000 06:16:11 +0000 (06:16 +0000)]
moved secrets handling into secrets.c
(This used to be commit e49550b975dd407a1a8538c9885e036e400b7714)

24 years agorpc_client/cli_lsarpc.c: Removed unused variable.
Jeremy Allison [Sat, 3 Jun 2000 00:53:07 +0000 (00:53 +0000)]
rpc_client/cli_lsarpc.c: Removed unused variable.
rpc_server/srv_spoolss_nt.c: Fixed more memory leaks.
smbd/nttrans.c: Fixed shadow variable problem.
Jeremy.
(This used to be commit f0a7540831181d3a47e7f8ce8be55a36a2f2aba1)

24 years agoMore memory leak and PANIC action fixes.
Jeremy Allison [Fri, 2 Jun 2000 21:16:39 +0000 (21:16 +0000)]
More memory leak and PANIC action fixes.
This is *horrible* code :-(.
Jeremy.
(This used to be commit ac383bb765ea606fc1105aa91470fcdf453d9335)

24 years agoMore memory leak fixes.
Jeremy Allison [Fri, 2 Jun 2000 20:08:28 +0000 (20:08 +0000)]
More memory leak fixes.
Jeremy.
(This used to be commit 4e7b6b20eabe02f1ab74254607178ba35e61c9ce)

24 years agoMore memory corruption (leaks etc.) fixes.
Jeremy Allison [Fri, 2 Jun 2000 19:42:11 +0000 (19:42 +0000)]
More memory corruption (leaks etc.) fixes.
Jeremy.
(This used to be commit 71a0621f552083880e89923055e8bd14d0b1b82f)

24 years agoFixed null pointer indirect in addprinterex. Still working on problem
Jeremy Allison [Fri, 2 Jun 2000 18:38:49 +0000 (18:38 +0000)]
Fixed null pointer indirect in addprinterex. Still working on problem
with extra directory layer in NT drivers.
Jeremy.
(This used to be commit 48a80318269c832e702678237e86ba55c10444f1)

24 years agoMore insure found memory leak and corruption fixes.
Jeremy Allison [Thu, 1 Jun 2000 21:52:49 +0000 (21:52 +0000)]
More insure found memory leak and corruption fixes.
Jeremy.
(This used to be commit 3cdcfa6325b9cd2d7f7c90c4b2d1c6ec73fc2f6d)

24 years agoparam/loadparm.c: Looks like someone ran indent on this !
Jeremy Allison [Thu, 1 Jun 2000 21:00:37 +0000 (21:00 +0000)]
param/loadparm.c: Looks like someone ran indent on this !
passdb/smbpass.c: Insure uninitialized memory reference fix.
printing/nt_printing.c:
rpc_server/srv_spoolss_nt.c: Insure memory leak fixes.
smbd/unix_acls.c: Shadow ref fix.
Jeremy.
(This used to be commit d175d3ebefc053e9badd91ca5f2d8bd03eb6705d)

24 years agoBack to building. Now to test with insure.
Jeremy Allison [Thu, 1 Jun 2000 18:17:22 +0000 (18:17 +0000)]
Back to building. Now to test with insure.
Added some frees needed to stop memory leaks.
Jeremy.
(This used to be commit eba31e4e802120c9eb8c4688f521b4de9cb91f5c)

24 years agoGetting back to a compilable state (not there yet but close).
Jeremy Allison [Thu, 1 Jun 2000 17:01:34 +0000 (17:01 +0000)]
Getting back to a compilable state (not there yet but close).
Added patches for random -> sys_random.
Added set_effective_xxx patches for AFS code.
Memory allocation changes in spoolss code.
Jeremy.
(This used to be commit c2099cfb033c2cdb6035f4f7f50ce21b98e1584d)

24 years agoMore stuff I cvan't afford to lose. I'm realizing how dependent I am
Jeremy Allison [Thu, 1 Jun 2000 02:44:17 +0000 (02:44 +0000)]
More stuff I cvan't afford to lose. I'm realizing how dependent I am
on this bloody CVS link....
Jeremy.
(This used to be commit 864e7bde0e804edbb2425b9c4c7ff271553f8169)

24 years agoChanges I really don't want to lose whilst CVS is playing up.
Jeremy Allison [Thu, 1 Jun 2000 02:35:30 +0000 (02:35 +0000)]
Changes I really don't want to lose whilst CVS is playing up.
Dynamic changes to spoolss code.
Jeremy.
(This used to be commit 0a5e7a8f31c26fe80db5398a441a1969a8882845)

24 years agoChanged interface to set_nt_acl slightly.
Jeremy Allison [Wed, 31 May 2000 17:56:47 +0000 (17:56 +0000)]
Changed interface to set_nt_acl slightly.
Jeremy.
(This used to be commit 4534eae405f952d4b93e445571fc487e66a7541b)

24 years agoWorking UNIX -> NT ACL mapper.
Jeremy Allison [Wed, 31 May 2000 17:56:08 +0000 (17:56 +0000)]
Working UNIX -> NT ACL mapper.
Jeremy.
(This used to be commit f09c53f6b15e96ab1d306c044cbdcd086006c977)

24 years agoFixed interface between new ACLS and nttrans code.
Jeremy Allison [Wed, 31 May 2000 17:51:28 +0000 (17:51 +0000)]
Fixed interface between new ACLS and nttrans code.
Jeremy.
(This used to be commit 400263245b4e5344b496c5de52a659f040206798)

24 years agoThe functionality in this file has been moved into smbd/unix_acls.c in order
Jeremy Allison [Wed, 31 May 2000 17:47:39 +0000 (17:47 +0000)]
The functionality in this file has been moved into smbd/unix_acls.c in order
to make the acl functionality regular (we can have smbd/posix_acls etc).
Jeremy.
(This used to be commit 9adb9399df27c5c1d7fec04f80d49e5476200738)

24 years agospace in front of lp_preexec() causing make proto to not detect this fn.
Luke Leighton [Wed, 31 May 2000 05:42:16 +0000 (05:42 +0000)]
space in front of lp_preexec() causing make proto to not detect this fn.
(This used to be commit 3a1ebfa080fa5b26c9d0e7573cbd4bd4c239f182)

24 years agomessing about.
Luke Leighton [Wed, 31 May 2000 05:39:54 +0000 (05:39 +0000)]
messing about.
(This used to be commit 9c6f2d75d848a280f25f2377130953ecd824b7b1)

24 years agoif the tdb stored driver isn't formatted right then return a default
Andrew Tridgell [Mon, 29 May 2000 01:28:33 +0000 (01:28 +0000)]
if the tdb stored driver isn't formatted right then return a default
driver
(This used to be commit 48bf12d23ee39ccc7c19363012abd48f43dfac11)

24 years agoFixed LsaQueryInformationPolicy level 3 to return primary domain info.
Matthew Chapman [Mon, 29 May 2000 01:23:48 +0000 (01:23 +0000)]
Fixed LsaQueryInformationPolicy level 3 to return primary domain info.
Domain SID is saved in secrets.tdb upon joining domain.

Added "Authenticated Users" and "SYSTEM" well-known SIDs (under
NT Authority).
(This used to be commit 7710b4f48d3e8532df5e37f99a779758f750efdb)

24 years agofixed some more crashes
Andrew Tridgell [Mon, 29 May 2000 01:09:14 +0000 (01:09 +0000)]
fixed some more crashes
this introduces some memory leaks that I need to fix later
(This used to be commit 2170d72d508ab8fb63a1da3024395f8fd6011cfa)

24 years agodon't return a passwd struct for usernames that don't
Andrew Tridgell [Mon, 29 May 2000 01:08:18 +0000 (01:08 +0000)]
don't return a passwd struct for usernames that don't
belong to us
(This used to be commit 2740a80e30cbf512d51ba76684905a904c2fddf7)

24 years agomake proto
Luke Leighton [Mon, 29 May 2000 00:20:21 +0000 (00:20 +0000)]
make proto
(This used to be commit 62271c30f415cad71aea9edfd578f0b7ab42fb42)

24 years agomore templates.
Luke Leighton [Mon, 29 May 2000 00:15:44 +0000 (00:15 +0000)]
more templates.
(This used to be commit 4d50d3526249276e1d2eb039cb57011e7cdae867)

24 years agolp_server_role() + use in srv_reg.
Luke Leighton [Sun, 28 May 2000 23:34:34 +0000 (23:34 +0000)]
lp_server_role() + use in srv_reg.
(This used to be commit 82e47e268ca33dd7e692c5e6d0571428307b5287)

24 years agoupdated proto.h
Andrew Tridgell [Sun, 28 May 2000 23:07:50 +0000 (23:07 +0000)]
updated proto.h
(This used to be commit 9f02ed6ccf17c60386d19592fa2585987c768153)

24 years agoinit_unistr takes a const 2nd arg
Andrew Tridgell [Sun, 28 May 2000 23:07:26 +0000 (23:07 +0000)]
init_unistr takes a const 2nd arg
(ps: I hate const)
(This used to be commit 7030b7f06a8784469562562aa346d0c2918734d5)

24 years agodon't build cli_reg in rpc client library until we merge that from tng
Andrew Tridgell [Sun, 28 May 2000 23:06:43 +0000 (23:06 +0000)]
don't build cli_reg in rpc client library until we merge that from tng
(This used to be commit 0cc59cc2c63bceeda0bc6f44dc65f10f81ebda8d)

24 years agodon't free a driver structure from the stack!
Andrew Tridgell [Sun, 28 May 2000 23:00:23 +0000 (23:00 +0000)]
don't free a driver structure from the stack!
(This used to be commit d241f1dcaf612881a428dd578b97383d02a4d3c3)

24 years agofixed return error code that had 0xC with not enough zeros
Andrew Tridgell [Sun, 28 May 2000 22:59:13 +0000 (22:59 +0000)]
fixed return error code that had 0xC with not enough zeros
(This used to be commit d859de2870d6524f4ff58a059469fe65c1b37940)

24 years agofixed a couple of bugs in the driver return code
Andrew Tridgell [Sun, 28 May 2000 22:50:30 +0000 (22:50 +0000)]
fixed a couple of bugs in the driver return code
(This used to be commit 8695cb0023597fd118241a431eeeddc559484465)

24 years ago#ifdef not #if
Luke Leighton [Sun, 28 May 2000 21:21:07 +0000 (21:21 +0000)]
#ifdef not #if
(This used to be commit f0229102fe337213cd53fcb0a3d7e2ba786470b9)

24 years agomoved notif_y_table struct to spoolss_nt.c only used there.
Luke Leighton [Sun, 28 May 2000 21:01:14 +0000 (21:01 +0000)]
moved notif_y_table struct to spoolss_nt.c only used there.
#ifdef'd driver-code out with define RELIES_ON_SMBD_SPECIFIC_CODE because
spoolssd doesn't link with smbd/*.c (find_service("print$") is not
possible).
(This used to be commit 726c359d1d9f1fc8227ca920c888d2f040170e0b)

24 years agodebug output to /tmp.
Luke Leighton [Sun, 28 May 2000 20:11:04 +0000 (20:11 +0000)]
debug output to /tmp.
(This used to be commit f9077e50cba5c7c3e6cf7739888120d8cc757c7c)

24 years agomore SMBtrans, SMBnttrans stuff.
Luke Leighton [Sun, 28 May 2000 20:05:30 +0000 (20:05 +0000)]
more SMBtrans, SMBnttrans stuff.
(This used to be commit d8d15b275592e3a4e60ac502f4672672534e1fc7)

24 years agoSMBulogoffX
Luke Leighton [Sat, 27 May 2000 19:49:07 +0000 (19:49 +0000)]
SMBulogoffX
(This used to be commit c919f803434a138f48eb26f122fc09425eb24d58)

24 years agooptional (0of or 1of) with "[+]" semantics.
Luke Leighton [Sat, 27 May 2000 11:08:05 +0000 (11:08 +0000)]
optional (0of or 1of) with "[+]" semantics.
(This used to be commit 55a3e4b5922eff4110970a2ed2372c431ac70918)

24 years agoSMBntcreateX
Luke Leighton [Sat, 27 May 2000 10:34:21 +0000 (10:34 +0000)]
SMBntcreateX
(This used to be commit 7e3fe77ab25cf0bde7950e0702b7e25a82b33b18)

24 years agoSMBnttrans. modified io_uint8s to return address of actual data instead
Luke Leighton [Sat, 27 May 2000 10:18:36 +0000 (10:18 +0000)]
SMBnttrans.  modified io_uint8s to return address of actual data instead
of a copy, on unmarshalling.  removed fstring, made it io_string,
did same thing.  io_string() and io_wstring() should be wrapped in
a STRING typedef which is bit-switched on FLG2:Unicode.
(This used to be commit 7db13bd53807f65a16442d2765a9d2f7ab792b4f)

24 years agogetting and setting security descriptors on printers now works
Andrew Tridgell [Sat, 27 May 2000 09:53:11 +0000 (09:53 +0000)]
getting and setting security descriptors on printers now works

this needed some fixes in tdb_unpack(). Tim, you'll need to update
(This used to be commit 9422719ab4c35e4ce3199b62dd632433bf391283)

24 years agoprs_give_memory in wrong place, also poss. was losing mem.
Luke Leighton [Sat, 27 May 2000 09:19:57 +0000 (09:19 +0000)]
prs_give_memory in wrong place, also poss. was losing mem.
(This used to be commit 9805e17cd0ce427c329a8b5a8318d5f75227e283)

24 years agoSMBtrans response.
Luke Leighton [Sat, 27 May 2000 09:19:02 +0000 (09:19 +0000)]
SMBtrans response.
(This used to be commit cff62bb10aa8d897bf48119f959d426d9052bc23)

24 years agoSMBtrans and SMBtrans2, some of it.
Luke Leighton [Sat, 27 May 2000 08:21:59 +0000 (08:21 +0000)]
SMBtrans and SMBtrans2, some of it.
(This used to be commit 42c7f3797f50598150448be162ec0ee556287505)

24 years agofixed return from nt_printing_init()
Andrew Tridgell [Sat, 27 May 2000 07:27:21 +0000 (07:27 +0000)]
fixed return from nt_printing_init()
(This used to be commit 7e13ba75444eb82b257a7a3578aa30ae2f52fe1a)

24 years agoSMBlockingX
Luke Leighton [Sat, 27 May 2000 06:02:14 +0000 (06:02 +0000)]
SMBlockingX
(This used to be commit 9f9a9a69b6660eaa14ff3954c78f8e08ae3b0b87)

24 years agohack to get setprinter working, level2, null sec desc.
Luke Leighton [Sat, 27 May 2000 04:51:02 +0000 (04:51 +0000)]
hack to get setprinter working, level2, null sec desc.
(This used to be commit 3f976e713924a2fa47194ae3edfa3f1592e4cf1c)

24 years agofixed call of firstkey/nextkey to traverse driver database
Andrew Tridgell [Sat, 27 May 2000 03:37:05 +0000 (03:37 +0000)]
fixed call of firstkey/nextkey to traverse driver database
(This used to be commit 11010f946af4d60d88bed450692e43c6a7860ab7)

24 years agouninitialised variable "list"
Luke Leighton [Sat, 27 May 2000 03:12:06 +0000 (03:12 +0000)]
uninitialised variable "list"
(This used to be commit bf33b10a43a42c3ec5dbfdc713869c4aeb452aef)

24 years agoTIMESTAMPS ARE IRRITATING AS HELL WHEN DEBUGGING! NGGGH!!
Luke Leighton [Sat, 27 May 2000 02:49:23 +0000 (02:49 +0000)]
TIMESTAMPS ARE IRRITATING AS HELL WHEN DEBUGGING!  NGGGH!!

switched default to False, i expect someone to revert this very soon [for
security reasons],
but for now am doing this so i don't get exasperated by seeing stupid
timestamps splitting up debug output.
(This used to be commit 038dab9053c51938538f693db405ccabb0af9010)

24 years agodummy trash in secdesc.
Luke Leighton [Sat, 27 May 2000 02:27:44 +0000 (02:27 +0000)]
dummy trash in secdesc.
(This used to be commit 56c2dbbf813e1dc120d199b173fd462c658572a0)

24 years agobug-fix from tim (insure). dummy fn call for andrew to fill in.
Luke Leighton [Sat, 27 May 2000 02:15:08 +0000 (02:15 +0000)]
bug-fix from tim (insure).  dummy fn call for andrew to fill in.
(This used to be commit 1e3c0ab29d178fe58add32672301ac497d43a3fe)

24 years agounistr_to_dos not unistr_to_ascii
Luke Leighton [Sat, 27 May 2000 02:05:15 +0000 (02:05 +0000)]
unistr_to_dos not unistr_to_ascii
(This used to be commit f46c4fe876a0cabe7044ca30c17e6c217d618635)

24 years agofixed nttrans.c
Luke Leighton [Sat, 27 May 2000 01:56:26 +0000 (01:56 +0000)]
fixed nttrans.c
(This used to be commit 06cd46b0ec10b32af54edd8256d2fdbec45e1371)

24 years agosecurity descs in spoolss. needs parse_sec.c nttrans.c broken.
Luke Leighton [Sat, 27 May 2000 01:26:34 +0000 (01:26 +0000)]
security descs in spoolss.  needs parse_sec.c nttrans.c broken.
(This used to be commit f9f2a04fdb7b2af1cfe5bf26ec6f0d955ea948b9)

24 years agocifs parser.
Luke Leighton [Sat, 27 May 2000 01:21:27 +0000 (01:21 +0000)]
cifs parser.
(This used to be commit 96fd33b8982d4d7ff1eef6f2ef836381d443b143)

24 years agofixed bugs in fdpass tests
Andrew Tridgell [Sat, 27 May 2000 00:29:10 +0000 (00:29 +0000)]
fixed bugs in fdpass tests
(This used to be commit ee4f6335adb2a781eea7e1f6b520d79ea1197427)

24 years agomove srandom to after connect so random stuff in clientgen doesn't
Andrew Tridgell [Sat, 27 May 2000 00:28:02 +0000 (00:28 +0000)]
move srandom to after connect so random stuff in clientgen doesn't
change seed
(This used to be commit d9322d01e0ac09852924eb6059ecf116e75ee398)

24 years agoFixed memory leak in RPC parsing code.
Shirish Kalele [Fri, 26 May 2000 22:37:08 +0000 (22:37 +0000)]
Fixed memory leak in RPC parsing code.
Problem in prs_set_buffer_size() was Realloc returns a NULL when newsize is zero (equivalent to a free()). We were returning a failure here without resetting the buffer_size or the data_p pointer in the prs_struct. And we weren't checking for a failure from prs_set_buffer_size(). So realloc's to zero size were not reflected in the prs_struct: memory leak.
(This used to be commit 590d9ece8449b1feecfe1aa13e61bcd8fea4e5bf)

24 years agoCompile time warning fixes and a time_t -> uint32 conversion fix.
Jeremy Allison [Fri, 26 May 2000 20:54:46 +0000 (20:54 +0000)]
Compile time warning fixes and a time_t -> uint32 conversion fix.
Jeremy.
(This used to be commit 80a0079b2f993159ef35b02ba5c70ce9d8096879)

24 years agoFixed last remaining instance of MS_DFS to WITH_MSDFS.
Tim Potter [Fri, 26 May 2000 18:44:40 +0000 (18:44 +0000)]
Fixed last remaining instance of MS_DFS to WITH_MSDFS.
(This used to be commit d4e2e595661857f40a40ce32a1b6dc4725e6c3b3)

24 years agoChanged MS_DFS to WITH_MSDFS throughout.
Shirish Kalele [Fri, 26 May 2000 17:10:40 +0000 (17:10 +0000)]
Changed MS_DFS to WITH_MSDFS throughout.
Fixed trans2 calls on IPC$ to let dfs referral calls through.
(This used to be commit e0965a80bdca5239886b11ef55dc29fed261bfc0)

24 years agoFixed misunderstanding found during CIFS conference. Overlapping lock
Jeremy Allison [Thu, 25 May 2000 20:05:50 +0000 (20:05 +0000)]
Fixed misunderstanding found during CIFS conference. Overlapping lock
ranges (not just included lock ranges) should be handled correctly.
UNIT test still needed.
Jeremy.
(This used to be commit 07872298e3ee8b4b50b69cb4e49b88635792128e)

24 years agominor fixes
Andrew Tridgell [Wed, 24 May 2000 21:11:34 +0000 (21:11 +0000)]
minor fixes
(This used to be commit 4d00314ec5b056101b05c38cc68dd4934c83c825)

24 years ago2nd evil simultaneous read-write test. forks. one writer. others
Luke Leighton [Wed, 24 May 2000 07:29:45 +0000 (07:29 +0000)]
2nd evil simultaneous read-write test.  forks.  one writer.  others
are readers.  writes between 1 and 20 bytes.  reads as much as possible.
compares.  repeat until end of buffer (fixed size: 131072 bytes) reached.
(This used to be commit 26f51a7abbfa9bd9051969dffaebe3cdf9e93c8f)

24 years agoremoved lp_revalidate()
Andrew Tridgell [Wed, 24 May 2000 07:21:22 +0000 (07:21 +0000)]
removed lp_revalidate()
(This used to be commit fba5886a05ba64b4633d4a9f3e5cb0687fb4b20d)