summaryrefslogtreecommitdiff
path: root/source3/client/client.c
AgeCommit message (Collapse)AuthorFilesLines
2003-09-09sync 3.0 into HEAD for the last timeGerald Carter1-189/+250
(This used to be commit c17a7dc9a190156a069da3e861c18fd3f81224ad)
2003-08-02port latest changes from SAMBA_3_0 treeSimo Sorce1-7/+31
(This used to be commit 3101c236b8241dc0183995ffceed551876427de4)
2003-07-16trying to get HEAD building again. If you want the codeGerald Carter1-10/+9
prior to this merge, checkout HEAD_PRE_3_0_0_BETA_3_MERGE (This used to be commit adb98e7b7cd0f025b52c570e4034eebf4047b1ad)
2003-05-29Don't crash when doing command name completion. Fixes debian bug #194776Jelmer Vernooij1-1/+3
(This used to be commit 45b0a63aba1c974e5e38f8f95bc158bc30a05a3b)
2003-05-28Merge of non-static initialisation fixes from 3.0Tim Potter1-1/+7
(This used to be commit 7f32b3f016ecc824ddcdaeb840d5d36224aa8141)
2003-05-10Reverse previous patch from Stefan and me after comments by Andrew Bartlett.Jelmer Vernooij1-2/+0
(This used to be commit d31509fe88da8727521586dced1da2c73bfee2bc)
2003-05-10Patch from metze and me that adds dummy smb_register_*() functionsJelmer Vernooij1-0/+2
(This used to be commit 367a5cad1edf6a49783806d5a8b59a62d8856706)
2003-05-10Fix for possible segfault in readline handler. Found by vitalyb@mail333.com.Jeremy Allison1-1/+2
Jeremy. (This used to be commit ec36cb4f6f59dac2f459d831f960152603e12633)
2003-04-28Merge of -W fixes for bug #39:Tim Potter1-10/+8
>Replace workgroup global variable with lp_workgroup() > >Call lp_load() before parsing command line options so we can override >the workgroup value with the -W switch. (This used to be commit 272d06369d79250b484a22bc7e531eecd03e7c90)
2003-04-19some readline completion exancementsSimo Sorce1-23/+164
still need working, does not complete remote names yet (This used to be commit 625eee8e03c3905a245e078ef9f1c26200e33d7c)
2003-03-24Add static to satisfy exotic compilersJelmer Vernooij1-1/+1
(This used to be commit 269c93ca269e5badd5475d9ad53d06f9cb111d2c)
2003-03-24Revoke some of the popt patch from metze I applied earlier today. It addedJelmer Vernooij1-1/+2
some double options and broke some parameters. (This used to be commit d5f9b0275c91512e1926504f22aaeec2d104430d)
2003-03-24Patch from metze to generalise POPT_COMMON_SAMBA, with some minor changesJelmer Vernooij1-11/+5
(This used to be commit 2ddfed298d7f0b6e690275725a39c3ef107077ae)
2003-03-23Don't declare variables after instructionsJelmer Vernooij1-12/+12
(This used to be commit 818bc35da7b66aa8c4156406b7ab3304d4c94a72)
2003-03-22Convert to popt.Jelmer Vernooij1-361/+85
(This used to be commit 10c2fe08b6fdc2a9985a154b93555197bf5815fa)
2003-03-16 - Make ReadDirName return a const char*.Andrew Bartlett1-1/+1
- Consequential changes from that - mark our fstring/pstring assumptions in function prototypes Andrew Bartlett (This used to be commit fe2bc64bc439b27387b8f326b0f4f3bfcc3d04a1)
2003-03-15If the server went away, don't segfault by attempting to FD_SET -1.Andrew Bartlett1-0/+3
Andrew Bartlett (This used to be commit 4b1337ee94a19e39a2f4012c4dbc32a2e58cacf5)
2003-03-06More safe_strcpy() off-by-one bug fixes. (mostly moves to pstrcpy()/fstrcpy())Andrew Bartlett1-3/+3
Andrew Bartlett (This used to be commit 42b5514404bc7e33306c11344c6c934a1f83d295)
2003-02-25Fix breakage done by myself yesterday.Tim Potter1-6/+3
(This used to be commit f4492de2d668082df6ae06933d12a3cfe120d403)
2003-02-25Fixed up some const related compiler warnings.Tim Potter1-3/+6
(This used to be commit 923425e497112c5d1e2e569da6c13dcd02b6a8af)
2003-02-18The cli_send_tconX code already determines to send \\server\share to port 139Andrew Bartlett1-18/+3
and share to 445, so doing this only confuses the issue (sending \\server\\server\share to 139) and makes debugging specific error codes more difficult. Andrew Bartlett (This used to be commit 1a723bcda72901dac00b36955e860e3af23c0dc6)
2003-02-15Antti Andreimann <Antti.Andreimann@mail.ee> has done some changes to enableAndrew Bartlett1-1/+6
users w/o full administrative access on computer accounts to join a computer into AD domain. The patch and detailed changelog is available at: http://www.itcollege.ee/~aandreim/samba This is a list of changes in general: 1. When creating machine account do not fail if SD cannot be changed. setting SD is not mandatory and join will work perfectly without it. 2. Implement KPASSWD CHANGEPW protocol for changing trust password so machine account does not need to have reset password right for itself. 3. Command line utilities no longer interfere with user's existing kerberos ticket cache. 4. Command line utilities can do kerberos authentication even if username is specified (-U). Initial TGT will be requested in this case. I've modified the patch to share the kinit code, rather than copying it, and updated it to current CVS. The other change included in the original patch (local realms) has been left out for now. Andrew Bartlett (This used to be commit ce52f1c2ed4d3ddafe8ae6258c90b90fa434fe43)
2003-02-07Samba janitors: applying mbp's redundant umask fix.Jeremy Allison1-4/+0
Jeremy. (This used to be commit 45d4e58ca5da1c01f135470257bb17a5257e6fb2)
2003-01-11Fix a number of client-side fstring/pstring mixups.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit fe1cc779d5ea77e87dbc0e2edf7c34a354fee6e0)
2003-01-07Added code to the handling of the -M option to ensure that we default toChristopher R. Hertel1-4/+10
port 139 for that option. The NetBIOS Messenger Service doesn't run on a non-NBT port. (This used to be commit 02986f3e3a8b0411f7cfbfe11015602fe685a440)
2003-01-02BIG patch...Andrew Bartlett1-2/+2
This patch makes Samba compile cleanly with -Wwrite-strings. - That is, all string literals are marked as 'const'. These strings are always read only, this just marks them as such for passing to other functions. What is most supprising is that I didn't need to change more than a few lines of code (all in 'net', which got a small cleanup of net.h and extern variables). The rest is just adding a lot of 'const'. As far as I can tell, I have not added any new warnings - apart from making all of tdbutil.c's function const (so they warn for adding that const string to struct). Andrew Bartlett (This used to be commit 92a777d0eaa4fb3a1c7835816f93c6bdd456816d)
2002-12-05fix stat reporting on put commandHerb Lewis1-1/+1
(This used to be commit c53e10ff879535e931cb3267d9190fd798d85b31)
2002-11-12Removed global_myworkgroup, global_myname, global_myscope. Added liberalJeremy Allison1-12/+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 82b8f749a36b42e22186297482aad2abb04fab8a)
2002-10-18Don't encourage people to use -P - it's obsoleteJelmer Vernooij1-1/+0
(This used to be commit 59ecac901a231383bd4cacb326724f786e3d7244)
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-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-07-13- fixed a crash bug for 'print -'Andrew Tridgell1-1/+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 Tridgell1-13/+13
code (This used to be commit 91ad9041e9507d36eb3f40c23c5d4df61f139ef0)
2002-06-25Break up samba's object dependencies, and its prototype includes.Andrew Bartlett1-1/+1
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-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 Potter1-2/+1
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)