summaryrefslogtreecommitdiffstats
path: root/source/client
Commit message (Collapse)AuthorAgeFilesLines
* `Michael Warfield1999-02-012-18/+63
|
* Making the -p functionality in smbclient work again!Richard Sharpe1999-01-261-2/+3
| | | | Added a function cli_set_port to clientgen.c
* Adding Richard's change into 2.0.Jeremy Allison1999-01-171-0/+11
| | | | Jeremy
* client/client.c: Fixed comment.Jeremy Allison1998-12-301-1/+1
| | | | | | All others - added checks for the compiler understanding volatile and the system having sig_atomic_t. Changed sighup code to use this. Jeremy.
* Fixed tar recursion bug (it was a *.* mask instead of * being used, youJeremy Allison1998-12-171-1/+1
| | | | | were right Andrew :-). Jeremy.
* HPUX fix. This looks like a big change but isn't actually, most of theJeremy Allison1998-12-102-9/+9
| | | | | | | | | | | | | | | | changes are bzero -> memset as the compiler on HPUX is very picky about bzero (probably a strange define). The significant changes are in configure.in, to fix the HPUX shadow.h problem and also move the large file support to the correct place. passdb/pass_check.c: Added includes for KRB5, DCE and AFS if requested in autoconf. tests/trapdoor.c: Fix to use setresuid and setresgid if defined. The rest of the changes are bzero -> memset. Jeremy.
* client/clientutil.c: Changed workgroup to "" for smbmount (only codeJeremy Allison1998-12-031-1/+1
| | | | | | | | | that still uses clientutil.c). passdb/passdb.c: Changed dos_mkdir to mkdir. Changed fchmod to chmod for some UNIX's that don't have fchmod. passdb/smbpass.c: Added test for uid with leading '-'. smbd/ipc.c: Added fix for invalid info level from Scott Moomaw <scott@bridgewater.edu>. Jeremy.
* Makefile.in: Implemented andrej's private and swat file changes.Jeremy Allison1998-12-011-9/+10
| | | | | | | | | configure.in: Implemented andrej's private and swat file changes and SINIX changes. client/smbmount.c: Head branch race condition fix. lib/system.c: Fix compile for OS's that don't have shared mmap. smbd/dfree.c: Fix compile for STAT_STATVFS64 as well as STAT_STATVFS. utils/smbpasswd.c: Tidied up error messages. Jeremy.
* Added lib/doscalls.c : This file collects all the calls that use dos_to_unix()Jeremy Allison1998-11-241-3/+3
| | | | | | | | | | | | | | | | | | | to map filenames before accessing the UNIX filesystem. The other changes are to make the code that previously allways called the ambiguous functions (such as file_size(), that internally called dos_to_unix()) to be unambiguous. For example: file_size() becomes "dos_file_size()", that calls dos_to_unix(), and file_size(), that does not. It is now very explicit when we are calling a dos mapping call and when we are not. Also added string_to_sid unsigned fix by adding the strtoul from libg++ code into lib/replace.c and testing for strtoul in configure.in. Jeremy.
* Changed samba.anu.edu.au -> samba.orgJeremy Allison1998-11-231-2/+4
| | | | | Added Andrew's all_string_sub changes. Jeremy.
* Changed (most) open()/fopen()/creat()/mmap() calls to use sys_XXX() instead.Jeremy Allison1998-11-172-7/+7
| | | | | | Needed as in the 64 bit file spec new open types are needed on many OS's to be able to seek past 32bits. Jeremy.
* automatically uppercase server and share names (win95 won't handleAndrew Tridgell1998-11-141-6/+0
| | | | lowercase share names!)
* fixed setmode in smbclientAndrew Tridgell1998-11-141-7/+6
|
* - handle servers that don't support getattrE (ie. NT)Andrew Tridgell1998-11-142-4/+6
| | | | - use * in clitar instead of *.*
* Fixed problem with smbclient issuing '*.*' to NT server when anJeremy Allison1998-11-141-5/+5
| | | | | NT server needs '*'. Win95/98 doesn't care either way :-). Jeremy.
* prompt for password on smbclient -LAndrew Tridgell1998-11-141-1/+0
|
* Makefile.in configure configure.in include/config.h.in: Changes for DGUX and ↵Jeremy Allison1998-11-131-1/+1
| | | | | | | | | | | | | | UNIXWARE. groupdb/aliasdb.c groupdb/aliasfile.c groupdb/groupfile.c: Don't use snprinf, use slprintf. include/includes.h: Fix YP problem. include/smb.h: Fix ZERO_STRUCTP. lib/util_sock.c: Added strerror() in debugs. passdb/ldap.c: Don't use snprinf, use slprintf. rpc_client/cli_lsarpc.c rpc_client/cli_pipe.c rpc_parse/parse_sec.c rpc_server/srv_pipe.c: Don't use snprinf, use slprintf. script/installman.sh: DGUX changes. smbd/open.c smbd/oplock.c: Fixed gcc warnings. web/swat.c: Changes USER to SWAT_USER.
* Fixed timing window created by daemonize function. Smbmount was going daemonMichael Warfield1998-11-131-7/+10
| | | | | | | | before the mount was actually completed. This caused weird problems when used with autofs such as empty directories on first listing or files which would appear in "ls" but would return "no such file or directory" under "ls -l". Note to Volker: Initial attempt from CIFS conference didn't work. Had to move daemonize function inside of loop after ioctl.
* fixes for OSF1 compilationAndrew Tridgell1998-11-131-1/+1
|
* please remember to check that code compiles before checkin!Andrew Tridgell1998-11-121-2/+2
|
* .cvsignore: Removed old entries.Herb Lewis1998-11-121-1/+13
| | | | | | | | | | | | client/client.c: include/client.h: Added some debug messages that the old client used to generate. These are needed to make scripts such as 'findsmb' work - there may be other changes to keep backwards output compatibility. Do we need a -old-client-compat argument ? libsmb/clientgen.c: Fixed crash bug where malloc'ed data wasn't being cleared - corrupted malloc chains. web/swat.c: John's changes to get rid of "ghost" table entries.
* Makefile.in: Removed rpc_server/srv_ldap_helpers.c per J.F.'s instructions.Jeremy Allison1998-11-092-29/+14
| | | | | | | | | | | | | client/client.c: client/clitar.c: include/client.h: smbwrapper/smbw_dir.c: smbwrapper/smbw_stat.c: smbwrapper/smbw.c: lib/util.c: Converted all use of 'mode' to uint16. smbd/quotas.c: Fixed stupid comment bug I put in there :-(. printing/printing.c: Fix from J.F. to new code. Jeremy.
* converted smbclient to use clientgen.c rather than clientutil.cAndrew Tridgell1998-11-092-4591/+1549
| | | | | | | | | | | | | | | | | | | | | | | I did this when I saw yet another bug report complaining about smbclient intermittently missing files. Rather than applying more patches to smbclient it was better to move to the more robust clientgen.c code. The conversion wasn't perfect, I probably lost some features of smbclient while doing it, but at least smbclient should be consistent now. It if fails it should _always_ fail rather than giving people the false impression of a reliable utility. the tar stuff seems to work, but hasn't had much testing as I never use it myself. I'm sure someone will find bugs in my conversion of smbtar.c. It was quite tricky as it did a lot of its own SMB calls. It now uses clientgen.c exclusively. smbclient is still quite messy, but at least it doesn't build its own SMB packets. I haven't touched smbmount as I never use it. Mike, do you want to convert smbmount to use clientgen.c?
* client/client.c: Patch to tidy up file size output.Jeremy Allison1998-11-021-1/+1
| | | | | | nmbd/nmbd.c: Someone (a "yank" no doubt :-) Changed instances of "initialise" to "initialize". Someone get that man an *English* dictionary.... :-) :-). Jeremy.
* Tidied up option processing in smbclient - usage message now actuallyJeremy Allison1998-10-291-123/+132
| | | | | | | | | reflects the real options. Removed '-S' option - couldn't see what this was doing (seemed to have something to do with nt_domain_logon ?). Luke please check if you needed this code (code is only #ifdef'ed out and can be re-instated). Did this to make writing of yodl smbclient man page possible :-). Jeremy.
* fix for John.Andrew Tridgell1998-10-241-8/+8
| | | | don't seek unless absolutely necessary on files in do_put()
* Unlink zero length files that did NOT exist at the point of origin on a ↵John Terpstra1998-10-241-1/+4
| | | | do_get() call.
* use the username GUEST if no other username is availableAndrew Tridgell1998-10-161-0/+5
|
* fixed a bug in the readline supportAndrew Tridgell1998-10-081-3/+4
|
* somehow "in_client" got included twice in two places.Andrew Tridgell1998-10-071-1/+0
|
* Added capability for smbclient to use the local WINS server on the sameRichard Sharpe1998-10-061-1/+2
| | | | machine if WINSsupport configured
* fixed a cast warningAndrew Tridgell1998-10-051-1/+1
|
* - modified resolve_name() to take a name_typeAndrew Tridgell1998-10-041-1/+1
| | | | | | - cleaned up resolve_name() (split into separate functions for each resolver) - if can't find local master then use #1B name - support listing of foreign workgroups in /smb/
* support using #xx at end of netbios name to connect to the specified name typeAndrew Tridgell1998-10-041-0/+6
|
* Added E Jay Berkenbilt's fixesRichard Sharpe1998-10-042-2/+5
|
* Removed a redundant include for "includes.h"Michael Warfield1998-09-301-3/+1
| | | | | Cleaned up a prototype warning message. smbumount.c now compiles warning free.
* Fixed uid->vuid confusion in smbmount (hopefully).Jeremy Allison1998-09-301-2/+2
| | | | Jeremy.
* Fixed extern definition of cnum in clitar.cJeremy Allison1998-09-291-1/+1
| | | | Jeremy
* Got very strict about the differences and uses ofJeremy Allison1998-09-293-50/+45
| | | | | | | uid_t, gid_t and vuid. Added sys_getgroups() to get around the int * return problem. Set correct datatypes for all uid, gid and vuid variables. Jeremy.
* get away with dummy and .dummy filesAlexandre Oliva1998-09-291-1/+0
|
* Now have a better solution to the need to have smblcient findRichard Sharpe1998-09-291-0/+3
| | | | | | | | | | a WINS server if running on the WINS server. As suggested by Andrew, we have a flag, in_client=False by default, and set it to True in the client. loadparam.c checks this and sets szWINSserver to 127.0.0.1 when in_client && bWINSsupport. BTW, we seem to have picked up and unused value in some of Luke's new code.
* Fixed stupid bug with "cd /" appending a "/" character to the path forever....Jeremy Allison1998-09-291-0/+2
| | | | Jeremy.
* Fixed problems found in lint pass over the old code by <cpeterso@microsoft.com>.Jeremy Allison1998-09-281-3/+18
| | | | | These were the problems that still existed in the 2.0 branch. Jeremy.
* Changes to test in configure if capabilities are enabled on a system.Jeremy Allison1998-09-282-14/+13
| | | | | | | | | | Changes to get Samba to compile cleanly with the IRIX compiler with the options : -fullwarn -woff 1209,1174 (the -woff options are to turn off warnings about unused function parameters and controlling loop expressions being constants). Split prototype generation as we hit a limit in IRIX nawk. Removed "." code in smbd/filename.c (yet again :-). Jeremy.
* Two changes in this ball...Michael Warfield1998-09-283-44/+18
| | | | | | | | | | | | 1) Changes to smbmnt.c, smbmount.c, and smbumount.c allow them to compile on both RedHat 4.x (libc 4.x) systems and RedHat 5.x (glibc 2) systems. 2) Changes to Makefile.in and configure.in (and subsequently configure) are to configure for smbmount, smbumount, and smbmnt to compile. This adds a "--with(out)-smbmount" option to configure. Sanity checking is not present yet. You can specify this if you are not on linux, it just won't compile.
* automated generation of .dummy files for each subdirectory;Alexandre Oliva1998-09-281-1/+0
| | | | | dummy.in files are no longer needed, and new directories will be taken care of automatically, at configure (or config.status --recheck) time
* wait_keyboard must still be defined if readline is not availableAlexandre Oliva1998-09-271-3/+3
|
* Fixed up more possibly uninitialized variables.Richard Sharpe1998-09-271-3/+3
| | | | | | Now only two compilation warnings seem to be left. Luke may want to check the changes I made.
* Small update to clitar.c to omit warnings about servers notRichard Sharpe1998-09-261-4/+5
| | | | | | letting us change the date unless tar_real_noisy is True. Also updated a few places where variables are declared but not set.
* not needed.Luke Leighton1998-09-251-348/+0
|