summaryrefslogtreecommitdiffstats
path: root/source3/client/smbspool.c
Commit message (Collapse)AuthorAgeFilesLines
* Move the callers that need to use the new cli_open() back to callingJeremy Allison2011-12-031-1/+1
| | | | it from cli_openx().
* Rename cli_open -> cli_openx. Prelude to replacing generic cli_open()Jeremy Allison2011-12-031-1/+1
| | | | with a call that uses NTCreateX in preference to OpenAndX.
* s3:client: make use of cli_tree_connect()Stefan Metzmacher2011-11-241-2/+2
| | | | metze
* s3:client: s/Undefined/SMB_SIGNING_DEFAULT/Stefan Metzmacher2011-11-031-1/+1
| | | | metze
* s3:smbspool: use lp_load_client()Michael Adam2011-07-281-3/+1
|
* s3-libsmb: move protos to libsmb/proto.hGünther Deschner2011-05-061-0/+1
| | | | Guenther
* s3: Use cli_writeall instead of cli_writeVolker Lendecke2011-04-261-6/+11
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3-includes: only include system/filesys.h when needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3-includes: only include system/passwd.h when needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3: Avoid a few calls to cli_errstrVolker Lendecke2011-01-171-6/+10
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Jan 17 08:47:25 CET 2011 on sn-devel-104
* s3: Remove unused "retry" from cli_start_connectionVolker Lendecke2010-12-201-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Dec 20 17:58:33 CET 2010 on sn-devel-104
* s3-debug Impove setup_logging() to specify logging to stderrAndrew Bartlett2010-11-021-1/+1
| | | | | | | | This change improves the setup_logging() API so that callers which wish to set up logging to stderr can simply ask for it, rather than directly modify the dbf global variable. Andrew Bartlett
* Cause cli_close to return an NTSTATUS.Jeremy Allison2009-04-301-1/+1
| | | | Jeremy.
* Get medieval on our ass about SMB1 file descriptors being 16 bits, not an int.Jeremy Allison2009-04-301-3/+2
| | | | | | | Convert all uses of cli_open(), cli_nt_createXXX to NTSTATUS versions. This is smaller than it looks, it just fixes a lot of old code. Next up, ensure all cli_XX functions return NTSTATUS. Jeremy.
* Replace get_myname() with the talloc version from v3-3-testVolker Lendecke2009-02-131-1/+1
|
* Make cli_tcon_andx asyncVolker Lendecke2009-01-301-3/+6
|
* Use separate make variables for libutil and libcrypto.Jelmer Vernooij2008-10-181-1/+1
|
* smbspool: Fix printing on port 139.Karolin Seeger2008-08-141-1/+1
| | | | | | | | This one was introduced with 8eff35bc. Thanks to Noèl Köthe for tracking that down! Karolin (This used to be commit 250f5a40d6e80305220d7cdc6a8f8459d8d0de74)
* Fix bug #5675 with a varient of Tim Waugh's patch,Jeremy Allison2008-08-071-1/+1
| | | | | | as proposed by James Peach. Jeremy. (This used to be commit 5c27ad75836136c39774c9456d63f46fa62e281f)
* From Michael R Sweet <mike@easysw.com>.Jeremy Allison2008-05-301-1/+1
| | | | | | | | | | | All, Noticed that smbspool.c still has my Easy Software Products copyright on it. The following patch fixes it to match the other code I've contributed over the years... Jeremy. (This used to be commit 9f5897e28dfa0d0563cd2568b4bedc601681e41b)
* smbspool: Fix the smbspool build.James Peach2008-04-211-11/+15
| | | | (This used to be commit a51cb3c1a9549d74c1e5cf05bc43b955af1a25b7)
* smbspool: minor formatting cleanups.James Peach2008-04-211-88/+133
| | | | (This used to be commit 831a09ae25e98eacc0b0be5390d3ac3aa671a8a5)
* smbspool: Run indent to approximate conding standards.James Peach2008-04-211-533/+485
| | | | (This used to be commit 4244be792eeb69e883a1ece013b62fe6941086f2)
* smbspool: add my copyright.James Peach2008-04-211-0/+1
| | | | (This used to be commit b294b2055a422e1af59e3b6843b84750b6786d99)
* smbspool: Fix CUPS authentication protocol support.Mike Sweet2008-04-211-34/+75
| | | | | | | There were a couple of places where we weren't checking for authentication correctly. This chance fixes those places and properly supports Kerberos where available. (This used to be commit 8eff35bc4acc13807c895af43b52db79ee195cb5)
* smbspool: fix Kerberos support for CUPS 1.3.Mike Sweet2008-04-211-144/+87
| | | | | | | | | | | | | | | | | | | | | | | To summarize the changes, the patches remove the old (probably non- working) Kerberos support code which is unnecessary with CUPS 1.3 and adds some checks on the NT status we get back to see whether the connection error is related to authentication. If so, we send the ATTR: message to tell CUPS we need a username and password and return exit code 2 so cupsd will do the right thing. AUTH_USERNAME, AUTH_PASSWORD, and KRB5CCNAME are set and supported by CUPS 1.3. The new exit code is supported by CUPS 1.2.x and 1.3, and it treated as a general failure in CUPS 1.1. The ATTR: message is only supported by CUPS 1.3, while CUPS 1.2 will assume the "username,password" value we are setting. The current code only uses the AUTH_* env vars if they are set. If not, we fall back to the previous behavior. I really can't tell whether the Kerberos code that was in there would work at all. It did not work for Mac OS X which is why I dropped it. (This used to be commit 8c12c5cea01d9b801fe80c2a87b8139c488a62a5)
* Eliminate global variable in_client and a plethora of extern declarations.Derrell Lipman2008-03-061-2/+1
| | | | | Derrell (This used to be commit b7f34e7ef2907b498a0645ce68f2773ed7d60cdc)
* Add general '-e' option to enable smb encryptionJeremy Allison2008-01-051-1/+20
| | | | | | on tools. Jeremy. (This used to be commit 757653966fc1384159bd2d57c5670cd8af0cae96)
* Remove the char[1024] strings from dynconfig. ReplaceJeremy Allison2007-12-101-2/+2
| | | | | | | them with malloc'ing accessor functions. Should save a lot of static space :-). Jeremy. (This used to be commit 52dc5eaef2106015b3a8b659e818bdb15ad94b05)
* Remove more pstring/fstrings.Jeremy Allison2007-11-081-11/+19
| | | | | Jeremy. (This used to be commit 7a1de5b44e84a7474e78518c6ba33b3fedc42b5f)
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-181-1/+1
| | | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
| | | | (This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | | Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
* r23527: Use existing escaping function pointed by JamesSimo Sorce2007-10-101-27/+3
| | | | (This used to be commit 9dcbef9615aec7cfe8f72e6f21f01af4e4fcc90e)
* r23524: Fix bug 2319.Simo Sorce2007-10-101-13/+60
| | | | | | | Got report this is all ok form a tester. Close a loong standing bug preventing people to freely use any character in their password when printing via cups were involved. (This used to be commit 54ca011212982cf1d94a76ca9d39c391783da04f)
* r17571: Change the return code of cli_session_setup from BOOL to NTSTATUSVolker Lendecke2007-10-101-3/+4
| | | | | Volker (This used to be commit 94817a8ef53589011bc4ead4e17807a101acf5c9)
* r16608: Klocwork #2035. Null deref (bit of a stretch... :-).Jeremy Allison2007-10-101-2/+4
| | | | | Jeremy. (This used to be commit 7d7a98208b1b514da60486fcbbb7b6d04df4ffac)
* r15552: Fix segfault...Günther Deschner2007-10-101-0/+2
| | | | | Guenther (This used to be commit ff93fc7c1e22c035f6f1405d263702bbb9d61575)
* r15448: New autoconf macro to test for sysconf variables.James Peach2007-10-101-1/+0
| | | | (This used to be commit a19d4f2bb4aa94ab40e371efbad9f17e38e3bbc4)
* r14176: Fix coverity bug #30. Ensure no possible null deref.Jeremy Allison2007-10-101-2/+7
| | | | | Jeremy. (This used to be commit e5d6069cf88c0aa632af5582fcd7466729b20934)
* r14148: Removing the not very well tested krb5 ticket refresh handling activatedGünther Deschner2007-10-101-10/+0
| | | | | | | over --with-kcm. No time to look after it for the moment. Guenther (This used to be commit 7ec2b31a8790db1466ffafeab533c11ab7ea801a)
* r14145: Add missing WITH_KCM hunks from my local tree.Günther Deschner2007-10-101-2/+12
| | | | | Guenther (This used to be commit 977079a0583497255fbd4a48de52ebd404710b62)
* r13212: r12414@cabra: derrell | 2006-01-28 17:52:17 -0500Derrell Lipman2007-10-101-1/+1
| | | | | | | | | | | | | lp_load() could not be called multiple times to modify parameter settings based on reading from multiple configuration settings. Each time, it initialized all of the settings back to their defaults before reading the specified configuration file. This patch adds a parameter to lp_load() specifying whether the settings should be initialized. It does, however, still force the settings to be initialized the first time, even if the request was to not initialize them. (Not doing so could wreak havoc due to uninitialized values.) (This used to be commit f2a24de769d1b2266e576597c57a8e3b1e2a2b51)
* r12015: When smbspool tries to connect to a printer shared on a standaloneGünther Deschner2007-10-101-1/+14
| | | | | | | | Windows XP box, smbspool has to mimic smbclient behaviour and also send a password-less NTLMSSP session setup. Guenther (This used to be commit 1136862e6d6058df4ed027b75dbae40374712bac)
* r11790: Avoid infinite retry to gather a connection.Günther Deschner2007-10-101-3/+11
| | | | | Guenther (This used to be commit 7b6195b421b6c572d82d00b9a11bcf8579456c21)
* r10656: BIG merge from trunk. Features not copied overGerald Carter2007-10-101-5/+6
| | | | | | | | * \PIPE\unixinfo * winbindd's {group,alias}membership new functions * winbindd's lookupsids() functionality * swat (trunk changes to be reverted as per discussion with Deryck) (This used to be commit 939c3cb5d78e3a2236209b296aa8aba8bdce32d3)
* r10590: merging lost fix from the release branchGerald Carter2007-10-101-0/+2
| | | | (This used to be commit c2a018bf1f4bf196db0ad80c713764e435de3914)
* r10554: * BUG 3057: assume x64 drivers are v3 driversGerald Carter2007-10-101-6/+6
| | | | | | * BUG 3087: allow smbspool to establisha geust connection using a username with no password (This used to be commit 39369c8041e0633e88c30e0c62530c2393ef80f6)
* r9736: be a little more verbose on error.Günther Deschner2007-10-101-5/+5
| | | | | Guenther (This used to be commit 48cb0638b598be391e69695c63a19814084658ca)
* r9545: (Hopefully the last) fixes for DIR -> SMB_STRUCT_DIR.Jeremy Allison2007-10-101-2/+4
| | | | | Jeremy. (This used to be commit b242f278601e1a23c9116009482e802326d418f7)