summaryrefslogtreecommitdiff
path: root/source3/client/smbspool.c
AgeCommit message (Collapse)AuthorFilesLines
2008-08-14smbspool: Fix printing on port 139.Karolin Seeger1-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)
2008-08-07Fix bug #5675 with a varient of Tim Waugh's patch,Jeremy Allison1-1/+1
as proposed by James Peach. Jeremy. (This used to be commit 5c27ad75836136c39774c9456d63f46fa62e281f)
2008-05-30From Michael R Sweet <mike@easysw.com>.Jeremy Allison1-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)
2008-04-21smbspool: Fix the smbspool build.James Peach1-11/+15
(This used to be commit a51cb3c1a9549d74c1e5cf05bc43b955af1a25b7)
2008-04-21smbspool: minor formatting cleanups.James Peach1-88/+133
(This used to be commit 831a09ae25e98eacc0b0be5390d3ac3aa671a8a5)
2008-04-21smbspool: Run indent to approximate conding standards.James Peach1-533/+485
(This used to be commit 4244be792eeb69e883a1ece013b62fe6941086f2)
2008-04-21smbspool: add my copyright.James Peach1-0/+1
(This used to be commit b294b2055a422e1af59e3b6843b84750b6786d99)
2008-04-21smbspool: Fix CUPS authentication protocol support.Mike Sweet1-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)
2008-04-21smbspool: fix Kerberos support for CUPS 1.3.Mike Sweet1-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)
2008-03-06Eliminate global variable in_client and a plethora of extern declarations.Derrell Lipman1-2/+1
Derrell (This used to be commit b7f34e7ef2907b498a0645ce68f2773ed7d60cdc)
2008-01-05Add general '-e' option to enable smb encryptionJeremy Allison1-1/+20
on tools. Jeremy. (This used to be commit 757653966fc1384159bd2d57c5670cd8af0cae96)
2007-12-10Remove the char[1024] strings from dynconfig. ReplaceJeremy Allison1-2/+2
them with malloc'ing accessor functions. Should save a lot of static space :-). Jeremy. (This used to be commit 52dc5eaef2106015b3a8b659e818bdb15ad94b05)
2007-11-08Remove more pstring/fstrings.Jeremy Allison1-11/+19
Jeremy. (This used to be commit 7a1de5b44e84a7474e78518c6ba33b3fedc42b5f)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-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)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell1-2/+1
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r23527: Use existing escaping function pointed by JamesSimo Sorce1-27/+3
(This used to be commit 9dcbef9615aec7cfe8f72e6f21f01af4e4fcc90e)
2007-10-10r23524: Fix bug 2319.Simo Sorce1-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)
2007-10-10r17571: Change the return code of cli_session_setup from BOOL to NTSTATUSVolker Lendecke1-3/+4
Volker (This used to be commit 94817a8ef53589011bc4ead4e17807a101acf5c9)
2007-10-10r16608: Klocwork #2035. Null deref (bit of a stretch... :-).Jeremy Allison1-2/+4
Jeremy. (This used to be commit 7d7a98208b1b514da60486fcbbb7b6d04df4ffac)
2007-10-10r15552: Fix segfault...Günther Deschner1-0/+2
Guenther (This used to be commit ff93fc7c1e22c035f6f1405d263702bbb9d61575)
2007-10-10r15448: New autoconf macro to test for sysconf variables.James Peach1-1/+0
(This used to be commit a19d4f2bb4aa94ab40e371efbad9f17e38e3bbc4)
2007-10-10r14176: Fix coverity bug #30. Ensure no possible null deref.Jeremy Allison1-2/+7
Jeremy. (This used to be commit e5d6069cf88c0aa632af5582fcd7466729b20934)
2007-10-10r14148: Removing the not very well tested krb5 ticket refresh handling activatedGünther Deschner1-10/+0
over --with-kcm. No time to look after it for the moment. Guenther (This used to be commit 7ec2b31a8790db1466ffafeab533c11ab7ea801a)
2007-10-10r14145: Add missing WITH_KCM hunks from my local tree.Günther Deschner1-2/+12
Guenther (This used to be commit 977079a0583497255fbd4a48de52ebd404710b62)
2007-10-10r13212: r12414@cabra: derrell | 2006-01-28 17:52:17 -0500Derrell Lipman1-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)
2007-10-10r12015: When smbspool tries to connect to a printer shared on a standaloneGünther Deschner1-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)
2007-10-10r11790: Avoid infinite retry to gather a connection.Günther Deschner1-3/+11
Guenther (This used to be commit 7b6195b421b6c572d82d00b9a11bcf8579456c21)
2007-10-10r10656: BIG merge from trunk. Features not copied overGerald Carter1-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)
2007-10-10r10590: merging lost fix from the release branchGerald Carter1-0/+2
(This used to be commit c2a018bf1f4bf196db0ad80c713764e435de3914)
2007-10-10r10554: * BUG 3057: assume x64 drivers are v3 driversGerald Carter1-6/+6
* BUG 3087: allow smbspool to establisha geust connection using a username with no password (This used to be commit 39369c8041e0633e88c30e0c62530c2393ef80f6)
2007-10-10r9736: be a little more verbose on error.Günther Deschner1-5/+5
Guenther (This used to be commit 48cb0638b598be391e69695c63a19814084658ca)
2007-10-10r9545: (Hopefully the last) fixes for DIR -> SMB_STRUCT_DIR.Jeremy Allison1-2/+4
Jeremy. (This used to be commit b242f278601e1a23c9116009482e802326d418f7)
2007-10-10r8572: Remove crufty #define NO_SYSLOG as it's not used at all anymore.Tim Potter1-2/+0
(This used to be commit 985dbb47d925e79c1195ca219f7ab5d6648b22b8)
2007-10-10r7879: fix compile issue caused by not statoc value for intializing cpp macrosGerald Carter1-2/+2
(This used to be commit 9af07b243005db76b6490856b4e0bbc4a8af0dba)
2007-10-10r7139: trying to reduce the number of diffs between trunk and 3.0; changing ↵Gerald Carter1-2/+2
version to 3.0.20pre1 (This used to be commit 9727d05241574042dd3aa8844ae5c701d22e2da1)
2007-10-10r6684: BUG 1780: patch from Rodrigo Fernandez-Vizarra ↵Gerald Carter1-21/+203
<Rodrigo.Fernandez-Vizarra@Sun.COM> to add kerberos supsport to smbspool (This used to be commit 3abffdf3ad0fd2b4043bfb3d4cf9891393c9059e)
2007-10-10r6149: Fixes bugs #2498 and 2484.Derrell Lipman1-2/+2
1. using smbc_getxattr() et al, one may now request all access control entities in the ACL without getting all other NT attributes. 2. added the ability to exclude specified attributes from the result set provided by smbc_getxattr() et al, when requesting all attributes, all NT attributes, or all DOS attributes. 3. eliminated all compiler warnings, including when --enable-developer compiler flags are in use. removed -Wcast-qual flag from list, as that is specifically to force warnings in the case of casting away qualifiers. Note: In the process of eliminating compiler warnings, a few nasties were discovered. In the file libads/sasl.c, PRIVATE kerberos interfaces are being used; and in libsmb/clikrb5.c, both PRIAVE and DEPRECATED kerberos interfaces are being used. Someone who knows kerberos should look at these and determine if there is an alternate method of accomplishing the task. (This used to be commit 994694f7f26da5099f071e1381271a70407f33bb)
2007-10-10r5495: * add in some code from Mike Nix <mnix@wanm.com.au> for the SMBsplopenGerald Carter1-3/+3
and SMBsplclose commands (BUG 2010) * clarify some debug messages in smbspool (also from Mike) my changes: * start adding msdfs client routines * enable smbclient to maintain multiple connections * set the CAP_DFS flag for our internal clienht routines. I actualy have a dfs referral working in do_cd() but that code is too ugly to live so I'm not checking it in just yet. Further work is to merge with vl's changes in trunk to support multiple TIDs per cli_state *. (This used to be commit 0449756309812d854037ba0af631abad678e670e)
2007-10-10r3275: Fix from Michael Sweet <mike@easysw.com> for bug #1892.Jeremy Allison1-4/+4
Jeremy. (This used to be commit 13278744cce43060379b7bbebcdf90b41546d43d)
2007-10-10r947: Patch from Fabian Franz <FabianFranz@gmx.de> that allows youJelmer Vernooij1-4/+16
to specify a port in the device URL. (This used to be commit e6dcda2b10c4871ca8488bf04b22c2c11673621d)
2003-07-30Add a command line option (-S on|off|required) to enable signing on clientJeremy Allison1-1/+1
connections. Overrides smb.conf parameter if set. Jeremy. (This used to be commit 879309671df6b530e0bff69559422a417da4a307)
2003-05-10Reverse previous patch from Stefan and me after comments by Andrew BartlettJelmer Vernooij1-2/+0
(This used to be commit d817eaf0ecca2d878ab1ffcf7a747a02d71c811e)
2003-05-10Patch from metze and me that adds dummy smb_register_*() functions soJelmer Vernooij1-0/+2
that is now possible to, for example, load a module which contains an auth method into a binary without the auth/ subsystem built in. (This used to be commit 74d9ecfe2dd7364643d32acb62ade957bd71cd0d)
2003-02-15fix dumb perror used without errno beeing set.Simo Sorce1-2/+2
thanks to RedHat developers for the report (This used to be commit e257141c9b3703ef73ee312f3ec30d377e0d3293)
2003-01-03Merge from HEAD - make Samba compile with -Wwrite-strings without additionalAndrew Bartlett1-2/+2
warnings. (Adds a lot of const). Andrew Bartlett (This used to be commit 3a7458f9472432ef12c43008414925fd1ce8ea0c)
2002-11-12Removed global_myworkgroup, global_myname, global_myscope. Added liberalJeremy Allison1-7/+7
dashes of const. This is a rather large check-in, some things may break. It does compile though :-). Jeremy. (This used to be commit f755711df8f74f9b8e8c1a2b0d07d02a931eeb89)
2002-10-17Added new error codes. Fix up connection code to retry in the same wayJeremy Allison1-1/+1
that app-head does. Jeremy. (This used to be commit ec7953f20145799f6286a295472df4826bfdfb8f)
2002-08-17sync 3.0 branch with headJelmer Vernooij1-9/+6
(This used to be commit 3928578b52cfc949be5e0ef444fce1558d75f290)
2002-07-15updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell1-57/+11
(This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)