summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* Changes from APPLIANCE_HEAD (per Tim Potter):David O'Neill2000-09-0110-64/+222
| | | | | | | | | | | | | | | | | | | - make proto - addition of function to convert from errno values to NT status codes (source/lib/error.c) - purge queue done without full access permission will purge only the jobs owned by that user, rather than failing. - unlock job database tdb before sending job to printer - in print_job_start(), ensure that we don't pick a jobid with an existing temporary file that may be owned by another user, as it causes silent failures. - fixes for printer permission checking for NT5 clients (source/include/rpc_spoolss.h, source/printing/nt_printing.c, source/printing/printing.c, source/rpc_server/srv_spoolss_nt.c) - change from uint8 to 'enum SID_NAME_USE' (source/rpc_server/srv_lsa.c) - fixed memory leaks for win95 driver download process (source/smbd/lanman.c) - properly free prs_structs and dacl in testsuite/printing/psec.c
* Fix from John Reilly @ HP for my typo with the parameters being reversed. Ooops.Jeremy Allison2000-09-011-3/+3
| | | | Jeremy.
* -U% should be an anonymous connection. Fixed bug whereGerald Carter2000-09-011-1/+2
| | | | | | | | | | | the password was being set to "" instead of NULL. ..and yes Elrond, I'll merge this into TNG. P jerry
* Fix for swat to return correct MIME type for text files. From "RonTim Potter2000-09-011-0/+2
| | | | Alexander" <rcalex@home.com>
* Implemented DELETEFORM tested using Gerald's Win32 test code :-).Jeremy Allison2000-08-316-3/+152
| | | | Jeremy.
* make sure a couple of variables are initialisedAndrew Tridgell2000-08-311-2/+2
|
* fixed "admin users" option with new security codeAndrew Tridgell2000-08-311-0/+5
|
* Removed compiler warning.Tim Potter2000-08-311-5/+5
|
* Fixed overrun write error when using debuglevel > 50.Jeremy Allison2000-08-301-1/+1
| | | | Jeremy.
* Fixed error returns for moving printer driver files around so genericJeremy Allison2000-08-303-11/+22
| | | | | | "Access denied" isn't always returned. More fixes found using Gerald's wonderful Win32 test progs :-). Jeremy.
* Added vfs_unlink call to ensure vfs is used on unlink from client.Jeremy Allison2000-08-303-2/+12
| | | | Jeremy.
* Fix for bind interfaces only sometimes picking the wrong IP addressJeremy Allison2000-08-301-2/+24
| | | | | for a name query. From Steve Langasek <vorlon@netexpress.net>. Jeremy.
* Implemented AbortPrinter() from Gerald's Win32 test code. Just purge allJeremy Allison2000-08-308-13/+112
| | | | | | possible printjobs from that printer (I think this is correct). Added error code returns for print_queue_XXX() functions. Jeremy.
* missed removing the static declaration of strwicmp()Gerald Carter2000-08-291-1/+0
| | | | jerry
* make protoGerald Carter2000-08-291-0/+2
|
* added -P (for no prompt) and -A <authfile> optionsGerald Carter2000-08-293-33/+103
| | | | jerry
* added a #define for SPOOLSSGETPRINTERDATAEX. Although we do notGerald Carter2000-08-291-0/+1
| | | | | | | | | support the RPC yte (win2k specific), I added it for documentation purposes. jerry
* fixed previous bug spotted by Elrond in get_printerdrivernumber().Gerald Carter2000-08-291-16/+17
| | | | | | | | | | Thought I had already committed this. jerry
* added -A <authfile> option to smbclient for the reading of username /Gerald Carter2000-08-291-9/+71
| | | | | | | | password credentials from a file. --jerry
* needed to use strwicmp() in smbclient code, so I moved it to util_str.cGerald Carter2000-08-292-31/+30
| | | | | | | | and made it non-static --jerry
* make rpcclent by default.Gerald Carter2000-08-291-1/+1
| | | | --jerry
* added the -A <authfile> option for allowing the reading of userGerald Carter2000-08-293-213/+265
| | | | | | | | name and password credentials from a file. Designed for use when needed to passwd credentials between scripts --jerry
* first draft at rpcclient man page for HEAD branch. Taken heavilyGerald Carter2000-08-293-0/+744
| | | | | | | | from the man page in TNG. Updated for newer spoolss commands. jerry
* This doesn't compile but is a placeholder for moving the UNIXJeremy Allison2000-08-291-0/+618
| | | | | acl code over to POSIX acls. Jeremy.
* smbd/password.c: Fixed typo in Tim's new code that caused insure overrun error.Jeremy Allison2000-08-282-3/+2
| | | | | smbd/reply.c: Fixed lowercasing UNIX character set problem. Jeremy.
* added a little description of useage and output format since this givesHerb Lewis2000-08-281-1/+27
| | | | more info than just what parameters are not supported by SWAT.
* fixed typos spotted by Ron Alexander <rcalex@home.com>Gerald Carter2000-08-282-2/+2
| | | | --jerry
* script written by herb for reporting which smb.conf parametersGerald Carter2000-08-281-0/+96
| | | | | | | | | are in loarparm.c but not supported by SWAT. I just thought it looked fun. :-) --jerry
* Merge bug - still getting used to dirdiff.Tim Potter2000-08-281-1/+0
|
* Oops - missed a file.Tim Potter2000-08-281-0/+42
|
* Merge from appliance branch.Tim Potter2000-08-283-0/+12
|
* yipee!Andrew Tridgell2000-08-285-6/+24
| | | | | | | | | | | | The spoolss AddJob function has an [in,out] buffer not an [in] buffer (despite the comment in the code to the contrary). Also, we must fail this function - not just blindly reply "no problem" as AddJob should always fail on non-local printers. This fixes a bug where the "print test page" failed about half the time. I suspect it will also fix a bunch of other intermittent spoolss bugs where the client (incorrectly) tries to use the AddJob printing interface.
* made reopen_logs() always re-open logs, not try and be smart about notAndrew Tridgell2000-08-281-37/+34
| | | | | re-opening in some circumstances. This fixes a problem where a HUP does not re-open logs and leaves the log open on a unlinked file.
* arrgh.Andrew Tridgell2000-08-281-0/+4
| | | | | | | whoever added "auto" parameters in loadparam only supported "True", "False" and "Auto", and did not support "Yes" and "No" like booleans. This means anyone using "preferred master = yes" didn't get what they expected!
* vfs write data fix. Fix for name matching in addtosmbpassJeremy Allison2000-08-252-3/+3
| | | | Jeremy.
* Replaced "\\MAILSLOT\\NET\\NETLOGON" with NET_LOGON_MAILSLOT constant.Tim Potter2000-08-251-1/+1
|
* - fixed the %U macro so that the old (and documented) semantics workAndrew Tridgell2000-08-251-2/+13
| | | | | | | | | again. This got broken with one of the substitute.c updates a couple of months ago. - also fixed %u to return the username from the current_user structure when called via a method that does not have direct access to the username. I cache the uidtoname() result to prevent thrashing nss.
* Updated file with version in TNG.Tim Potter2000-08-251-2/+3
|
* Modified to use sid_to_uid and sid_to_gid. Now ready for POSIX ACLJeremy Allison2000-08-241-8/+9
| | | | | code.... Jeremy.
* Tidied up some error returns from printing calls. Still need to map UNIXJeremy Allison2000-08-233-10/+16
| | | | | errors to NT error for print job failure returns. Patch from John Reilly at HP. Jeremy.
* Documentation on NT_USER_TOKEN. Requested by Sander.Jeremy Allison2000-08-231-0/+5
| | | | Jeremy.
* Added code to do SID to uid/gid conversion. Needed for ACL support.Jeremy Allison2000-08-235-26/+266
| | | | Jeremy.
* Patch from John Reilly <jreilly@hp.com> for not processing duplicate filesTim Potter2000-08-221-0/+8
| | | | when moving printer driver to download area.
* Fix for safe_free freeing static strings. From Robert August Vincent, II.Jeremy Allison2000-08-211-5/+6
| | | | Jeremy.
* oops. must return "" string and length zero when strlen(filebuf) == 0Luke Leighton2000-08-181-13/+16
|
* fixed an off by one error where I was tromping on memoryGerald Carter2000-08-181-1/+1
| | | | | | | | when initializing a driver_info_3 struct. See spoolss_addprinterdriver() jerry