summaryrefslogtreecommitdiff
path: root/source3/client/smbmount.c
AgeCommit message (Collapse)AuthorFilesLines
2008-01-25Fix bogus uninitialized variable warningsVolker Lendecke1-1/+1
(This used to be commit 71d6580c837adcc2cddcdff561f6fb09701501ee)
2008-01-23strtok -> strtok_rVolker Lendecke1-1/+3
(This used to be commit fd34ce437057bb34cdc37f4b066e424000d36789)
2007-12-10Remove the char[1024] strings from dynconfig. ReplaceJeremy Allison1-4/+4
them with malloc'ing accessor functions. Should save a lot of static space :-). Jeremy. (This used to be commit 52dc5eaef2106015b3a8b659e818bdb15ad94b05)
2007-12-05pstring removal.Jeremy Allison1-79/+178
Jeremy. (This used to be commit 66e7e30b13bc6904f20a1b4277143c63f8beec83)
2007-11-20Ensure we have a talloc stackframe (found by Kukks).Jeremy Allison1-0/+2
Jeremy. (This used to be commit b409f1c3356a72216136411234b345666159c88b)
2007-11-09Remove the silly "user_socket_options" global variableVolker Lendecke1-2/+1
This is better done with a 'lp_do_parameter(-1, "socket options", ..); (This used to be commit 814bed029efa391e664ac432d0d68dfeab26381f)
2007-11-05Fix the smbmount buildVolker Lendecke1-1/+1
(This used to be commit 5b8ca7ebdef5d385420c89af246c2dae737c5717)
2007-10-27Change all occurrences of zero_addr(&ss,AF_INET) toJeremy Allison1-1/+1
zero_addr(&ss). All current uses were always of the AF_INET form, so simplify the call. If in the future we need to zero an addr to AF_INET6 this can be done separately. Jeremy. (This used to be commit 2e92418a138bf2738b77b7e0fcb2fa37ad84fc0c)
2007-10-27Fix zero_addr(&ip, INADDR_ANY); -> zero_addr(&ip, AF_INET)Jeremy Allison1-1/+1
from Volker's patch. Jeremy. (This used to be commit 9f82a5766968dc72db5a86ad0afc71e8cffd5be0)
2007-10-27Two patchesVolker Lendecke1-5/+5
Hi! Can you check and push them? Thanks, Volker From b488af5905e2dee12a1a72a3b40801ae5c26f24f Mon Sep 17 00:00:00 2001 From: Volker Lendecke <vl@sernet.de> Date: Sat, 27 Oct 2007 14:20:09 +0200 Subject: [PATCH] Fix some warnings and errors (This used to be commit e17d3e10e860c96b6d5208e5fe51e43b8e58c174)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-9/+9
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-15Latest ipv6 changes broke (deprecated) smbmount, smbmnt and smbctoolGünter Kukkukk1-5/+5
In addition some cleanup has been done to avoid compiler warnings. (This used to be commit 29eb4d0e2d8ce4a0bd2a081265417684c8c69d6d)
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-10r23596: Add notes about smbfs/cifs to usage() in smb[u]mountVolker Lendecke1-0/+3
(This used to be commit 4896b4ee55b3c8213754ebe6a8edafd82a40c014)
2007-10-10r23567: Fix bug 4721Volker Lendecke1-1/+1
(This used to be commit f2050f5a3af382ad88071a5d5f6b172af4143e0f)
2007-10-10r20124: clean up nested extern declaration warningsHerb Lewis1-3/+2
(This used to be commit ac3eb7813e33b9a2e78c9158433f7ed62c3b62bb)
2007-10-10r17572: Fix the buildVolker Lendecke1-5/+5
(This used to be commit acf237b3cd1b546c2744447d977d36a8e3ed4d10)
2007-10-10r16945: Sync trunk -> 3.0 for 3.0.24 code. Still needJeremy Allison1-1/+1
to do the upper layer directories but this is what everyone is waiting for.... Jeremy. (This used to be commit 9dafb7f48ca3e7af956b0a7d1720c2546fc4cfb8)
2007-10-10r13486: Two more -- fix bug 3503Volker Lendecke1-0/+2
(This used to be commit 62b02a68438e0ff1119e68347b1ac3495572fa8a)
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-10r12912: patch from Tony Mountifield <tony@softins.co.uk> for BUG 3327 (fix ↵Gerald Carter1-0/+3
bad access to gencache.tdb after fork() in smbmount (This used to be commit 68399ce04ca4509d51950d2d7b1ed817e82bf17c)
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-10r76: Fix smbfs problem with Tree Disconnect issued before smbfs starts its work.Alexander Bokovoy1-0/+1
We use cli_state.smb_rw_error to pass this specific case into cli_close_connection() from smbmount as smb_rw_error can have only selected number of states and it is ignored in cli_close_connection(). Compiled and tested by Lars Mueller from SuSE on x86, x86_64, ppc, ppc64, s390 and s390x. (This used to be commit 738666ce0a310fae14476020fd6dac027b0e3ec5)
2003-08-20metze's autogenerate patch for version.hGerald Carter1-2/+2
(This used to be commit ae452e51b02672a56adf18aa7a7e365eeaba9272)
2003-08-06Get rid of MAXPATHLEN, move to standard PATH_MAX.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 455ed2d51d86f39ce0fa6e6abca31a5425d2ea17)
2003-07-04More conversions I missed. Thanks metze.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 4f78d747e66b38edcd2a5754681f9a01aeaf7864)
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-04-08Update smbmount to include unicode and lfs capabilities options -- smbfs ↵Alexander Bokovoy1-9/+16
supports this already (This used to be commit fbbb9a6660e1e384d7a4ff4c5fe2d077246bedd1)
2003-03-18Add an extra parameter to our 'set_remote_machine_name' andAndrew Bartlett1-1/+1
'set_local_machine_name' so that the client can't change it from under us. (.NET RC2 and WinXP install calls the machine 'machinename' during NTLMSSP on the domain join). Andrew Bartlett (This used to be commit 4c7163e7c2cc09bd95faa05156ee480957a7a4d8)
2003-02-24Cleint-side-auth/kerberos fixes from HEAD, and don't connect to a shareAndrew Bartlett1-5/+55
twice, let the libsmb code determine what form the share name should take. Andrew Bartlett (This used to be commit a25f6126647c94551c03bfc28e3fb5ec5ef6264a)
2003-01-15s/WIFSIGNALLED/WIFSIGNALED/gGerald Carter1-1/+1
(This used to be commit dc6cda595179b8c53f15d4bc92faf782f3e2d482)
2003-01-15*lots of small merges form HEADGerald Carter1-1/+5
*sync up configure.in *don't build torture tools in make all *make sure to remove torture tools as part of make clean (This used to be commit 0fb724b3216eeeb97e61ff12755ca3a31bcad6ef)
2002-11-13Sorry Jim we can't assign to global_xxx(), we need to call set_global_xxx()Jeremy Allison1-1/+1
to ensure the malloc is done. Jeremy. (This used to be commit 57f7ab45b783f64a3f3337a893ba3ddef953c133)
2002-11-13Bring smbmount.c in line with jra's global-cide. global_scope was used here...Jim McDonough1-2/+1
(This used to be commit 79a0f2c2519b0503a8323fd0babfd18ec59b8d5e)
2002-11-09Merge append_log fix from HEADAndrew Bartlett1-2/+0
(This used to be commit 2e338654170cecf5cc46b75958242a4732e1cd3f)
2002-08-17sync 3.0 branch with headJelmer Vernooij1-2/+1
(This used to be commit 3928578b52cfc949be5e0ef444fce1558d75f290)
2002-03-14getpid() -> sys_getpid()Tim Potter1-20/+20
(This used to be commit a3cea5e9ae3b53ecbc45e61a39cbce0ca1b916aa)
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)
2002-01-05One line fix to get smbmount working again.Andrew Bartlett1-0/+3
This just turns of SPNGO becouse Win2k breaks if you attempt this and DOS errors at the same time. Andrew Bartlett (This used to be commit 2c09907b537147189e77810f586558be6004733b)
2001-12-19Fix for extra capabilities from Urban Widmark <urban@teststation.com>.Jeremy Allison1-25/+33
Jeremy. (This used to be commit e943ace4f0fc70476668b0445acd91314a2e2a01)
2001-11-28fix a bunch of places where we can double-free a cli structureAndrew Tridgell1-6/+0
(This used to be commit e2ba2383c9f679c076749a8f4fccefc3559e37ec)
2001-11-26Got medieval on another pointless extern. Removed extern struct ipzeroTim Potter1-5/+2
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-26Fixed compiler warnings and dyn_CONFIGFILE related breakage.Tim Potter1-10/+9
(This used to be commit bf491d2aa2e99156b4e80bc9d89ab34cfb3c4cf4)
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-20Rename xmalloc, xmemdup, xstrdup to smb_$1 to avoid conflicts with theMartin Pool1-4/+4
versions defined by libreadline on SCO (!). (This used to be commit 32480d7aff21ce1c14991e242aaf8a4e14ec6f2a)
2001-11-19Store some path names in global variables initialized to configureMartin Pool1-8/+17
default, rather than in preprocessor macros. (This used to be commit 79ec88f0da40faebe1e587f1b3e87b5f2b184f58)
2001-10-24Remove xstrdup since it was added to lib/util.c. Caused compile failureJim McDonough1-13/+0
(This used to be commit 43c384fa7854a9592ce5e5b67cb650c91ea09a76)
2001-10-02Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.Tim Potter1-1/+0
(This used to be commit 2d0922b0eabfdc0aaf1d0797482fef47ed7fde8e)