summaryrefslogtreecommitdiff
path: root/source3/client/smbspool.c
AgeCommit message (Collapse)AuthorFilesLines
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)
2002-01-30Removed version number from file header.Tim Potter1-2/+1
Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
2001-11-26Got medieval on another pointless extern. Removed extern struct ipzeroTim Potter1-2/+1
and replaced with two functions: void zero_ip(struct in_adder *ip); BOOL is_zero_ip(struct in_addr ip); (This used to be commit 778f5f77a66cda76348a7c6f64cd63afe2bfe077)
2001-11-23Removed TimeInit() call from every client program (except for one placeTim Potter1-2/+0
in smbd/process.c where the timezone is reinitialised. Was replaced with check for a static is_initialised boolean. (This used to be commit 8fc772c9e5770cd3a8857670214dcff033ebae32)
2001-11-19Store some path names in global variables initialized to configureMartin Pool1-2/+2
default, rather than in preprocessor macros. (This used to be commit 79ec88f0da40faebe1e587f1b3e87b5f2b184f58)
2001-08-24fixed handling of 139/445 in clientsAndrew Tridgell1-6/+0
(This used to be commit 22b372f8a7996a19bebb8cdb411df999cffa32a4)
2001-07-04strchr and strrchr are macros when compiling with optimisation in gcc, so we ↵Andrew Tridgell1-4/+4
can't redefine them. damn. (This used to be commit c41fc06376d1a2b83690612304e85010b5e5f3cf)
2001-07-04The big character set handling changeover!Andrew Tridgell1-3/+0
This commit gets rid of all our old codepage handling and replaces it with iconv. All internal strings in Samba are now in "unix" charset, which may be multi-byte. See internals.doc and my posting to samba-technical for a more complete explanation. (This used to be commit debb471267960e56005a741817ebd227ecfc512a)
2001-07-03Applied Michael Sweet's patch, with one minor signal change.Jeremy Allison1-4/+26
Jeremy. (This used to be commit 8d1dab74c26d25938de14b34b383890731e9ebd0)
2001-04-27More gcc compile on solaris tidyups.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 956201c4fb6e604407911b9709574f0c24dcb84f)
2001-04-22a couple of minor merges from 2_2Andrew Tridgell1-1/+1
(This used to be commit 67aa587eb2ee9044574ee212dfd7d52895f868c0)
2001-03-16Updates for CUPS 1.1 from Michael Sweet.Jeremy Allison1-1/+38
Jeremy. (This used to be commit 4e76f338698aaacdfa750205a1de7296b78cdd87)
2000-01-08cli_open() wasn't handling DENY_FCB or O_WRONLY correctly.Andrew Tridgell1-1/+1
After fixing that I needed to use O_RDWR instead of O_WRONLY in several places to avoid the silly bug in MS servers that doesn't allow getattrE on a file opened with O_WRONLY (This used to be commit e21aa4cb088f348139309d29c85c48c8b777cff5)
2000-01-07this looks like a big commit, but it isn't really :)Andrew Tridgell1-2/+2
This fixes our netbios scope handling. We now have a 'netbios scope' option in smb.conf and the scope option is removed from make_nmb_name() this was prompted by a bug in our PDC finding code where it didn't append the scope to the query of the '*' name. (This used to be commit b563be824b8c3141c49558eced7829b48d4ab26f)
1999-12-17client/smbspool.c from 2.0.6Andrew Tridgell1-0/+366
(This used to be commit 599a7e7f9e73fb7c0da960b46f16990991e9424e)