summaryrefslogtreecommitdiffstats
path: root/source/client/smbspool.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Fix bug #5675 with a varient of Tim Waugh's patch,Jeremy Allison2008-08-071-1/+1
| | | | | as proposed by James Peach. Jeremy.
* 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.
* smbspool: Fix the smbspool build.James Peach2008-04-211-11/+15
|
* smbspool: minor formatting cleanups.James Peach2008-04-211-88/+133
|
* smbspool: Run indent to approximate conding standards.James Peach2008-04-211-533/+485
|
* smbspool: add my copyright.James Peach2008-04-211-0/+1
|
* 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.
* 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.
* Eliminate global variable in_client and a plethora of extern declarations.Derrell Lipman2008-03-061-2/+1
| | | | Derrell
* Add general '-e' option to enable smb encryptionJeremy Allison2008-01-051-1/+20
| | | | | on tools. Jeremy.
* 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.
* Remove more pstring/fstrings.Jeremy Allison2007-11-081-11/+19
| | | | Jeremy.
* 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.
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
|
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | Jeremy.
* r23527: Use existing escaping function pointed by JamesSimo Sorce2007-10-101-27/+3
|
* 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.
* r17571: Change the return code of cli_session_setup from BOOL to NTSTATUSVolker Lendecke2007-10-101-3/+4
| | | | Volker
* r16608: Klocwork #2035. Null deref (bit of a stretch... :-).Jeremy Allison2007-10-101-2/+4
| | | | Jeremy.
* r15552: Fix segfault...Günther Deschner2007-10-101-0/+2
| | | | Guenther
* r15448: New autoconf macro to test for sysconf variables.James Peach2007-10-101-1/+0
|
* r14176: Fix coverity bug #30. Ensure no possible null deref.Jeremy Allison2007-10-101-2/+7
| | | | Jeremy.
* 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
* r14145: Add missing WITH_KCM hunks from my local tree.Günther Deschner2007-10-101-2/+12
| | | | Guenther
* 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.)
* 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
* r11790: Avoid infinite retry to gather a connection.Günther Deschner2007-10-101-3/+11
| | | | Guenther
* 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)
* r10590: merging lost fix from the release branchGerald Carter2007-10-101-0/+2
|
* 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
* r9736: be a little more verbose on error.Günther Deschner2007-10-101-5/+5
| | | | Guenther
* r9545: (Hopefully the last) fixes for DIR -> SMB_STRUCT_DIR.Jeremy Allison2007-10-101-2/+4
| | | | Jeremy.
* r8572: Remove crufty #define NO_SYSLOG as it's not used at all anymore.Tim Potter2007-10-101-2/+0
|
* r7879: fix compile issue caused by not statoc value for intializing cpp macrosGerald Carter2007-10-101-2/+2
|
* r7139: trying to reduce the number of diffs between trunk and 3.0; changing ↵Gerald Carter2007-10-101-2/+2
| | | | version to 3.0.20pre1
* r6684: BUG 1780: patch from Rodrigo Fernandez-Vizarra ↵Gerald Carter2007-10-101-21/+203
| | | | <Rodrigo.Fernandez-Vizarra@Sun.COM> to add kerberos supsport to smbspool
* r6149: Fixes bugs #2498 and 2484.Derrell Lipman2007-10-101-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.
* r5495: * add in some code from Mike Nix <mnix@wanm.com.au> for the SMBsplopenGerald Carter2007-10-101-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 *.
* r3275: Fix from Michael Sweet <mike@easysw.com> for bug #1892.Jeremy Allison2007-10-101-4/+4
| | | | Jeremy.
* r947: Patch from Fabian Franz <FabianFranz@gmx.de> that allows youJelmer Vernooij2007-10-101-4/+16
| | | | to specify a port in the device URL.
* Add a command line option (-S on|off|required) to enable signing on clientJeremy Allison2003-07-301-1/+1
| | | | | connections. Overrides smb.conf parameter if set. Jeremy.
* Reverse previous patch from Stefan and me after comments by Andrew BartlettJelmer Vernooij2003-05-101-2/+0
|
* Patch from metze and me that adds dummy smb_register_*() functions soJelmer Vernooij2003-05-101-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.
* fix dumb perror used without errno beeing set.Simo Sorce2003-02-151-2/+2
| | | | thanks to RedHat developers for the report
* Merge from HEAD - make Samba compile with -Wwrite-strings without additionalAndrew Bartlett2003-01-031-2/+2
| | | | | | warnings. (Adds a lot of const). Andrew Bartlett
* Removed global_myworkgroup, global_myname, global_myscope. Added liberalJeremy Allison2002-11-121-7/+7
| | | | | | dashes of const. This is a rather large check-in, some things may break. It does compile though :-). Jeremy.
* Added new error codes. Fix up connection code to retry in the same wayJeremy Allison2002-10-171-1/+1
| | | | | that app-head does. Jeremy.
* sync 3.0 branch with headJelmer Vernooij2002-08-171-9/+6
|
* updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell2002-07-151-57/+11
|