Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Added missing break statement for manage documents check in | Tim Potter | 2000-09-13 | 1 | -1/+3 | |
| | | | | print_access_check() function. | |||||
* | Updated manual pages to point at http://lists.samba.org instead of old | Tim Potter | 2000-09-12 | 6 | -81/+60 | |
| | | | | listproc address. | |||||
* | Fix for enumjobs infor level 2 which caused smbd to coredump. | Jeremy Allison | 2000-09-12 | 1 | -0/+1 | |
| | | | | | Uninitialized element in struct. Jeremy. | |||||
* | Fixed error return when printer is PAUSED - should be returning "Pause". | Jeremy Allison | 2000-09-12 | 1 | -1/+1 | |
| | | | | Jeremy. | |||||
* | With John Reilly help tracking it down - fixed a *nasty* bug when | Jeremy Allison | 2000-09-12 | 1 | -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 Carter | 2000-09-12 | 3 | -3/+11 | |
| | | | | | | | | | | driver information. Will merge into TNG. jerry | |||||
* | fixed a race in the pipe() setup in sys_select() | Andrew Tridgell | 2000-09-12 | 1 | -1/+1 | |
| | ||||||
* | - fixed some memory leaks in the messages code | Andrew Tridgell | 2000-09-12 | 3 | -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 is | Andrew Tridgell | 2000-09-12 | 8 | -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 in | Andrew Tridgell | 2000-09-12 | 1 | -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 Tridgell | 2000-09-12 | 3 | -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 Allison | 2000-09-11 | 2 | -8/+11 | |
| | | | | Jeremy. | |||||
* | Fix for malloc of zero bytes found by insure. | Jeremy Allison | 2000-09-11 | 1 | -0/+5 | |
| | | | | Jeremy. | |||||
* | debug messages now work for nmbd | Andrew Tridgell | 2000-09-11 | 2 | -82/+79 | |
| | ||||||
* | a simple test program I use to test the debug message system | Andrew Tridgell | 2000-09-11 | 1 | -0/+63 | |
| | ||||||
* | the first cut of the internal messaging system. | Andrew Tridgell | 2000-09-11 | 12 | -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 Allison | 2000-09-09 | 5 | -6/+137 | |
| | | | | Jeremy. | |||||
* | Fixed up get_a_printer_driver_3 so it looks in the tdb using the correct | Jeremy Allison | 2000-09-08 | 1 | -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 causing | Jeremy Allison | 2000-09-08 | 1 | -1/+1 | |
| | | | | | STARTDOCPRINTER call to fail. I *love* Gerald's test code :-). Jeremy. | |||||
* | Win32 API is explicit that EnumPrinterData returns ERROR_MORE_DATA not | Jeremy Allison | 2000-09-08 | 2 | -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 requested | Jeremy Allison | 2000-09-07 | 1 | -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 determine | Jeremy Allison | 2000-09-07 | 1 | -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 Potter | 2000-09-07 | 1 | -2/+0 | |
| | ||||||
* | Temporary fix to convert from level6 (Win2k) to level 3 (NT4) | Jeremy Allison | 2000-09-06 | 1 | -1/+28 | |
| | | | | | for driver download files. Jeremy. | |||||
* | Fix from John Reilly for double free of printer struct. | Jeremy Allison | 2000-09-06 | 1 | -3/+4 | |
| | | | | Jeremy. | |||||
* | Fix for the SID history problem when using a Win2k domain controller | Jeremy Allison | 2000-09-06 | 6 | -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 Allison | 2000-09-05 | 5 | -4/+180 | |
| | | | | Jeremy. | |||||
* | Changes from APPLIANCE_HEAD (per Tim Potter): | David O'Neill | 2000-09-01 | 10 | -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 Allison | 2000-09-01 | 1 | -3/+3 | |
| | | | | Jeremy. | |||||
* | -U% should be an anonymous connection. Fixed bug where | Gerald Carter | 2000-09-01 | 1 | -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 "Ron | Tim Potter | 2000-09-01 | 1 | -0/+2 | |
| | | | | Alexander" <rcalex@home.com> | |||||
* | Implemented DELETEFORM tested using Gerald's Win32 test code :-). | Jeremy Allison | 2000-08-31 | 6 | -3/+152 | |
| | | | | Jeremy. | |||||
* | make sure a couple of variables are initialised | Andrew Tridgell | 2000-08-31 | 1 | -2/+2 | |
| | ||||||
* | fixed "admin users" option with new security code | Andrew Tridgell | 2000-08-31 | 1 | -0/+5 | |
| | ||||||
* | Removed compiler warning. | Tim Potter | 2000-08-31 | 1 | -5/+5 | |
| | ||||||
* | Fixed overrun write error when using debuglevel > 50. | Jeremy Allison | 2000-08-30 | 1 | -1/+1 | |
| | | | | Jeremy. | |||||
* | Fixed error returns for moving printer driver files around so generic | Jeremy Allison | 2000-08-30 | 3 | -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 Allison | 2000-08-30 | 3 | -2/+12 | |
| | | | | Jeremy. | |||||
* | Fix for bind interfaces only sometimes picking the wrong IP address | Jeremy Allison | 2000-08-30 | 1 | -2/+24 | |
| | | | | | for a name query. From Steve Langasek <vorlon@netexpress.net>. Jeremy. | |||||
* | Implemented AbortPrinter() from Gerald's Win32 test code. Just purge all | Jeremy Allison | 2000-08-30 | 8 | -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 Carter | 2000-08-29 | 1 | -1/+0 | |
| | | | | jerry | |||||
* | make proto | Gerald Carter | 2000-08-29 | 1 | -0/+2 | |
| | ||||||
* | added -P (for no prompt) and -A <authfile> options | Gerald Carter | 2000-08-29 | 3 | -33/+103 | |
| | | | | jerry | |||||
* | added a #define for SPOOLSSGETPRINTERDATAEX. Although we do not | Gerald Carter | 2000-08-29 | 1 | -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 Carter | 2000-08-29 | 1 | -16/+17 | |
| | | | | | | | | | | Thought I had already committed this. jerry | |||||
* | added -A <authfile> option to smbclient for the reading of username / | Gerald Carter | 2000-08-29 | 1 | -9/+71 | |
| | | | | | | | | password credentials from a file. --jerry | |||||
* | needed to use strwicmp() in smbclient code, so I moved it to util_str.c | Gerald Carter | 2000-08-29 | 2 | -31/+30 | |
| | | | | | | | | and made it non-static --jerry | |||||
* | make rpcclent by default. | Gerald Carter | 2000-08-29 | 1 | -1/+1 | |
| | | | | --jerry | |||||
* | added the -A <authfile> option for allowing the reading of user | Gerald Carter | 2000-08-29 | 3 | -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 heavily | Gerald Carter | 2000-08-29 | 3 | -0/+744 | |
| | | | | | | | | from the man page in TNG. Updated for newer spoolss commands. jerry |