Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Ok, I'm an idiot... or more accurately, careless. I merged in a fix to | John Reilly | 2002-03-15 | 1 | -2/+2 | |
| | | | | | | | | | APPLIANCE_HEAD, and in my haste, merged in a 'break' to 2.2. This commit reverts the later. Thanks to the ever vigilant JRA for spotting this. rpc_server/srv_spoolss_nt.c reverse order of notify and free. JohnR cr198 | |||||
* | Fixed segv with spoolss_addprinterex_level_2 bug with out of order ↵ | John Reilly | 2002-03-15 | 1 | -2/+1 | |
| | | | | | | | | | | srv_spoolss_sendnotify and free_a_printer... Jerry - Beware the Ides of March rpc_server/srv_spoolss_nt.c reverse order of notify and free. JohnR cr198 | |||||
* | Merges from HEAD (debug fix and enable locking on winbindd cache tdb). | Jeremy Allison | 2002-03-15 | 2 | -2/+3 | |
| | | | | Jeremy. | |||||
* | Merge of return first error from HEAD. | Jeremy Allison | 2002-03-15 | 2 | -620/+638 | |
| | | | | Jeremy. | |||||
* | merges from APPLIANCE_HEAD and HEAD | Gerald Carter | 2002-03-15 | 2 | -32/+48 | |
| | ||||||
* | format fix from HEAD so files sync up | Gerald Carter | 2002-03-15 | 1 | -1/+1 | |
| | ||||||
* | form stuff from HEAD | Gerald Carter | 2002-03-15 | 1 | -0/+75 | |
| | ||||||
* | Not quite fixed.... | Jeremy Allison | 2002-03-15 | 1 | -2/+34 | |
| | | | | Jeremy. | |||||
* | Fix skel vfs for new interface. | Jeremy Allison | 2002-03-15 | 1 | -2/+20 | |
| | | | | Jeremy. | |||||
* | merging spoolss code between branches. SPOOLSS_RESETPRINTER | Gerald Carter | 2002-03-15 | 5 | -1/+89 | |
| | | | | was missing in SAMBA_2_2. Mergeed from APPLIANCE_HEAD. | |||||
* | Fixup skel vfs code. | Jeremy Allison | 2002-03-15 | 1 | -39/+173 | |
| | | | | Jeremy. | |||||
* | Fix memory leak in main loop. Found due to help from Don McCall @ HP. | Jeremy Allison | 2002-03-14 | 2 | -2/+3 | |
| | | | | Jeremy. | |||||
* | added #define's for bits for the DEVICEMODE.fields member | Gerald Carter | 2002-03-14 | 1 | -0/+38 | |
| | ||||||
* | renabled Win2k rpc's. Commented out by mistake. | Gerald Carter | 2002-03-14 | 1 | -1/+1 | |
| | ||||||
* | 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 | |
| |