summaryrefslogtreecommitdiff
path: root/source3/client/client.c
AgeCommit message (Collapse)AuthorFilesLines
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)
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)
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-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 Tridgell1-4/+0
(This used to be commit e2ba2383c9f679c076749a8f4fccefc3559e37ec)
2001-11-26Got medieval on another pointless extern. Removed extern struct ipzeroTim Potter1-7/+5
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-24added "net join" commandAndrew Tridgell1-1/+1
this completes the first stage of the smbd ADS support (This used to be commit 058a5aee901e6609969ef7e1d482a720a84a4a12)
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-6/+8
default, rather than in preprocessor macros. (This used to be commit 79ec88f0da40faebe1e587f1b3e87b5f2b184f58)
2001-11-02Return 1 (rather than 0) on failure. This may well help get the build farmAndrew Bartlett1-1/+1
back into order, becouse its the inverse tests that are 'failing' - they get error 0 back and think that we just let sombody in without a password and the like. Andrew Bartlett (This used to be commit 83c2d7977445b511989b449959141aeed4bcf0b7)
2001-10-19client : Fixed error return.Jeremy Allison1-0/+2
uid.c: Added missing void. Jeremy. (This used to be commit c2e06ed2219860479868fd1ac18013ae4f891e10)
2001-10-12added NTLMSSP authentication to libsmb. It seems to work well so I have ↵Andrew Tridgell1-4/+1
enabled it by default if the server supports it. Let me know if this breaks anything. Choose kerberos with the -k flag to smbclient, otherwise it will use SPNEGO/NTLMSSP/NTLM (This used to be commit 076aa97bee54d182288d9e93ae160ae22a5f7757)
2001-10-11first step in converting the head branch to use lang_tdb.c insteadAndrew Tridgell1-2/+4
of gettext for internationalisation support. There is more to do (This used to be commit ab7f67677a1ade4669e5c2750d0a38422ea616a9)
2001-10-11initial kerberos/ADS/SPNEGO support in libsmb and smbclient. ToAndrew Tridgell1-1/+54
activate you need to: - install krb5 libraries - run configure - build smbclient - run kinit to get a TGT - run smbclient with the -k option to choose kerberos auth (This used to be commit d33057585644e1337bac743e25ed7653bfb39eef)
2001-10-10ops, remove my test code, sorry.Simo Sorce1-9/+5
fix some return codes missed in previous commit. (This used to be commit de70a56e04d68dd3d4f8074118c141bafe201686)
2001-10-09initial support to error report in smbclient, useful when using smbclient -c ↵Simo Sorce1-78/+158
in scripts. Thanks to Claudio Cicali aka FleXer for the initial patch (This used to be commit 53b95b3c0fd087b1cade95fd8de849547ac3bfcb)
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)
2001-09-30I told Jeremy at the CIFS conference that I would sort the command listChristopher R. Hertel1-30/+33
in smbclient. Done. I had a little trouble because the "!" command is a special case and must be listed last. Awkward. Chris -)----- (This used to be commit 14bfd9107a9c875c54e281262f8061c20a5e9398)
2001-09-17introduce SAFE_FREE() macro as suggested by andreas moroder.Simo Sorce1-25/+21
(This used to be commit b7edd55885791f9aded11a0b0a131e02a819f374)
2001-09-16Fix compile warnings on IRIX's cc.Andrew Bartlett1-3/+3
(This used to be commit 5b369bce69c2cbe01f938a643d3b9e71bc2075c4)