Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix for IRIX 6.2 compiler error | Herb Lewis | 2000-09-26 | 1 | -1/+1 |
| | |||||
* | fix for IRIX compiler error messages | Herb Lewis | 2000-09-26 | 1 | -3/+3 |
| | |||||
* | fixed IRIX compiller error message | Herb Lewis | 2000-09-26 | 1 | -1/+1 |
| | |||||
* | broadcast printer notify message to all clients. We now have printer | Jean-François Micouleau | 2000-09-26 | 3 | -353/+364 |
| | | | | | | | | notification as on NT. Andrew, your message passing code is cool :-) J.F. | ||||
* | added NEGNOWAIT. sent to secure@microsoft.com | Luke Leighton | 2000-09-26 | 4 | -346/+436 |
| | |||||
* | Changes from John Reilly to add a parameter "show add printer wizard" that | Jeremy Allison | 2000-09-26 | 3 | -14/+30 |
| | | | | | | | | | allows Samba to turn off the display of APW (hmmm. This should probably be a share specific parameter, I'll fix that in another commit). Also a few small changes to JF's code to fix compiler warnings about missing return statements and also change '//' comments (C++) to /* .. */ comments (C). Jeremy. | ||||
* | printer notify code. | Jean-François Micouleau | 2000-09-25 | 6 | -14/+602 |
| | | | | | | | It only sends notifies to one client. The broadcasting notify code will code soon. J.F. | ||||
* | Optimization (noticed by bloody Andrew :-) to stop directory scan ever | Jeremy Allison | 2000-09-21 | 1 | -4/+15 |
| | | | | | being done if any of the directory timestamps were changed. Jeremy. | ||||
* | Adding fix from Jim Vopni <jimv@metrics.com> to ensure jobs are | Jeremy Allison | 2000-09-21 | 1 | -33/+33 |
| | | | | | closed before a printer is closed/deleted. Jeremy. | ||||
* | Some code moved back from TNG - updates to LSA stuff. Not yet used but | Jeremy Allison | 2000-09-20 | 3 | -11/+105 |
| | | | | | will be needed soon. Jeremy. | ||||
* | Fix to allow a timestamp of zero to cause an instantaneous changenotify | Jeremy Allison | 2000-09-20 | 4 | -6/+30 |
| | | | | | | scan - then call this from renames. This allows instantaneous update for W2k renames. Jeremy. | ||||
* | param/loadparm.c: Fix based on Damian's code to stop printer scripts getting ↵ | Jeremy Allison | 2000-09-19 | 2 | -121/+116 |
| | | | | | | | | | overwritten. rpc_parse/parse_spoolss.c: Tidyup to call function for relstring arrays. Win2000 now does "Add Printer" successfully !!!!! Jeremy. | ||||
* | Modified test.h generator to return error if structure passed to vluke | Tim Potter | 2000-09-18 | 2 | -1/+5 |
| | | | | doesn't match any known structure names. | ||||
* | Removed emacs backup file from repository. | Tim Potter | 2000-09-18 | 1 | -7/+0 |
| | |||||
* | in a printer_info_6, driver version is 64 bits long and there is a 32 bit | Jean-François Micouleau | 2000-09-16 | 3 | -4/+21 |
| | | | | | | padding before. J.F. | ||||
* | Fixes from JF as I didn't understand the string array sizing code correctly. | Jeremy Allison | 2000-09-15 | 1 | -17/+17 |
| | | | | Jeremy. | ||||
* | Move towards getting W2k p&p to upload NT4.x drivers. Still doesn't work - | Jeremy Allison | 2000-09-15 | 4 | -31/+364 |
| | | | | | | | not sure why (JF - a glance at this would be appreciated). Removed code that JF objected to with enumprinterdata. Added translations to/from level 6 - but Win2k still not happy... hmmm... Jeremy. | ||||
* | fixed typo | Gerald Carter | 2000-09-14 | 1 | -1/+1 |
| | | | | jerry | ||||
* | Ensure old DACL and SACL are preserved if the new SD is a 'set' only. | Jeremy Allison | 2000-09-13 | 1 | -2/+11 |
| | | | | Jeremy. | ||||
* | Added SIGHUP when printer deleted as well as added. | Jeremy Allison | 2000-09-13 | 1 | -0/+3 |
| | | | | Jeremy. | ||||
* | don't show equivalent enum options in swat | Andrew Tridgell | 2000-09-13 | 1 | -5/+8 |
| | |||||
* | first cut at smbcontrol program. It currently allows syntax like: | Andrew Tridgell | 2000-09-13 | 5 | -18/+209 |
| | | | | | | | smbcontrol nmbd debug 7 smbcontrol smbd debug 9 smbcontrol 3278 debug 1 smbcontrol nmbd force-election | ||||
* | When creating a print job entry for the printing backend, use the Windows | Tim Potter | 2000-09-13 | 1 | -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. | ||||
* | Added time check test before allowing print job. | Jeremy Allison | 2000-09-13 | 2 | -1/+13 |
| | | | | Jeremy. | ||||
* | Added missing break statement for manage documents check in | Tim Potter | 2000-09-13 | 1 | -1/+3 |
| | | | | print_access_check() function. | ||||
* | 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. |