summaryrefslogtreecommitdiffstats
path: root/source
Commit message (Collapse)AuthorAgeFilesLines
* fix for IRIX 6.2 compiler errorHerb Lewis2000-09-261-1/+1
|
* fix for IRIX compiler error messagesHerb Lewis2000-09-261-3/+3
|
* fixed IRIX compiller error messageHerb Lewis2000-09-261-1/+1
|
* broadcast printer notify message to all clients. We now have printerJean-François Micouleau2000-09-263-353/+364
| | | | | | | | notification as on NT. Andrew, your message passing code is cool :-) J.F.
* added NEGNOWAIT. sent to secure@microsoft.comLuke Leighton2000-09-264-346/+436
|
* Changes from John Reilly to add a parameter "show add printer wizard" thatJeremy Allison2000-09-263-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 Micouleau2000-09-256-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 everJeremy Allison2000-09-211-4/+15
| | | | | being done if any of the directory timestamps were changed. Jeremy.
* Adding fix from Jim Vopni <jimv@metrics.com> to ensure jobs areJeremy Allison2000-09-211-33/+33
| | | | | closed before a printer is closed/deleted. Jeremy.
* Some code moved back from TNG - updates to LSA stuff. Not yet used butJeremy Allison2000-09-203-11/+105
| | | | | will be needed soon. Jeremy.
* Fix to allow a timestamp of zero to cause an instantaneous changenotifyJeremy Allison2000-09-204-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 Allison2000-09-192-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 vlukeTim Potter2000-09-182-1/+5
| | | | doesn't match any known structure names.
* Removed emacs backup file from repository.Tim Potter2000-09-181-7/+0
|
* in a printer_info_6, driver version is 64 bits long and there is a 32 bitJean-François Micouleau2000-09-163-4/+21
| | | | | | padding before. J.F.
* Fixes from JF as I didn't understand the string array sizing code correctly.Jeremy Allison2000-09-151-17/+17
| | | | Jeremy.
* Move towards getting W2k p&p to upload NT4.x drivers. Still doesn't work -Jeremy Allison2000-09-154-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 typoGerald Carter2000-09-141-1/+1
| | | | jerry
* Ensure old DACL and SACL are preserved if the new SD is a 'set' only.Jeremy Allison2000-09-131-2/+11
| | | | Jeremy.
* Added SIGHUP when printer deleted as well as added.Jeremy Allison2000-09-131-0/+3
| | | | Jeremy.
* don't show equivalent enum options in swatAndrew Tridgell2000-09-131-5/+8
|
* 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
* 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.
* Added time check test before allowing print job.Jeremy Allison2000-09-132-1/+13
| | | | Jeremy.
* Added missing break statement for manage documents check inTim Potter2000-09-131-1/+3
| | | | print_access_check() function.
* 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.