summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Updated copyright.Tim Potter2002-03-111-3/+4
|
* Some patches to make Samba return the same information as NT.Tim Potter2002-03-111-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 Potter2002-03-111-6/+8
| | | | - when returning and creating printer info, uppercase the server name
* silly typo since 98?Simo Sorce2002-03-101-1/+1
|
* coupld of minor fixes and correct typo in last commitGerald Carter2002-03-081-5/+9
|
* fix two error return codesGerald Carter2002-03-081-2/+2
|
* first pass at inplementing SPOOLSS_ROUTERREPLYPRINTER. This is only theGerald Carter2002-03-085-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 Allison2002-03-082-4/+4
| | | | Jeremy.
* reformat commentsGerald Carter2002-03-081-9/+5
|
* As nobody complained, remove the course notes. Currently no html,Volker Lendecke2002-03-083-5200/+0
| | | | | | but will be available. Volker
* Added case statment for decoding enumprinters level 0 result.Tim Potter2002-03-081-0/+4
|
* Turns out an Admin user shouldn't always have access on a handle.Jeremy Allison2002-03-082-8/+8
| | | | Jeremy.
* Fix for machines that have their time changed forward, then back. EnsureJeremy Allison2002-03-072-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 Allison2002-03-071-5/+12
| | | | Jeremy.
* Update with tdbbackup from tridge.Jeremy Allison2002-03-071-1/+4
| | | | Jeremy.
* reran autoconfGerald Carter2002-03-071-10/+10
|
* This commit was manufactured by cvs2svn to create branch 'SAMBA_2_2'.cvs2svn Import User2002-03-073-0/+898
|\
| * added a tdb backup utilityAndrew Tridgell2002-03-073-2/+185
| | | | | | | | | | | | | | when complete, this will be used to backup critical tdbs at samba startup and possibly periodically while Samba is running so that if tdb corruption is caused by a power failure Samba can restore from the backup.
| * Convert rpcclient to use popt instead of getopt. Includes changing of ↵Jim McDonough2002-03-071-32/+46
| | | | | | | | got_pass from BOOL to int. Also includes long option names...anyone want those different before I update the doc? Please try this out. I've tried to test all the flags, but the more times we kick the tires...
| * get the right return code for batch vs exclusive oplocksAndrew Tridgell2002-03-071-5/+12
| |
| * Cosmetic fixup for enum_printersTim Potter2002-03-071-2/+5
| |
| * Fixed a bunch of crash bugs for enumprinters at various info levels.Tim Potter2002-03-072-30/+41
| |
| * Fixed delete on close semantics - preparing for share mode rewrite.Jeremy Allison2002-03-072-13/+14
| | | | | | | | Jeremy.
| * Added another 2 delete on close tests. Now 10. Had to fix smbd to match...Jeremy Allison2002-03-071-42/+121
| | | | | | | | Jeremy.