summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Ok, I'm an idiot... or more accurately, careless. I merged in a fix toJohn Reilly2002-03-151-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 Reilly2002-03-151-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 Allison2002-03-152-2/+3
| | | | Jeremy.
* Merge of return first error from HEAD.Jeremy Allison2002-03-152-620/+638
| | | | Jeremy.
* merges from APPLIANCE_HEAD and HEADGerald Carter2002-03-152-32/+48
|
* format fix from HEAD so files sync upGerald Carter2002-03-151-1/+1
|
* form stuff from HEADGerald Carter2002-03-151-0/+75
|
* Not quite fixed....Jeremy Allison2002-03-151-2/+34
| | | | Jeremy.
* Fix skel vfs for new interface.Jeremy Allison2002-03-151-2/+20
| | | | Jeremy.
* merging spoolss code between branches. SPOOLSS_RESETPRINTERGerald Carter2002-03-155-1/+89
| | | | was missing in SAMBA_2_2. Mergeed from APPLIANCE_HEAD.
* Fixup skel vfs code.Jeremy Allison2002-03-151-39/+173
| | | | Jeremy.
* Fix memory leak in main loop. Found due to help from Don McCall @ HP.Jeremy Allison2002-03-142-2/+3
| | | | Jeremy.
* added #define's for bits for the DEVICEMODE.fields memberGerald Carter2002-03-141-0/+38
|
* renabled Win2k rpc's. Commented out by mistake.Gerald Carter2002-03-141-1/+1
|
* I was 1/2 wrong about set_driver_init_2(). Windows NT/2k does notGerald Carter2002-03-141-7/+28
| | | | | swap the device mode out for a new driver, but does reset the private data size and driverversion fields.
* more uncommentsGerald Carter2002-03-141-7/+0
|
* removed #if 0/ #endif around xxx_printprocessordirectory_xxx(). Not reason ↵Gerald Carter2002-03-141-6/+0
| | | | not to
* Fix core dumps on lookup_name/lookup_sid returning SID_NAME_UNKNOWN.Jeremy Allison2002-03-141-29/+57
| | | | Jeremy.
* Now we have reliable signals take SIGTERM inband.Jeremy Allison2002-03-142-45/+56
| | | | Jeremy.
* Added winbindd pidfile create call.Jeremy Allison2002-03-141-0/+2
| | | | Jeremy.
* Use sys_usleep not usleep.Jeremy Allison2002-03-141-1/+1
| | | | Jeremy.
* Get the current directory after becoming root.Jeremy Allison2002-03-141-1/+1
| | | | Jeremy.
* Backed out enumprinters stuff - leave it for another day.Tim Potter2002-03-142-40/+13
|
* Ensure we attempt to lock at least once. Only sleep if time param set.Jeremy Allison2002-03-131-1/+5
| | | | Jeremy.
* include/smb_macros.h: Don't round up an allocation if the size is zero.Jeremy Allison2002-03-136-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 forGerald Carter2002-03-135-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 Allison2002-03-134-24/+164
| | | | Jeremy.
* removed incomplete commentGerald Carter2002-03-121-4/+0
|
* reverted change which kept the server name from beingGerald Carter2002-03-121-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 Allison2002-03-121-1/+1
| | | | Jeremy.
* merge from APPLIANCE_HEAD. If the called name used by theGerald Carter2002-03-123-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 ....
* typoGerald Carter2002-03-121-1/+1
|
* "Be not!"Gerald Carter2002-03-122-60/+0
|
* make protoGerald Carter2002-03-121-73/+33
|
* * updates to reflect that teh cli_spoolss_XXX() notify callsGerald Carter2002-03-121-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 variableGerald Carter2002-03-121-1/+17
|
* tentative removal of a prs_align()Gerald Carter2002-03-121-0/+5
|
* structure to support se_map_standard()Gerald Carter2002-03-121-0/+7
|
* rpc_client/cli_spoolss_notify.c is only used byGerald Carter2002-03-121-3/+2
| | | | | rpc_server/srv_spoolss_nt.c. Clean up dependencies to reflect this.
* * rewrite interface to spoolss change notify calls used byGerald Carter2002-03-121-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 removedGerald Carter2002-03-121-313/+217
| | | | | cli_spoolss_routerreplyprinter() as that is going to rpc_client/cli_spoolss_notify.c due to linking dependencies.
* defines and format fixesGerald Carter2002-03-121-7/+5
|
* added se_map_standard() for mapping standard bits (16-19) of accessGerald Carter2002-03-121-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.xJeremy Allison2002-03-121-1/+1
| | | | | one. Jeremy.
* Fixup parsing of domain name from packet in enum_domains.Jeremy Allison2002-03-121-1/+2
| | | | Jeremy
* Fix the returning of domain enum. Fix the generation of the MACHINE.SIDJeremy Allison2002-03-125-203/+156
| | | | | file into the secrets.tdb. Jeremy.
* Added POSIX ACL layer into the vfs.Jeremy Allison2002-03-117-74/+323
| | | | Jeremy.
* Implemented default ACL patch (set inherit acls = true on a per share basis).Jeremy Allison2002-03-114-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 Allison2002-03-117-138/+229
| | | | | no code yet. Jeremy.
* Move strip server name code outside of check for comment != ""Tim Potter2002-03-111-14/+14
|