summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Added a gew more mods by Patrick Powell (lprng guy)Gerald Carter2000-09-141-5/+22
| | | | | jerry (This used to be commit d675a6bd147e974c7970310ba8af9032f8bba1c7)
* First draft of new printing doc describing the SPOOLSS support in theGerald Carter2000-09-141-0/+290
| | | | | | | | | | | upcoming 2.2.0 release. Needs some other eyes to review it. :-) jerry (This used to be commit c9a76a2e10fd14fc1c63184afcda986163912b06)
* Ensure old DACL and SACL are preserved if the new SD is a 'set' only.Jeremy Allison2000-09-131-2/+11
| | | | | Jeremy. (This used to be commit 29f41d0d95661fbc31ae1d9669fd7fb439169f90)
* Added SIGHUP when printer deleted as well as added.Jeremy Allison2000-09-131-0/+3
| | | | | Jeremy. (This used to be commit 79c94f37d0434150d84858e67c8677650106d76c)
* don't show equivalent enum options in swatAndrew Tridgell2000-09-131-5/+8
| | | | (This used to be commit 52074960971995580a03647ac5c638043eb8f5e1)
* first cut at smbcontrol program. It currently allows syntax like:Andrew Tridgell2000-09-135-18/+209
| | | | | | | | smbcontrol nmbd debug 7 smbcontrol smbd debug 9 smbcontrol 3278 debug 1 smbcontrol nmbd force-election (This used to be commit 5f91c24636f5d82486f22c10bc55e060f9c518bf)
* When creating a print job entry for the printing backend, use the WindowsTim Potter2000-09-131-11/+21
| | | | | | | username rather than the Unix username. The Windows username will then be shown in the port monitor regardless of the Unix username used to spool the job. (This used to be commit a15e610bb34636448cb30e590277c53e7f9efe1a)
* Added time check test before allowing print job.Jeremy Allison2000-09-132-1/+13
| | | | | Jeremy. (This used to be commit 0249de4cd91d72efb344e9fb05e2be2cb3f03945)
* Added missing break statement for manage documents check inTim Potter2000-09-131-1/+3
| | | | | print_access_check() function. (This used to be commit 318ead783c842f2a557207690afd522b3d28e077)
* Updated manual pages to point at http://lists.samba.org instead of oldTim Potter2000-09-126-81/+60
| | | | | listproc address. (This used to be commit 0d7f81633157d6028a47488020862fe24a648546)
* Fix for enumjobs infor level 2 which caused smbd to coredump.Jeremy Allison2000-09-121-0/+1
| | | | | | Uninitialized element in struct. Jeremy. (This used to be commit 9e1fbb0c2f1d2ad0c907f1e902e44ea7af214b57)
* Fixed error return when printer is PAUSED - should be returning "Pause".Jeremy Allison2000-09-121-1/+1
| | | | | Jeremy. (This used to be commit 41d03a118c9981fc2159f37cd5ed4684e1d36037)
* With John Reilly help tracking it down - fixed a *nasty* bug whenJeremy Allison2000-09-121-1/+0
| | | | | | | | | | | | | | | | authorising logins. If a user connected to a share as guest, then the snum was getting flagged as "force guest", meaning that all subsequent connections to it, even under a different vuid, would be bounced to guest. This explains several very hard to reproduce access denied bugs, and as the NT client also has bugs in that it will sometimes erroneously use guest instead of the correct vuid on an IPC$ connection lead to a *very* hard problem to find. This fix should be propagated into all branches (TNG/Applience take note) and I'll also make a separate patch availalble on the samba-technical list. Jeremy. (This used to be commit 0264fdafe909cf9e995df3ae7b64bedbe0b4e8a1)
* spoolgetprinterdriver now returns "Windows NT x86" and "Windows 4.0"Gerald Carter2000-09-123-3/+11
| | | | | | | | | | | driver information. Will merge into TNG. jerry (This used to be commit ae7dd77c2495d5e17f6e8da94afbe8cab3e773bb)
* fixed a race in the pipe() setup in sys_select()Andrew Tridgell2000-09-121-1/+1
| | | | (This used to be commit bb0f769272d8a8bd527053746b468bca797e1663)
* - fixed some memory leaks in the messages codeAndrew Tridgell2000-09-123-4/+50
| | | | | - added a MSG_PING message for performance testing. (This used to be commit e779f834dbb875669c3aa0a35b324aa13f0c8c36)
* - changed the msg_type to be an int instead of an enum so that it isAndrew Tridgell2000-09-128-34/+56
| | | | | | | | easier to add new message types to messages.h without breaking old binaries - added a MSG_FORCE_ELECTION message to force nmbd to hold an election (This used to be commit f1c49ca7ce56bc39259041a71479e84ebf53eeca)
* we should not lowercase the username we receive inAndrew Tridgell2000-09-121-2/+0
| | | | | | | | reply_sesssetup_and_X(). The getpwnam() wrapper handles the case munging operations later. this fixes a problem with mixed case usernames. (This used to be commit 2ebfdd21b3123d7daefeeed4dae6e8bc3a7a7653)
* much nicer message interface. We now register dispatch functions,Andrew Tridgell2000-09-123-28/+66
| | | | | | | | | | allowing new bits of code or vfs modules to register functions without impacting on the messaging code itself. Also note that multiple registrations for the same message type are possible allowing the same message to be delivered to multiple parts of the code (possibly useful for reload messages). (This used to be commit c3350c77f52cade48d2945574e09cb630af85b92)
* Fixed memory leaks found in enumprinterdrivers code.Jeremy Allison2000-09-112-8/+11
| | | | | Jeremy. (This used to be commit e08b521559a824da09b0b73a04e462c573c42b06)
* Fix for malloc of zero bytes found by insure.Jeremy Allison2000-09-111-0/+5
| | | | | Jeremy. (This used to be commit 2916790859acc56e582056774b02d4a33cedeaa4)
* debug messages now work for nmbdAndrew Tridgell2000-09-112-82/+79
| | | | (This used to be commit 6a503f95b10f6661b089f30f2b5ffebead32685c)
* a simple test program I use to test the debug message systemAndrew Tridgell2000-09-111-0/+63
| | | | (This used to be commit db1ec05f89071cd1ae4b190dda843b38e2d97cef)
* the first cut of the internal messaging system.Andrew Tridgell2000-09-1112-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)
* Implemented DELETEPRINTERDATA (tested with Gerald's Win32 progs).Jeremy Allison2000-09-095-6/+137
| | | | | Jeremy. (This used to be commit fb48efaf830626f6ef05b88f5f8a74b932ceb257)
* Fixed up get_a_printer_driver_3 so it looks in the tdb using the correctJeremy Allison2000-09-081-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)
* Fixed typo where docname was being checked for datatype - was causingJeremy Allison2000-09-081-1/+1
| | | | | | STARTDOCPRINTER call to fail. I *love* Gerald's test code :-). Jeremy. (This used to be commit 43192370f31c7cc71d1f72449a067573adad3ebc)
* Win32 API is explicit that EnumPrinterData returns ERROR_MORE_DATA notJeremy Allison2000-09-082-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)
* Fixed the printerdata code to return NO_MORE_ITEMS if a size is requestedJeremy Allison2000-09-071-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)
* Added code to return NO_MORE_ENTRIES when trying to determineJeremy Allison2000-09-071-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)
* Hopefully this should fix the primary group permission problem.Tim Potter2000-09-071-2/+0
| | | | (This used to be commit 2f33ec41ac1d3243340455b6c3a6cea22d267f14)
* Temporary fix to convert from level6 (Win2k) to level 3 (NT4)Jeremy Allison2000-09-061-1/+28
| | | | | | for driver download files. Jeremy. (This used to be commit 1c9ac94c941aac5f6d309a094e4f741d523dbfb0)
* Fix from John Reilly for double free of printer struct.Jeremy Allison2000-09-061-3/+4
| | | | | Jeremy. (This used to be commit c15b7e41e170ced4e4de2e08f6fba860f51e66ac)
* Fix for the SID history problem when using a Win2k domain controllerJeremy Allison2000-09-066-30/+76
| | | | | | with security=domain. Also fixed to dynamically allocate the SIDs and GIDs. Jeremy. (This used to be commit 2b1f66eb82f05fe0b85ac5b4916e32847b8de675)
* Implemented GETFORM tested and working using Gerald's Win32 test progs....Jeremy Allison2000-09-055-4/+180
| | | | | Jeremy. (This used to be commit 55ed0a9b0c91159c0fc4282c2171d9ced74a302a)
* Changes from APPLIANCE_HEAD (per Tim Potter):David O'Neill2000-09-0110-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)
* Fix from John Reilly @ HP for my typo with the parameters being reversed. Ooops.Jeremy Allison2000-09-011-3/+3
| | | | | Jeremy. (This used to be commit 8317d70a35086c5539e67d60cbcf937b6ce0932c)
* -U% should be an anonymous connection. Fixed bug whereGerald Carter2000-09-011-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)
* Fix for swat to return correct MIME type for text files. From "RonTim Potter2000-09-011-0/+2
| | | | | Alexander" <rcalex@home.com> (This used to be commit 061e5e50523913a26bc86bd816c4e26a37a832c7)
* Implemented DELETEFORM tested using Gerald's Win32 test code :-).Jeremy Allison2000-08-316-3/+152
| | | | | Jeremy. (This used to be commit 596c21a2af0309ce43a5e52a343a671036d05ebf)
* make sure a couple of variables are initialisedAndrew Tridgell2000-08-311-2/+2
| | | | (This used to be commit 155c7c37398f5f9457ea249ded74f425b90ac9a0)
* fixed "admin users" option with new security codeAndrew Tridgell2000-08-311-0/+5
| | | | (This used to be commit b69c5de6bad9fad3aed1280e7d12fbfed276a16f)
* Removed compiler warning.Tim Potter2000-08-311-5/+5
| | | | (This used to be commit 2d23607bb0fe3d93809b3a194f9976b01ece8768)
* Fixed overrun write error when using debuglevel > 50.Jeremy Allison2000-08-301-1/+1
| | | | | Jeremy. (This used to be commit 3d9b163655f684f2b98aa72f976379cee869db05)
* Fixed error returns for moving printer driver files around so genericJeremy Allison2000-08-303-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)
* Added vfs_unlink call to ensure vfs is used on unlink from client.Jeremy Allison2000-08-303-2/+12
| | | | | Jeremy. (This used to be commit 38fc56c8434c427335cf264c4b27420c5ad47566)
* Fix for bind interfaces only sometimes picking the wrong IP addressJeremy Allison2000-08-301-2/+24
| | | | | | for a name query. From Steve Langasek <vorlon@netexpress.net>. Jeremy. (This used to be commit 9890740121ae7bd7a0196bbf946c6f8c82aa7f6e)
* Implemented AbortPrinter() from Gerald's Win32 test code. Just purge allJeremy Allison2000-08-308-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)
* missed removing the static declaration of strwicmp()Gerald Carter2000-08-291-1/+0
| | | | | jerry (This used to be commit d09d8a3f4b32c1b4467dff5f2284e382163b7f09)
* make protoGerald Carter2000-08-291-0/+2
| | | | (This used to be commit d59623dd92aac7de73d27dd6c64df57bfd0d4010)