summaryrefslogtreecommitdiffstats
path: root/source
Commit message (Collapse)AuthorAgeFilesLines
...
* Changes from APPLIANCE_HEAD (per Tim Potter):David O'Neill2000-09-019-63/+213
| | | | | | | | | | | | | | | | | | | - 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
* 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.
* 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
* fixed initialization errors (again!) I must have forgot toGerald Carter2000-08-181-0/+6
| | | | | | | | | check these in before. jerry
* getfileline() - line with length of zero -> filebuf[strlen(filebuf)-1]Luke Leighton2000-08-181-10/+13
| | | | is NOT ok.
* changing some debug message levelsGerald Carter2000-08-181-12/+12
| | | | j-
* Fix for Win9x driver downloads when information isGerald Carter2000-08-171-83/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | stored in the TDB. See the message I posted about this on samba-technical * If the admin does not desire the new NT print driver support, nothing needs to be done. All existing parameters work the same. * If the admin wants to take advantage of NT printer driver support but does not want to migrate the 9x drivers to the new setup, the leave the existing printers.def file. When smbd attempts to locate a 9x driver for the printer in the TDB and fails it will drop down to using the printers.def (and all associated parameters). The make_printerdef tool will also remain for backwards compatibility but will be moved to the "this tool is the old way of doing it" pile. * If the admin installs a 9x driver for a printer on a Samba host (in the printing TDB), this information will take precedence and the three old printing parameters will be ignored (including print driver location). * If an admin wants to migrate the printers.def file into the new setup, I can write a script to do this using rpcclient. The main problem is the driver namespace (we need the NT driver name first in order to be consistent). jerry
* added comment for my own memory purposesGerald Carter2000-08-171-0/+1
| | | | jerry
* hack for unmarshalling unistr's on machines with BIG_ENDIAN archGerald Carter2000-08-161-2/+19
| | | | | | | | | | I think we have a lot more of these bugs lurking (i'm fairly confident of it). jerry
* - fixed memcpy bug in copy_unistr2()Gerald Carter2000-08-161-7/+21
| | | | | | | | | - init_unistr2_from_unistr() does not NULL terminate the buffer --jerry
* fixed unitialized struct bug in enum_users (whatever it is called)Gerald Carter2000-08-161-1/+5
| | | | jerry
* Merge of uninitialised variable fix from APPLIANCE_HEAD.Tim Potter2000-08-151-4/+1
|