Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | I was 1/2 wrong about set_driver_init_2(). Windows NT/2k does not | Gerald Carter | 2002-03-14 | 1 | -7/+28 | |
| | | | | | swap the device mode out for a new driver, but does reset the private data size and driverversion fields. | |||||
* | more uncomments | Gerald Carter | 2002-03-14 | 1 | -7/+0 | |
| | ||||||
* | removed #if 0/ #endif around xxx_printprocessordirectory_xxx(). Not reason ↵ | Gerald Carter | 2002-03-14 | 1 | -6/+0 | |
| | | | | not to | |||||
* | Fix core dumps on lookup_name/lookup_sid returning SID_NAME_UNKNOWN. | Jeremy Allison | 2002-03-14 | 1 | -29/+57 | |
| | | | | Jeremy. | |||||
* | Now we have reliable signals take SIGTERM inband. | Jeremy Allison | 2002-03-14 | 2 | -45/+56 | |
| | | | | Jeremy. | |||||
* | Added winbindd pidfile create call. | Jeremy Allison | 2002-03-14 | 1 | -0/+2 | |
| | | | | Jeremy. | |||||
* | Use sys_usleep not usleep. | Jeremy Allison | 2002-03-14 | 1 | -1/+1 | |
| | | | | Jeremy. | |||||
* | Get the current directory after becoming root. | Jeremy Allison | 2002-03-14 | 1 | -1/+1 | |
| | | | | Jeremy. | |||||
* | Backed out enumprinters stuff - leave it for another day. | Tim Potter | 2002-03-14 | 2 | -40/+13 | |
| | ||||||
* | Ensure we attempt to lock at least once. Only sleep if time param set. | Jeremy Allison | 2002-03-13 | 1 | -1/+5 | |
| | | | | Jeremy. | |||||
* | include/smb_macros.h: Don't round up an allocation if the size is zero. | Jeremy Allison | 2002-03-13 | 6 | -11/+48 | |
| | | | | | | | | | | | | | | "One of these locks is not like the others... One of these locks is not quite the same" :-). When is a zero timeout lock not zero ? When it's being processed by Windows 2000 of course.. This code change, ugly though it is - completely fixes the foxpro/access multi-user file system database problems that people have been having. I used a *wonderful* test program donated by "Gerald Drouillard" <gerald@drouillard.ca> which allowed me to completely reproduce this problem, and to finally determine the correct fix. This also explains why Windows 2000 is *so slow* when responding to the smbtorture lock tests. I *love* it when all these things come together and finally make sense :-). Jeremy. | |||||
* | support more printer change notification events for | Gerald Carter | 2002-03-13 | 5 | -43/+145 | |
| | | | | | | | | | cli_spoolss_reply_rrpcn(). Things like comment and location fields are updated correctly in Explorer. However, the notification seems to still be broken when the SPOOLSS_FFPCN is called on a printer server handle (as opposed to a printer handle). | |||||
* | Sync up the util_sid.c code - optimise sid_to_uid if it's local (from HEAD). | Jeremy Allison | 2002-03-13 | 4 | -24/+164 | |
| | | | | Jeremy. | |||||
* | removed incomplete comment | Gerald Carter | 2002-03-12 | 1 | -4/+0 | |
| | ||||||
* | reverted change which kept the server name from being | Gerald Carter | 2002-03-12 | 1 | -2/+8 | |
| | | | | prepended to the printer name in get_a_printer_2() | |||||
* | Missing comma from systems that have ACLs. Merge from HEAD fix by jcmd. | Jeremy Allison | 2002-03-12 | 1 | -1/+1 | |
| | | | | Jeremy. | |||||
* | merge from APPLIANCE_HEAD. If the called name used by the | Gerald Carter | 2002-03-12 | 3 | -1/+39 | |
| | | | | | | client connecting to us was *SMBSERV[ER], the replace this with the IP address of fir nic in our interfaces list. Not perfect for mutli-homed hosts, but .... | |||||
* | typo | Gerald Carter | 2002-03-12 | 1 | -1/+1 | |
| | ||||||
* | "Be not!" | Gerald Carter | 2002-03-12 | 2 | -60/+0 | |
| | ||||||
* | make proto | Gerald Carter | 2002-03-12 | 1 | -73/+33 | |
| | ||||||
* | * updates to reflect that teh cli_spoolss_XXX() notify calls | Gerald Carter | 2002-03-12 | 1 | -232/+184 | |
| | | | | | | | | | | | | | | | | | | | | | | return an NTSTATUS now * send the change notify to the client **before** sending response to SetPrinter() (not entirely sure about this one but it is very easy to fix) * in srv_spoolss_receive_message(): ignore the message if we sent it as the chnage notify has already been sent to our client in update_printer() * support sending RPC's 0x42 or 0x3b depending on whether or not the SPOOLSS_FFPCN contained a SPOOL_NOTIFY_OPTIONS structure All of this now means that we support multiple change notify handles successfully and that explorer updates its view upon changing the driver for a printer. The notification code only supports PRINTER_CHANGE_SET_PRINTER_DRIVER currently, but I'm planning on adding the remaining events later this week. | |||||
* | added the printer_std_mapping global variable | Gerald Carter | 2002-03-12 | 1 | -1/+17 | |
| | ||||||
* | tentative removal of a prs_align() | Gerald Carter | 2002-03-12 | 1 | -0/+5 | |
| | ||||||
* | structure to support se_map_standard() | Gerald Carter | 2002-03-12 | 1 | -0/+7 | |
| | ||||||
* | rpc_client/cli_spoolss_notify.c is only used by | Gerald Carter | 2002-03-12 | 1 | -3/+2 | |
| | | | | | rpc_server/srv_spoolss_nt.c. Clean up dependencies to reflect this. | |||||
* | * rewrite interface to spoolss change notify calls used by | Gerald Carter | 2002-03-12 | 1 | -43/+234 | |
| | | | | | | | smbd. They not match the basic standards used by libsmb/cli_spoolss.c such as return NTSTATUS, accepting a TALLOC_CTX* as a parameter, etc... * moved cli_spoolss_reply_rrpcn() and associated functions from rpc_server/srv_spoolss_nt.c to this file | |||||
* | No real meat to this commit. Mostly format updates and removed | Gerald Carter | 2002-03-12 | 1 | -313/+217 | |
| | | | | | cli_spoolss_routerreplyprinter() as that is going to rpc_client/cli_spoolss_notify.c due to linking dependencies. | |||||
* | defines and format fixes | Gerald Carter | 2002-03-12 | 1 | -7/+5 | |
| | ||||||
* | added se_map_standard() for mapping standard bits (16-19) of access | Gerald Carter | 2002-03-12 | 1 | -0/+25 | |
| | | | | | map to object specific bits. Will merge into HEAD once I'm done later this week (hopefully). | |||||
* | Use the correct 2.2.x method of getting a unicode string, not the fake 3.0.x | Jeremy Allison | 2002-03-12 | 1 | -1/+1 | |
| | | | | | one. Jeremy. | |||||
* | Fixup parsing of domain name from packet in enum_domains. | Jeremy Allison | 2002-03-12 | 1 | -1/+2 | |
| | | | | Jeremy | |||||
* | Fix the returning of domain enum. Fix the generation of the MACHINE.SID | Jeremy Allison | 2002-03-12 | 5 | -203/+156 | |
| | | | | | file into the secrets.tdb. Jeremy. | |||||
* | Added POSIX ACL layer into the vfs. | Jeremy Allison | 2002-03-11 | 7 | -74/+323 | |
| | | | | Jeremy. | |||||
* | Implemented default ACL patch (set inherit acls = true on a per share basis). | Jeremy Allison | 2002-03-11 | 4 | -19/+47 | |
| | | | | | | Based on code donated by Olaf Fr±czyk <olaf@cbk.poznan.pl>. Further commit will change to sending via vfs interface. Jeremy. | |||||
* | Merge in the locking changes from HEAD. Added "inherit acls" parameter, | Jeremy Allison | 2002-03-11 | 7 | -138/+229 | |
| | | | | | no code yet. Jeremy. | |||||
* | Move strip server name code outside of check for comment != "" | Tim Potter | 2002-03-11 | 1 | -14/+14 | |
| | ||||||
* | Updated copyright. | Tim Potter | 2002-03-11 | 1 | -3/+4 | |
| | ||||||
* | Some patches to make Samba return the same information as NT. | Tim Potter | 2002-03-11 | 1 | -11/+26 | |
| | | | | | | | | | - fix up the comment returned in a printer_info_1 (we still get this wrong as the last field should be the printer location not the comment, despite what MSDN says) - don't return the printer name prefixed by the server name when doing a enumprinters | |||||
* | Some patches to make Samba return the same information as NT. | Tim Potter | 2002-03-11 | 1 | -6/+8 | |
| | | | | - when returning and creating printer info, uppercase the server name | |||||
* | silly typo since 98? | Simo Sorce | 2002-03-10 | 1 | -1/+1 | |
| | ||||||
* | coupld of minor fixes and correct typo in last commit | Gerald Carter | 2002-03-08 | 1 | -5/+9 | |
| | ||||||
* | fix two error return codes | Gerald Carter | 2002-03-08 | 1 | -2/+2 | |
| | ||||||
* | first pass at inplementing SPOOLSS_ROUTERREPLYPRINTER. This is only the | Gerald Carter | 2002-03-08 | 5 | -2/+144 | |
| | | | | | | | | | | parsing and the client routines. I have some hacked server code that makes the Win2k Printers folder display the updated driver name when changing settings via the properties page (ask me if this doesn't make sense), but it's too ugly too live. That will come later. Makefile.in simply include libsmb/cli_spoolss.o and related files into smbd (will need this for printer change notification). | |||||
* | Fix for typo on solaris nss from Richard Bollinger. | Jeremy Allison | 2002-03-08 | 2 | -4/+4 | |
| | | | | Jeremy. | |||||
* | reformat comments | Gerald Carter | 2002-03-08 | 1 | -9/+5 | |
| | ||||||
* | As nobody complained, remove the course notes. Currently no html, | Volker Lendecke | 2002-03-08 | 3 | -5200/+0 | |
| | | | | | | but will be available. Volker | |||||
* | Added case statment for decoding enumprinters level 0 result. | Tim Potter | 2002-03-08 | 1 | -0/+4 | |
| | ||||||
* | Turns out an Admin user shouldn't always have access on a handle. | Jeremy Allison | 2002-03-08 | 2 | -8/+8 | |
| | | | | Jeremy. | |||||
* | Fix for machines that have their time changed forward, then back. Ensure | Jeremy Allison | 2002-03-07 | 2 | -6/+25 | |
| | | | | | | that any cached lpq information gathered during that time doesn't stay around for longer than 1 hour. Jeremy. | |||||
* | Merge from HEAD for return flags for oplocks. | Jeremy Allison | 2002-03-07 | 1 | -5/+12 | |
| | | | | Jeremy. |