summaryrefslogtreecommitdiffstats
path: root/source/client/client.c
Commit message (Collapse)AuthorAgeFilesLines
* Add static to satisfy exotic compilersJelmer Vernooij2003-03-241-1/+1
|
* Revoke some of the popt patch from metze I applied earlier today. It addedJelmer Vernooij2003-03-241-1/+2
| | | | some double options and broke some parameters.
* Patch from metze to generalise POPT_COMMON_SAMBA, with some minor changesJelmer Vernooij2003-03-241-11/+5
|
* Don't declare variables after instructionsJelmer Vernooij2003-03-231-12/+12
|
* Convert to popt.Jelmer Vernooij2003-03-221-361/+85
|
* - Make ReadDirName return a const char*.Andrew Bartlett2003-03-161-1/+1
| | | | | | | | - Consequential changes from that - mark our fstring/pstring assumptions in function prototypes Andrew Bartlett
* If the server went away, don't segfault by attempting to FD_SET -1.Andrew Bartlett2003-03-151-0/+3
| | | | Andrew Bartlett
* More safe_strcpy() off-by-one bug fixes. (mostly moves to pstrcpy()/fstrcpy())Andrew Bartlett2003-03-061-3/+3
| | | | Andrew Bartlett
* Fix breakage done by myself yesterday.Tim Potter2003-02-251-6/+3
|
* Fixed up some const related compiler warnings.Tim Potter2003-02-251-3/+6
|
* The cli_send_tconX code already determines to send \\server\share to port 139Andrew Bartlett2003-02-181-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
* Antti Andreimann <Antti.Andreimann@mail.ee> has done some changes to enableAndrew Bartlett2003-02-151-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
* Samba janitors: applying mbp's redundant umask fix.Jeremy Allison2003-02-071-4/+0
| | | | Jeremy.
* Fix a number of client-side fstring/pstring mixups.Andrew Bartlett2003-01-111-1/+1
| | | | Andrew Bartlett
* Added code to the handling of the -M option to ensure that we default toChristopher R. Hertel2003-01-071-4/+10
| | | | | port 139 for that option. The NetBIOS Messenger Service doesn't run on a non-NBT port.
* BIG patch...Andrew Bartlett2003-01-021-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
* fix stat reporting on put commandHerb Lewis2002-12-051-1/+1
|
* Removed global_myworkgroup, global_myname, global_myscope. Added liberalJeremy Allison2002-11-121-12/+7
| | | | | | dashes of const. This is a rather large check-in, some things may break. It does compile though :-). Jeremy.
* Don't encourage people to use -P - it's obsoleteJelmer Vernooij2002-10-181-1/+0
|
* Patch from Steve Langasek <vorlon@netexpress.net> to use nice big integers whenAndrew Bartlett2002-10-031-4/+4
| | | | | | | attempting to calculate the bytes/second being transferred. (Avoid overflow etc) Andrew Bartlett
* Make sure that variable does not shadow a parameter.Richard Sharpe2002-09-291-6/+6
|
* Commit a fix to smbclient so that it will connect to EMCs and NetApp's machines.Richard Sharpe2002-09-281-3/+18
|
* Don't uppercase the username and domain in a session setup.Tim Potter2002-09-231-2/+0
|
* Fixed a little, long standing bug: smbclient -M <name> should resolveVolker Lendecke2002-09-051-3/+8
| | | | | | name#03, not name#20. Volker
* fix wrong checkSimo Sorce2002-08-281-1/+1
|
* add a trivial seeking function to xfile (tseek) that does not do SEEK_CURSimo Sorce2002-08-271-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.
* fix typosSimo Sorce2002-08-201-2/+2
| | | | thanks Josef Zlomek
* - fixed a crash bug for 'print -'Andrew Tridgell2002-07-131-1/+4
| | | | - removed an unused variable
* fixed a prototype problem in client.cAndrew Tridgell2002-07-021-0/+3
|
* used findstatic.pl to make some variables static and remove some deadAndrew Tridgell2002-07-011-13/+13
| | | | code
* Break up samba's object dependencies, and its prototype includes.Andrew Bartlett2002-06-251-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
* removed compiler warningGerald Carter2002-06-251-1/+1
|
* This removes --with-ssl from Samba.Andrew Bartlett2002-05-171-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
* segfault fix merged from SAMBA_2_2Gerald Carter2002-05-141-3/+15
|
* Fix from Michael Steffens <michael_steffens@hp.com> to make signalJeremy Allison2002-01-311-1/+1
| | | | | | processing work correctly in winbindd. This is a really good patch that gives full select semantics to the Samba modified select. Jeremy.
* Removed version number from file header.Tim Potter2002-01-301-2/+1
| | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header.
* Doc.Martin Pool2002-01-291-1/+4
|
* Make the -L option to smbclient slightly less gross:Martin Pool2002-01-211-4/+22
| | | | | | smbclient -L //nautilus1/ should definitely not say "unknown host "nautilus1/". Sheesh.
* fixes (asprintf) from 2.2Simo Sorce2002-01-191-4/+4
|
* Move the bang (!) command back to the bottom of the list, allowing smbclientAndrew Bartlett2002-01-171-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
* Alphabetize.Jeremy Allison2002-01-161-3/+3
| | | | Jeremy.
* Added CIFS UNIX extension code to client.Jeremy Allison2002-01-161-0/+146
| | | | Jeremy.
* browse_fn: FIXME: If the remote machine returns non-ascii charactersMartin Pool2002-01-101-0/+3
| | | | | in any of these fields, they can corrupt the output. We should remove them.
* FIXME: At the moment, if the user should happen to give the optionsMartin Pool2002-01-091-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??
* merge changes from 2.2 branch to prevent smb.conf from changing debug levelHerb Lewis2002-01-071-0/+2
| | | | of commands when specified on command line.
* - handle kerberos session setup reply with broken null terminationAndrew Tridgell2001-12-211-9/+4
| | | | - don't display Domain=[] for auth protocols that don't give us a domain
* Removed global debugf. Replaced with lp_set_logfile(name).Jeremy Allison2001-12-201-3/+3
| | | | | Fixed winbindd to finally stop leaving log. file droppings :-). Jeremy.
* Patch from dan_thibadeau@hp.com to allow domain set in authfile.Jeremy Allison2001-12-191-1/+2
| | | | Jeremy.
* fixed some krb5 ifdefsAndrew Tridgell2001-11-281-1/+1
|
* fix a bunch of places where we can double-free a cli structureAndrew Tridgell2001-11-281-4/+0
|