summaryrefslogtreecommitdiff
path: root/source3/client
AgeCommit message (Collapse)AuthorFilesLines
1998-11-25Makefile.in: Added maintainer mode fixes.Jeremy Allison1-3/+3
aclocal.m4: Added AC_LIBTESTFUNC. configure.in: Fixed -lsecurity -lsec problems. client.c: dos_ fixes. groupdb/aliasunix.c: Dead code removal. include/includes.h: Added default PRINTCAP_NAME. lib/genrand.c: dos_ fixes. lib/replace.c: Added strtoul. lib/system.c: dos_ fixes. lib/util.c: dos_ fixes. lib/util_sid.c: Signed/unsigned fixes. lib/util_str.c: removed bad const. locking/locking_slow.c: dos_ fixes. printing/printing.c: dos_ fixes. rpc_server/srv_samr.c: Dead code removal. rpc_server/srv_sid.c: global_myworkgroup defined with wrong size AGAIN ! smbd/dir.c: dos_ fixes. smbd/open.c: dos_ fixes. smbd/oplock.c: dos_ fixes. smbd/reply.c smbd/server.c smbd/service.c smbd/uid.c: dos_ fixes. Jeremy. (This used to be commit 6acb4b68f68d516e2ac3c47e500f5600d653435e)
1998-11-17Added the same open()/fopen()/creat()/mmap() -> sys_XXX calls.Jeremy Allison2-7/+7
Tidied up some of the mess (no other word for it). Still doesn't compile cleanly. There are calls with incorrect parameters that don't seem to be doing the right thing. This code still needs surgery :-(. Jeremy. (This used to be commit 18ff93a9abbf68ee8c59c0af3e57c63e4a015dac)
1998-11-17Fixed missing NULL check in tar op.Jeremy Allison1-2/+4
Jeremy. (This used to be commit 6db04cd4622289dbdbd0c6d4d084baa8f84c40c2)
1998-11-14automatically uppercase server and share names (win95 won't handleAndrew Tridgell1-6/+0
lowercase share names!) (This used to be commit dddf1d8522707b828cac466c4a9ab2807d098573)
1998-11-14fixed setmode in smbclientAndrew Tridgell1-7/+6
(This used to be commit c58f4965100692d8edcd613a341df9e2ad88cfa0)
1998-11-14- handle servers that don't support getattrE (ie. NT)Andrew Tridgell2-4/+6
- use * in clitar instead of *.* (This used to be commit 2d9335fe2a6fc3bb6687360c99d8fc69cb2d555a)
1998-11-14Fixed problem with smbclient issuing '*.*' to NT server when anJeremy Allison1-5/+5
NT server needs '*'. Win95/98 doesn't care either way :-). Jeremy. (This used to be commit a0adae90cadd7702f8263c97d4495fa093e713e6)
1998-11-14prompt for password on smbclient -LAndrew Tridgell1-1/+0
(This used to be commit 1558f34a878d6fea0cc745a7fcec04f79f7e50ff)
1998-11-13Makefile.in configure configure.in include/config.h.in: Changes for DGUX and ↵Jeremy Allison1-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. (This used to be commit 4c2b5a00983501e5d4aad1456ba8b5ab0dfd9b4c)
1998-11-13Fixed timing window created by daemonize function. Smbmount was going daemonMichael Warfield1-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. (This used to be commit 2f456be660b4bbf22c618b506062f812f35e368a)
1998-11-13fixes for OSF1 compilationAndrew Tridgell1-1/+1
(This used to be commit 5be3c37f50eac35cad3eadf0d24e7a4ee04c075e)
1998-11-12please remember to check that code compiles before checkin!Andrew Tridgell1-2/+2
(This used to be commit 88c90ec65c1a764dd7b13d9fb5ce700027f40cfd)
1998-11-12.cvsignore: Removed old entries.Herb Lewis1-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. (This used to be commit 3c45a3503ea57d17e98eb3e57514161a5c82e45e)
1998-11-09Makefile.in: Removed rpc_server/srv_ldap_helpers.c per J.F.'s instructions.Jeremy Allison2-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. (This used to be commit bacd3e9d2036a804e73644a28fc498f229c8446c)
1998-11-09converted smbclient to use clientgen.c rather than clientutil.cAndrew Tridgell2-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? (This used to be commit e14ca7765ace1b721dad8eca4a527a4e4a8f1ab8)
1998-11-02client/client.c: Patch to tidy up file size output.Jeremy Allison1-1/+1
nmbd/nmbd.c: Someone (a "yank" no doubt :-) Changed instances of "initialise" to "initialize". Someone get that man an *English* dictionary.... :-) :-). Jeremy. (This used to be commit 6279be7f96802bb132e5e18dd8c6912652296e70)
1998-10-29Tidied up option processing in smbclient - usage message now actuallyJeremy Allison1-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. (This used to be commit 97a14db75634b09dd272e9f59bc39c2b1eb52544)
1998-10-24fix for John.Andrew Tridgell1-8/+8
don't seek unless absolutely necessary on files in do_put() (This used to be commit 9d33d405cdbd9ae61fb68b6f5ce5f56f86cc54bb)
1998-10-24Unlink zero length files that did NOT exist at the point of origin on a ↵John Terpstra1-1/+4
do_get() call. (This used to be commit 98ba0b3a0a5074cf2b7adba407c5fd46f63c3f27)
1998-10-16use the username GUEST if no other username is availableAndrew Tridgell1-0/+5
(This used to be commit 59d99ad76cb2aa0f24467ed0df12d5ad50abff18)
1998-10-08fixed a bug in the readline supportAndrew Tridgell1-3/+4
(This used to be commit b0a69622509b450cb7724735c51d4b7173beac73)
1998-10-07somehow "in_client" got included twice in two places.Andrew Tridgell1-1/+0
(This used to be commit 378290bfe1dc4965679495aab58be55e81ecf192)
1998-10-06Added capability for smbclient to use the local WINS server on the sameRichard Sharpe1-1/+2
machine if WINSsupport configured (This used to be commit 1398feebbcb65a9e78b7084811bf9727b6d89682)
1998-10-05fixed a cast warningAndrew Tridgell1-1/+1
(This used to be commit 4093bb16d20b0057e07085f061bdcfb372c679c1)
1998-10-04- modified resolve_name() to take a name_typeAndrew Tridgell1-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/ (This used to be commit a4e607c17d1119925c9d0e1d05e0fe81e9a2d1aa)
1998-10-04support using #xx at end of netbios name to connect to the specified name typeAndrew Tridgell1-0/+6
(This used to be commit bf409a40e21e44ec653d4d8fd34b52d0e7b64aed)
1998-10-04Added E Jay Berkenbilt's fixesRichard Sharpe2-2/+5
(This used to be commit fcdc9bc2089822b02b30cd55054a60ed4e696e70)
1998-09-30Removed a redundant include for "includes.h"Michael Warfield1-3/+1
Cleaned up a prototype warning message. smbumount.c now compiles warning free. (This used to be commit 3459541abc290bb709f2416736371e4a764c3d28)
1998-09-30Fixed uid->vuid confusion in smbmount (hopefully).Jeremy Allison1-2/+2
Jeremy. (This used to be commit 60c2278e8c1941bca37f1dc000bd2c29a8c0c73b)
1998-09-29Fixed extern definition of cnum in clitar.cJeremy Allison1-1/+1
Jeremy (This used to be commit 6c08f3b81c8039e458e0b27d6649060bf6cf6c13)
1998-09-29Got very strict about the differences and uses ofJeremy Allison3-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. (This used to be commit e570db46fc3a78e499523fd342e9a34cebb18998)
1998-09-29get away with dummy and .dummy filesAlexandre Oliva1-1/+0
(This used to be commit 90a8a02484a0897b053fd6531b7fec5d23098b6f)
1998-09-29Now have a better solution to the need to have smblcient findRichard Sharpe1-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. (This used to be commit b665756bfc813b229ad50b0d5f53e8b779537a3f)
1998-09-29Fixed stupid bug with "cd /" appending a "/" character to the path forever....Jeremy Allison1-0/+2
Jeremy. (This used to be commit 14ee57f336100634993e7968ba54a441ac2813db)
1998-09-28Fixed problems found in lint pass over the old code by <cpeterso@microsoft.com>.Jeremy Allison1-3/+18
These were the problems that still existed in the 2.0 branch. Jeremy. (This used to be commit 3fd28812f75f2311a114ff905143634e3bbb1fac)
1998-09-28Changes to test in configure if capabilities are enabled on a system.Jeremy Allison2-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. (This used to be commit e0567433bd72aec17bf5a54cc292701095d25f09)
1998-09-28Two changes in this ball...Michael Warfield3-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. (This used to be commit 8a4730f61923577b0bd9e09ef1a00538f7dfb0de)
1998-09-28automated generation of .dummy files for each subdirectory;Alexandre Oliva1-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 (This used to be commit 237a8e5fe62d757c04b8207cbbee4df1470cfe4e)
1998-09-27wait_keyboard must still be defined if readline is not availableAlexandre Oliva1-3/+3
(This used to be commit dc21f6c98267afef116a449468129c1d3a8e996b)
1998-09-27Fixed up more possibly uninitialized variables.Richard Sharpe1-3/+3
Now only two compilation warnings seem to be left. Luke may want to check the changes I made. (This used to be commit 2456c95c1664a57aa939695c884ec666ec8168ec)
1998-09-26Small update to clitar.c to omit warnings about servers notRichard Sharpe1-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. (This used to be commit b46f1024c939ee9ecb8deb9c844acbd4b5f109c6)
1998-09-25not needed.Luke Leighton1-348/+0
(This used to be commit 78b5c15121caa18f401cd7aa45d831ef93a5f7c2)
1998-09-24Added a minor fix to clitar.c for a bug.Richard Sharpe1-16/+2
Could not check that it compiles clean with Jeremy's -Wflags because someone loaded some changes to reply.c that break in the locking area :-( (This used to be commit b18cd03c0bf3b7a6815d69a9bbeba7d1b076765c)
1998-09-23Fixed data corruption bugs in clitar.c with restores.Richard Sharpe1-17/+58
Have tested against samba with clitar using a hard-coded max_xmit of 2920, since max smit = 2920 does not seem to work in the smb.conf file. Will have to test correctly against Win95 and WinNT now. Have also compiled with -WJeremy'sFlags and get no more warnings after I removed an unused variable. (This used to be commit f24bbaccda48810fd7ef3fea5621c1e1d3009b01)
1998-09-23Fixed up warnings in new client code.Jeremy Allison2-47/+47
Note to coders. If using gcc please use the compiler flags : -Wall -Werror -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual *before* checking anything in to ensure a clean compile. Jeremy. (This used to be commit 1daf424da6c5a346f672121d4b6fe5753250f464)
1998-09-21major autoconf clean-upAlexandre Oliva1-0/+1
fix problems in builds with srcdir!=builddir (This used to be commit 1ffc3b807a3f80644c974b454ff5e6f68e89b546)
1998-09-21implemented du and tar -nAlexandre Oliva2-5/+141
(This used to be commit 23484508a86a59a71e54a1bcac3766ec3858142a)
1998-09-19Fixed changes in clitar.c that Jeremey noted. One change wasRichard Sharpe1-1/+2
correct, the other needed slightly changing. Now to test it is all OK :-) (This used to be commit d54c91598c24e89a999936f446be134137df5dea)
1998-09-18Fixed compile errors in new code.Jeremy Allison1-3/+3
Jeremy. (This used to be commit dbd8ce8a7053b6ea051e9bbdd0ddc27f1e0cb7c2)
1998-09-18Adding rewritten restore code ... Old code is still thereRichard Sharpe2-69/+471
surrounded by a OLD_DOTARPUT. (This used to be commit 00ba54d4ee9ad875c5cfbee09d4b745df5f116ab)