summaryrefslogtreecommitdiffstats
path: root/source/client/client.c
Commit message (Collapse)AuthorAgeFilesLines
* - 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
|
* Got medieval on another pointless extern. Removed extern struct ipzeroTim Potter2001-11-261-7/+5
| | | | | | | and replaced with two functions: void zero_ip(struct in_adder *ip); BOOL is_zero_ip(struct in_addr ip);
* added "net join" commandAndrew Tridgell2001-11-241-1/+1
| | | | this completes the first stage of the smbd ADS support
* Removed TimeInit() call from every client program (except for one placeTim Potter2001-11-231-2/+0
| | | | | in smbd/process.c where the timezone is reinitialised. Was replaced with check for a static is_initialised boolean.
* Store some path names in global variables initialized to configureMartin Pool2001-11-191-6/+8
| | | | default, rather than in preprocessor macros.
* Return 1 (rather than 0) on failure. This may well help get the build farmAndrew Bartlett2001-11-021-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
* client : Fixed error return.Jeremy Allison2001-10-191-0/+2
| | | | | uid.c: Added missing void. Jeremy.
* added NTLMSSP authentication to libsmb. It seems to work well so I have ↵Andrew Tridgell2001-10-121-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
* first step in converting the head branch to use lang_tdb.c insteadAndrew Tridgell2001-10-111-2/+4
| | | | of gettext for internationalisation support. There is more to do
* initial kerberos/ADS/SPNEGO support in libsmb and smbclient. ToAndrew Tridgell2001-10-111-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
* ops, remove my test code, sorry.Simo Sorce2001-10-101-9/+5
| | | | fix some return codes missed in previous commit.
* initial support to error report in smbclient, useful when using smbclient -c ↵Simo Sorce2001-10-091-78/+158
| | | | | | in scripts. Thanks to Claudio Cicali aka FleXer for the initial patch
* Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.Tim Potter2001-10-021-1/+0
|
* I told Jeremy at the CIFS conference that I would sort the command listChristopher R. Hertel2001-09-301-30/+33
| | | | | | | in smbclient. Done. I had a little trouble because the "!" command is a special case and must be listed last. Awkward. Chris -)-----
* introduce SAFE_FREE() macro as suggested by andreas moroder.Simo Sorce2001-09-171-25/+21
|
* Fix compile warnings on IRIX's cc.Andrew Bartlett2001-09-161-3/+3
|
* declare dbf in one spotAndrew Tridgell2001-09-101-1/+0
|
* replaced stdio in many parts of samba with a XFILE. XFILE is a cut-downAndrew Tridgell2001-09-101-19/+19
| | | | | | | | | replacemnt of stdio that doesn't suffer from the 8-bit filedescriptor limit that we hit with nasty consequences on some systems I would eventually prefer us to have a configure test to see if we need to replace stdio, but for now this code needs to be tested widely so I'm enabling it by default.
* fixed typoAndrew Tridgell2001-09-091-1/+1
|
* removed pointless parameter from readfile()Andrew Tridgell2001-09-091-3/+3
|
* added "display charset" option in smb.conf, along with d_printf()Andrew Tridgell2001-09-071-117/+118
| | | | | | | | | which should now be used instead of DEBUG(0) or printf() for interactive messages I have only converted client.c to use d_printf(), and the code hasn't had much testing yet. Eventually we want all interactive code to use d_printf(), plus SWAT
* the next stage in the NTSTATUS/WERROR change. smbd and nmbd now compile, but ↵Andrew Tridgell2001-09-041-2/+3
| | | | the client code still needs some work
* fixed handling of 139/445 in clientsAndrew Tridgell2001-08-241-3/+3
|
* a bunch of fixes from the sflight to seattleAndrew Tridgell2001-08-201-1/+1
| | | | | | in particular: - fixed NT status code for a bunch of ops - fixed handling of protocol levels in ms_fnmatch
* this is a big global fix for the ptr = Realloc(ptr, size) bug.Simo Sorce2001-08-121-2/+4
| | | | | | many possible mem leaks, and segfaults fixed. someone should port this fix to 2.2 also.
* Change all realloc() statements to Realloc() (ecxept for tdb.c)Simo Sorce2001-08-081-0/+4
| | | | | | | changed some code to exploit the fact that Realloc(NULL, size) == malloc(size) fixed some possible mem leaks, or seg faults. thanks to andreas moroder (mallocs not checked in client/client.c, client/smbumount.c)
* strchr and strrchr are macros when compiling with optimisation in gcc, so we ↵Andrew Tridgell2001-07-041-11/+11
| | | | can't redefine them. damn.
* The big character set handling changeover!Andrew Tridgell2001-07-041-24/+14
| | | | | | | This commit gets rid of all our old codepage handling and replaces it with iconv. All internal strings in Samba are now in "unix" charset, which may be multi-byte. See internals.doc and my posting to samba-technical for a more complete explanation.