summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Added missing break statement for manage documents check inTim Potter2000-09-131-1/+3
| | | | print_access_check() function.
* Updated manual pages to point at http://lists.samba.org instead of oldTim Potter2000-09-126-81/+60
| | | | listproc address.
* Fix for enumjobs infor level 2 which caused smbd to coredump.Jeremy Allison2000-09-121-0/+1
| | | | | Uninitialized element in struct. Jeremy.
* Fixed error return when printer is PAUSED - should be returning "Pause".Jeremy Allison2000-09-121-1/+1
| | | | Jeremy.
* 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.
* spoolgetprinterdriver now returns "Windows NT x86" and "Windows 4.0"Gerald Carter2000-09-123-3/+11
| | | | | | | | | | driver information. Will merge into TNG. jerry
* fixed a race in the pipe() setup in sys_select()Andrew Tridgell2000-09-121-1/+1
|
* - fixed some memory leaks in the messages codeAndrew Tridgell2000-09-123-4/+50
| | | | - added a MSG_PING message for performance testing.
* - 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
* 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.
* 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).
* Fixed memory leaks found in enumprinterdrivers code.Jeremy Allison2000-09-112-8/+11
| | | | Jeremy.
* Fix for malloc of zero bytes found by insure.Jeremy Allison2000-09-111-0/+5
| | | | Jeremy.
* debug messages now work for nmbdAndrew Tridgell2000-09-112-82/+79
|
* a simple test program I use to test the debug message systemAndrew Tridgell2000-09-111-0/+63
|
* 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.
* Implemented DELETEPRINTERDATA (tested with Gerald's Win32 progs).Jeremy Allison2000-09-095-6/+137
| | | | Jeremy.
* 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.
* 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.
* 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.
* 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.
* 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.
* Hopefully this should fix the primary group permission problem.Tim Potter2000-09-071-2/+0
|
* Temporary fix to convert from level6 (Win2k) to level 3 (NT4)Jeremy Allison2000-09-061-1/+28
| | | | | for driver download files. Jeremy.
* Fix from John Reilly for double free of printer struct.Jeremy Allison2000-09-061-3/+4
| | | | Jeremy.
* 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.
* Implemented GETFORM tested and working using Gerald's Win32 test progs....Jeremy Allison2000-09-055-4/+180
| | | | Jeremy.
* 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
* Fix from John Reilly @ HP for my typo with the parameters being reversed. Ooops.Jeremy Allison2000-09-011-3/+3
| | | | Jeremy.
* -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
* Fix for swat to return correct MIME type for text files. From "RonTim Potter2000-09-011-0/+2
| | | | Alexander" <rcalex@home.com>
* Implemented DELETEFORM tested using Gerald's Win32 test code :-).Jeremy Allison2000-08-316-3/+152
| | | | Jeremy.
* make sure a couple of variables are initialisedAndrew Tridgell2000-08-311-2/+2
|
* fixed "admin users" option with new security codeAndrew Tridgell2000-08-311-0/+5
|
* Removed compiler warning.Tim Potter2000-08-311-5/+5
|
* Fixed overrun write error when using debuglevel > 50.Jeremy Allison2000-08-301-1/+1
| | | | Jeremy.
* 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.
* Added vfs_unlink call to ensure vfs is used on unlink from client.Jeremy Allison2000-08-303-2/+12
| | | | Jeremy.
* 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.
* 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.
* missed removing the static declaration of strwicmp()Gerald Carter2000-08-291-1/+0
| | | | jerry
* make protoGerald Carter2000-08-291-0/+2
|
* added -P (for no prompt) and -A <authfile> optionsGerald Carter2000-08-293-33/+103
| | | | jerry
* added a #define for SPOOLSSGETPRINTERDATAEX. Although we do notGerald Carter2000-08-291-0/+1
| | | | | | | | | support the RPC yte (win2k specific), I added it for documentation purposes. jerry
* fixed previous bug spotted by Elrond in get_printerdrivernumber().Gerald Carter2000-08-291-16/+17
| | | | | | | | | | Thought I had already committed this. jerry
* added -A <authfile> option to smbclient for the reading of username /Gerald Carter2000-08-291-9/+71
| | | | | | | | password credentials from a file. --jerry
* needed to use strwicmp() in smbclient code, so I moved it to util_str.cGerald Carter2000-08-292-31/+30
| | | | | | | | and made it non-static --jerry
* make rpcclent by default.Gerald Carter2000-08-291-1/+1
| | | | --jerry
* added the -A <authfile> option for allowing the reading of userGerald Carter2000-08-293-213/+265
| | | | | | | | name and password credentials from a file. Designed for use when needed to passwd credentials between scripts --jerry
* first draft at rpcclient man page for HEAD branch. Taken heavilyGerald Carter2000-08-293-0/+744
| | | | | | | | from the man page in TNG. Updated for newer spoolss commands. jerry