summaryrefslogtreecommitdiff
path: root/source3/client
AgeCommit message (Collapse)AuthorFilesLines
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 e57853000aacc61ba3c73907a7afb85385b378c3)
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 5170a9f7ffac93c619358353834bc3024a6746d2)
2002-11-12Removed global_myworkgroup, global_myname, global_myscope. Added liberalJeremy Allison2-19/+14
dashes of const. This is a rather large check-in, some things may break. It does compile though :-). Jeremy. (This used to be commit 82b8f749a36b42e22186297482aad2abb04fab8a)
2002-11-09Kill append_log from smbmount (thanks vance for reminding me).Andrew Bartlett1-2/+0
Andrew Bartlett (This used to be commit 7501b2a51835bae005d2ac015c3a428eaadce032)
2002-11-04Move testsmbc.c to examplesJelmer Vernooij1-455/+0
(This used to be commit fdd70614d2dc29f6a676c30e254a0bf024687fb4)
2002-10-18Don't encourage people to use -P - it's obsoleteJelmer Vernooij1-1/+0
(This used to be commit 59ecac901a231383bd4cacb326724f786e3d7244)
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 b521abd86b10573ca8f9116907c81e6deb55f049)
2002-10-03Patch from Steve Langasek <vorlon@netexpress.net> to use nice big integers whenAndrew Bartlett1-4/+4
attempting to calculate the bytes/second being transferred. (Avoid overflow etc) Andrew Bartlett (This used to be commit cd41e5ab857a33e05fa231756ff15707f2f5ce23)
2002-09-29Make sure that variable does not shadow a parameter.Richard Sharpe1-6/+6
(This used to be commit d83cae2bbd1625aeb3b7c73ba8dde2d1371e7f89)
2002-09-28Commit a fix to smbclient so that it will connect to EMCs and NetApp's machines.Richard Sharpe1-3/+18
(This used to be commit 1e4ac9615d26bfbf90e3a45f088564f448f689ce)
2002-09-23Don't uppercase the username and domain in a session setup.Tim Potter1-2/+0
(This used to be commit 0ad19825df318030b1772404570cd993fe49e40a)
2002-09-05Fixed a little, long standing bug: smbclient -M <name> should resolveVolker Lendecke1-3/+8
name#03, not name#20. Volker (This used to be commit 99017e887e4189ac7f6e3b7df08f028dc155191e)
2002-08-28fix wrong checkSimo Sorce1-1/+1
(This used to be commit cb0ed2faa5ed9163421a0f58d45bcd7ec38f06ec)
2002-08-27Remove strsep - non portable.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 03c49b2e519acb8cc7278ac97a203a7d122d2869)
2002-08-27add a trivial seeking function to xfile (tseek) that does not do SEEK_CURSimo Sorce1-22/+116
and add commands reget and reput to smbclient that continues a transfer that has been onterrupted. thanks to josef Zlomek that did the original patch. (This used to be commit b275547c9ecc13bede5bd21a392fa1d695a3926d)
2002-08-20fix typosSimo Sorce1-2/+2
thanks Josef Zlomek (This used to be commit fb32fd99b9878db2bacf0588d30fd5f1f37dbfd7)
2002-08-10Fix the %m security bug again - and try to make it harder to reintroduce inAndrew Bartlett1-2/+1
future. This moves us from fstrcpy() and global variables to 'get' and 'set' functions. In particular, the 'set' function sainity-checks the input, in the same way as we always have. Andrew Bartlett (This used to be commit e57a896f06b16fe7e336e1ae63a0c9e4cc75fd36)
2002-07-28fix for smbtar filename matchingAndrew Tridgell1-1/+1
samba-patches 852 (This used to be commit e2558baa32657a71fd7e0958446f72e373cfadc9)
2002-07-21Looks like I missed this earlier. We should connect as the specified workgroupAndrew Bartlett1-1/+1
- sombody using smbspool won't always have a full smb.conf, and this is how it was written in the first place anyway. Again, found by the IRIX compiler. Andrew Bartlett (This used to be commit 31181158766cd5f0e8409854f3c304f6fb46582b)
2002-07-20More fixes towards warnings on the IRIX compilerAndrew Bartlett1-8/+5
(and yes, some of these are real bugs) In particular, the samr code was doing an &foo of various types, to a function that assumed uint32. If time_t isn't 32 bits long, that broke. They are assignment compatible however, so use that and an intermediate variable. Andrew Bartlett (This used to be commit 30d0998c8c1a1d4de38ef0fbc83c2b763e05a3e6)
2002-07-13Make smbmnt a standalone program from a linker point of view. Hopefully thisAndrew Bartlett1-2/+2
will make it easier to prove this package correct from an audit point of view. smbumount to follow, but it uses pstrcpy() so I'll need to decide what to do with that. Andrew Bartlett (This used to be commit 62c56f97248109ca80cc155974584bea9704cd50)
2002-07-13- fixed a crash bug for 'print -'Andrew Tridgell2-3/+4
- removed an unused variable (This used to be commit 66af95716de470600b0db58bdf8a1f0c15dba036)
2002-07-02fixed a prototype problem in client.cAndrew Tridgell1-0/+3
(This used to be commit 922ab73c3c8f510fdbcb8b64d54b512d32c47b75)
2002-07-01used findstatic.pl to make some variables static and remove some deadAndrew Tridgell2-25/+25
code (This used to be commit 91ad9041e9507d36eb3f40c23c5d4df61f139ef0)
2002-06-25Update cli_full_connection() to take a 'flags' paramater, and try to get aAndrew Bartlett1-57/+11
few more places to use it. Andrew Bartlett (This used to be commit 23689b0746d5ab030d8693abf71dd2e80ec1d7c7)
2002-06-25And another .cvsignoreAndrew Bartlett1-0/+1
(This used to be commit fa0037a294a9faaf3cdc894e2ec1280dad157553)
2002-06-25Break up samba's object dependencies, and its prototype includes.Andrew Bartlett2-1/+2
Now smbclient, net, and swat use their own proto files - now the global proto.h The change to libads/kerberos.c was to break up the dependency on secrets.c - we want to be able to write an ADS client that doesn't need local secrets. I have other breakups in the works - I will remove the dependency of rpc_parse on passdb (and therefore secrets.c) shortly. (NOTE: This patch does *not* break up includes.h, or other such forbidden actions). Andrew Bartlett (This used to be commit edb41dad2df0ae3db364dbc3896cc75956262edf)
2002-06-25removed compiler warningGerald Carter1-1/+1
(This used to be commit 73ba155a6bba150b5bd8385fd609ed7fea30f02f)
2002-05-17This removes --with-ssl from Samba.Andrew Bartlett1-4/+0
This option was badly maintained, useless and confused our users and distirbutors. (its SSL, therfore it must be good...) No windows client uses this protocol without help from an SSL tunnel. I can't see any reason why setting up a unix-side SSL wrapper would be any more difficult than the > 10 config options this mess added to samba in any case. On the Samba client end, I think the LIBSMB_PROG hack should be sufficient to start stunnel on the unix side. We might extend this to take %i and %p (IP and port) if there is demand. Andrew Bartlett (This used to be commit b04561d3fd3ee732877790fb4193b20ad72a75f8)
2002-05-14segfault fix merged from SAMBA_2_2Gerald Carter1-3/+15
(This used to be commit d3388d195308cf7fba83734424e78b5248786af5)
2002-03-14getpid() -> sys_getpid()Tim Potter1-20/+20
(This used to be commit a3cea5e9ae3b53ecbc45e61a39cbce0ca1b916aa)
2002-01-31Fix from Michael Steffens <michael_steffens@hp.com> to make signalJeremy Allison1-1/+1
processing work correctly in winbindd. This is a really good patch that gives full select semantics to the Samba modified select. Jeremy. (This used to be commit 3af16ade173cac24c1ac5eff4a36b439f16ac036)
2002-01-30Removed version number from file header.Tim Potter6-12/+6
Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
2002-01-29Doc.Martin Pool1-1/+4
(This used to be commit 91e8cb76628e9fcc5dc117d98d464b26db71654e)
2002-01-21Make the -L option to smbclient slightly less gross:Martin Pool1-4/+22
smbclient -L //nautilus1/ should definitely not say "unknown host "nautilus1/". Sheesh. (This used to be commit 1cd431b8f17e5ac394436d31f64032387ca11930)
2002-01-19fixes (asprintf) from 2.2Simo Sorce1-4/+4
(This used to be commit 6b123adda901ff05b0271eeda060297448f64eec)
2002-01-17Move the bang (!) command back to the bottom of the list, allowing smbclientAndrew Bartlett1-1/+3
to function again. Add comment to warn anybody that wants to 'Alphabetize' the list to read crh's existing comment on the issue. Andrew Bartlett (This used to be commit d123d79060caf3ad084e733dac02aa2f67bda35f)
2002-01-16Alphabetize.Jeremy Allison1-3/+3
Jeremy. (This used to be commit 64301bc5f75283c948630d2b78d28e3869db39a2)
2002-01-16Added CIFS UNIX extension code to client.Jeremy Allison1-0/+146
Jeremy. (This used to be commit 794c3e2c76aae57d054e46b185def104ca02977c)
2002-01-10browse_fn: FIXME: If the remote machine returns non-ascii charactersMartin Pool1-0/+3
in any of these fields, they can corrupt the output. We should remove them. (This used to be commit 934aacdb39a0c21c43505dbba696b746f1333df3)
2002-01-09FIXME: At the moment, if the user should happen to give the optionsMartin Pool1-1/+7
ahead of the service name (in standard Unix fashion) then smbclient just spits out the usage message with no explanation of what in particular was wrong. Is there any reason we can't just parse out the service name and password after running getopt?? (This used to be commit 5f6feb55d7e7566549141ebb1786b6f2f9f2645b)
2002-01-07merge changes from 2.2 branch to prevent smb.conf from changing debug levelHerb Lewis1-0/+2
of commands when specified on command line. (This used to be commit 39d6b31e14144a3ff4b992d4286b706147e58566)
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-21- handle kerberos session setup reply with broken null terminationAndrew Tridgell1-9/+4
- don't display Domain=[] for auth protocols that don't give us a domain (This used to be commit 20368455ea59e6e9b85632848bbe92069e7b0f38)
2001-12-20Removed global debugf. Replaced with lp_set_logfile(name).Jeremy Allison1-3/+3
Fixed winbindd to finally stop leaving log. file droppings :-). Jeremy. (This used to be commit 0bea6cf79a44f79fa3a4f2c8381e898e79c66509)
2001-12-19Fix for extra capabilities from Urban Widmark <urban@teststation.com>.Jeremy Allison1-25/+33
Jeremy. (This used to be commit e943ace4f0fc70476668b0445acd91314a2e2a01)
2001-12-19Patch from dan_thibadeau@hp.com to allow domain set in authfile.Jeremy Allison1-1/+2
Jeremy. (This used to be commit 5700cbbd3fc0175932890df5f5ceb4931ba50dd3)
2001-11-28fixed some krb5 ifdefsAndrew Tridgell1-1/+1
(This used to be commit 23ef22f11700bbaa5778a9678a990a2b041fcefe)
2001-11-28fix a bunch of places where we can double-free a cli structureAndrew Tridgell2-10/+0
(This used to be commit e2ba2383c9f679c076749a8f4fccefc3559e37ec)
2001-11-26Got medieval on another pointless extern. Removed extern struct ipzeroTim Potter3-14/+8
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)