summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2000-09-11Fixed memory leaks found in enumprinterdrivers code.Jeremy Allison2-8/+11
Jeremy. (This used to be commit e08b521559a824da09b0b73a04e462c573c42b06)
2000-09-11Fix for malloc of zero bytes found by insure.Jeremy Allison1-0/+5
Jeremy. (This used to be commit 2916790859acc56e582056774b02d4a33cedeaa4)
2000-09-11debug messages now work for nmbdAndrew Tridgell2-82/+79
(This used to be commit 6a503f95b10f6661b089f30f2b5ffebead32685c)
2000-09-11a simple test program I use to test the debug message systemAndrew Tridgell1-0/+63
(This used to be commit db1ec05f89071cd1ae4b190dda843b38e2d97cef)
2000-09-11the first cut of the internal messaging system.Andrew Tridgell12-101/+306
The motivation for this system is to replace the UDP message for oplocks, but this commit only does the "set debug level" message. (This used to be commit 2a34ee95f3929cff131db6c5a2b4820194c05b2d)
2000-09-09Implemented DELETEPRINTERDATA (tested with Gerald's Win32 progs).Jeremy Allison5-6/+137
Jeremy. (This used to be commit fb48efaf830626f6ef05b88f5f8a74b932ceb257)
2000-09-08Fixed up get_a_printer_driver_3 so it looks in the tdb using the correctJeremy Allison1-0/+11
key name for a driver info. Version needs to be adjusted in the same way that it is adjusted when the driver info is stored in the tdb. AddPrinterConnection() Win32 call caught this one. Jeremy. (This used to be commit 54cab7dd3b7c1ad3a01692447f80134518772486)
2000-09-08Fixed typo where docname was being checked for datatype - was causingJeremy Allison1-1/+1
STARTDOCPRINTER call to fail. I *love* Gerald's test code :-). Jeremy. (This used to be commit 43192370f31c7cc71d1f72449a067573adad3ebc)
2000-09-08Win32 API is explicit that EnumPrinterData returns ERROR_MORE_DATA notJeremy Allison2-1/+2
ERROR_INSUFICIENT_BUFFER when working out what space is needed. This fix gives us the same return that WinNT does. Jeremy. (This used to be commit a87f6277b1faa1ea492f31add4ce33556bdf3695)
2000-09-07Fixed the printerdata code to return NO_MORE_ITEMS if a size is requestedJeremy Allison1-1/+20
and the parameter index doesn't exist. I think this code can be simplified considerably, but JF needs to check to be sure. Jeremy. (This used to be commit 4d792e6bcb7bef640c2c4e3054ed8839d8fc86f4)
2000-09-07Added code to return NO_MORE_ENTRIES when trying to determineJeremy Allison1-0/+12
size using "NT mega hack". I think this is the correct thing to do but JF should also examine the. Jeremy. (This used to be commit 29ba3a2cdf7f6fbcf0be41b75d76c04007cd4651)
2000-09-07Hopefully this should fix the primary group permission problem.Tim Potter1-2/+0
(This used to be commit 2f33ec41ac1d3243340455b6c3a6cea22d267f14)
2000-09-06Temporary fix to convert from level6 (Win2k) to level 3 (NT4)Jeremy Allison1-1/+28
for driver download files. Jeremy. (This used to be commit 1c9ac94c941aac5f6d309a094e4f741d523dbfb0)
2000-09-06Fix from John Reilly for double free of printer struct.Jeremy Allison1-3/+4
Jeremy. (This used to be commit c15b7e41e170ced4e4de2e08f6fba860f51e66ac)
2000-09-06Fix for the SID history problem when using a Win2k domain controllerJeremy Allison6-30/+76
with security=domain. Also fixed to dynamically allocate the SIDs and GIDs. Jeremy. (This used to be commit 2b1f66eb82f05fe0b85ac5b4916e32847b8de675)
2000-09-05Implemented GETFORM tested and working using Gerald's Win32 test progs....Jeremy Allison5-4/+180
Jeremy. (This used to be commit 55ed0a9b0c91159c0fc4282c2171d9ced74a302a)
2000-09-01Changes from APPLIANCE_HEAD (per Tim Potter):David O'Neill10-64/+222
- make proto - addition of function to convert from errno values to NT status codes (source/lib/error.c) - purge queue done without full access permission will purge only the jobs owned by that user, rather than failing. - unlock job database tdb before sending job to printer - in print_job_start(), ensure that we don't pick a jobid with an existing temporary file that may be owned by another user, as it causes silent failures. - fixes for printer permission checking for NT5 clients (source/include/rpc_spoolss.h, source/printing/nt_printing.c, source/printing/printing.c, source/rpc_server/srv_spoolss_nt.c) - change from uint8 to 'enum SID_NAME_USE' (source/rpc_server/srv_lsa.c) - fixed memory leaks for win95 driver download process (source/smbd/lanman.c) - properly free prs_structs and dacl in testsuite/printing/psec.c (This used to be commit 74af3e2caec7197e5d1ca389e2f78054a4197502)
2000-09-01Fix from John Reilly @ HP for my typo with the parameters being reversed. Ooops.Jeremy Allison1-3/+3
Jeremy. (This used to be commit 8317d70a35086c5539e67d60cbcf937b6ce0932c)
2000-09-01-U% should be an anonymous connection. Fixed bug whereGerald Carter1-1/+2
the password was being set to "" instead of NULL. ..and yes Elrond, I'll merge this into TNG. P jerry (This used to be commit cc611ecc674832f7e7390b5e7ad6648c9d622e9e)
2000-09-01Fix for swat to return correct MIME type for text files. From "RonTim Potter1-0/+2
Alexander" <rcalex@home.com> (This used to be commit 061e5e50523913a26bc86bd816c4e26a37a832c7)
2000-08-31Implemented DELETEFORM tested using Gerald's Win32 test code :-).Jeremy Allison6-3/+152
Jeremy. (This used to be commit 596c21a2af0309ce43a5e52a343a671036d05ebf)
2000-08-31make sure a couple of variables are initialisedAndrew Tridgell1-2/+2
(This used to be commit 155c7c37398f5f9457ea249ded74f425b90ac9a0)
2000-08-31fixed "admin users" option with new security codeAndrew Tridgell1-0/+5
(This used to be commit b69c5de6bad9fad3aed1280e7d12fbfed276a16f)
2000-08-31Removed compiler warning.Tim Potter1-5/+5
(This used to be commit 2d23607bb0fe3d93809b3a194f9976b01ece8768)
2000-08-30Fixed overrun write error when using debuglevel > 50.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 3d9b163655f684f2b98aa72f976379cee869db05)
2000-08-30Fixed error returns for moving printer driver files around so genericJeremy Allison3-11/+22
"Access denied" isn't always returned. More fixes found using Gerald's wonderful Win32 test progs :-). Jeremy. (This used to be commit 67b9d40e3df19523714430cb4457717575f2a61e)
2000-08-30Added vfs_unlink call to ensure vfs is used on unlink from client.Jeremy Allison3-2/+12
Jeremy. (This used to be commit 38fc56c8434c427335cf264c4b27420c5ad47566)
2000-08-30Fix for bind interfaces only sometimes picking the wrong IP addressJeremy Allison1-2/+24
for a name query. From Steve Langasek <vorlon@netexpress.net>. Jeremy. (This used to be commit 9890740121ae7bd7a0196bbf946c6f8c82aa7f6e)
2000-08-30Implemented AbortPrinter() from Gerald's Win32 test code. Just purge allJeremy Allison8-13/+112
possible printjobs from that printer (I think this is correct). Added error code returns for print_queue_XXX() functions. Jeremy. (This used to be commit 6d081a9017f87f59b7189ba507e211db01c40af5)
2000-08-29missed removing the static declaration of strwicmp()Gerald Carter1-1/+0
jerry (This used to be commit d09d8a3f4b32c1b4467dff5f2284e382163b7f09)
2000-08-29make protoGerald Carter1-0/+2
(This used to be commit d59623dd92aac7de73d27dd6c64df57bfd0d4010)
2000-08-29added -P (for no prompt) and -A <authfile> optionsGerald Carter3-33/+103
jerry (This used to be commit 2d95c38f7e65a0379cbaadd57b8eb41d830b5a6b)
2000-08-29added a #define for SPOOLSSGETPRINTERDATAEX. Although we do notGerald Carter1-0/+1
support the RPC yte (win2k specific), I added it for documentation purposes. jerry (This used to be commit 41bf13341127b1c58105ca9a59fd686c15746164)
2000-08-29fixed previous bug spotted by Elrond in get_printerdrivernumber().Gerald Carter1-16/+17
Thought I had already committed this. jerry (This used to be commit 2ceb704c3d06a92b97ba67ac82c007a7ba084b75)
2000-08-29added -A <authfile> option to smbclient for the reading of username /Gerald Carter1-9/+71
password credentials from a file. --jerry (This used to be commit e2915009031d63f43cc11c36dac2dfe6c780b5f0)
2000-08-29needed to use strwicmp() in smbclient code, so I moved it to util_str.cGerald Carter2-31/+30
and made it non-static --jerry (This used to be commit dfdca21bd90b9c83f195d580ec9d774f1be8f9cb)
2000-08-29make rpcclent by default.Gerald Carter1-1/+1
--jerry (This used to be commit e89117f418c9c1a1b4f2e9d708030369d801a01c)
2000-08-29added the -A <authfile> option for allowing the reading of userGerald Carter3-213/+265
name and password credentials from a file. Designed for use when needed to passwd credentials between scripts --jerry (This used to be commit d8dde169e729ad5229d2bda8c9f306edb3c1239b)
2000-08-29first draft at rpcclient man page for HEAD branch. Taken heavilyGerald Carter3-0/+744
from the man page in TNG. Updated for newer spoolss commands. jerry (This used to be commit 0202f7e249a3988f94ab38706e6f6224148868bb)
2000-08-29This doesn't compile but is a placeholder for moving the UNIXJeremy Allison1-0/+618
acl code over to POSIX acls. Jeremy. (This used to be commit a2829febe12513d26534c4977c2f41f480f4fa0e)
2000-08-28smbd/password.c: Fixed typo in Tim's new code that caused insure overrun error.Jeremy Allison2-3/+2
smbd/reply.c: Fixed lowercasing UNIX character set problem. Jeremy. (This used to be commit 2b6e3ed7a6447d40d9dd7e9b5c286b1aabe4730d)
2000-08-28added a little description of useage and output format since this givesHerb Lewis1-1/+27
more info than just what parameters are not supported by SWAT. (This used to be commit 7db533cb47a0d9bc88219dbe48e96ceed45a65a1)
2000-08-28fixed typos spotted by Ron Alexander <rcalex@home.com>Gerald Carter2-2/+2
--jerry (This used to be commit 9fbcede92f558fdcda257338798613cffa4e2cb6)
2000-08-28script written by herb for reporting which smb.conf parametersGerald Carter1-0/+96
are in loarparm.c but not supported by SWAT. I just thought it looked fun. :-) --jerry (This used to be commit eb20a2c6f478688b82ce8346fea618aebbfc9295)
2000-08-28Merge bug - still getting used to dirdiff.Tim Potter1-1/+0
(This used to be commit cb717b4a2bb55eb2ff008e59203ebfeac6c5ab9f)
2000-08-28Oops - missed a file.Tim Potter1-0/+42
(This used to be commit 5aed84b74981a4f4fcc4d466ef03178eff22ba85)
2000-08-28Merge from appliance branch.Tim Potter3-0/+12
(This used to be commit 567b0095b1b8393b3b1e32533aa2860ab3dbfa47)
2000-08-28yipee!Andrew Tridgell5-6/+24
The spoolss AddJob function has an [in,out] buffer not an [in] buffer (despite the comment in the code to the contrary). Also, we must fail this function - not just blindly reply "no problem" as AddJob should always fail on non-local printers. This fixes a bug where the "print test page" failed about half the time. I suspect it will also fix a bunch of other intermittent spoolss bugs where the client (incorrectly) tries to use the AddJob printing interface. (This used to be commit 14e534a8907c34b53e00a63756efd71903ff9432)
2000-08-28made reopen_logs() always re-open logs, not try and be smart about notAndrew Tridgell1-37/+34
re-opening in some circumstances. This fixes a problem where a HUP does not re-open logs and leaves the log open on a unlinked file. (This used to be commit f99f028c77482e591741df2a3da7f036f7409a68)
2000-08-28arrgh.Andrew Tridgell1-0/+4
whoever added "auto" parameters in loadparam only supported "True", "False" and "Auto", and did not support "Yes" and "No" like booleans. This means anyone using "preferred master = yes" didn't get what they expected! (This used to be commit 311a4dfb9a9a39a54dcb47d83e1604ad7461dce4)