summaryrefslogtreecommitdiff
path: root/source3/client
AgeCommit message (Collapse)AuthorFilesLines
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 Potter3-6/+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-20Rename xmalloc, xmemdup, xstrdup to smb_$1 to avoid conflicts with theMartin Pool1-4/+4
versions defined by libreadline on SCO (!). (This used to be commit 32480d7aff21ce1c14991e242aaf8a4e14ec6f2a)
2001-11-19Store some path names in global variables initialized to configureMartin Pool3-16/+27
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-24Remove xstrdup since it was added to lib/util.c. Caused compile failureJim McDonough1-13/+0
(This used to be commit 43c384fa7854a9592ce5e5b67cb650c91ea09a76)
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 Tridgell2-3/+5
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 Sorce2-88/+175
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 Potter3-3/+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-20smbmount fixes from Urban.Jeremy Allison1-5/+21
Jeremy. (This used to be commit 73ec9392396af6183bdf43b9f8ac0a6a0359a074)
2001-09-17move to SAFE_FREE()Simo Sorce2-19/+16
(This used to be commit 29db6ef7a7c4df51adf964c0aecb1164e4ab7dee)
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)
2001-09-10declare dbf in one spotAndrew Tridgell2-2/+0
(This used to be commit f41c3bb80f1e498a9d27f6e236b0ff3a742764c9)
2001-09-10replaced stdio in many parts of samba with a XFILE. XFILE is a cut-downAndrew Tridgell3-26/+26
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. (This used to be commit 1af8bf34f1caa3e7ec312d8109c07d32a945a448)
2001-09-09fixed typoAndrew Tridgell1-1/+1
(This used to be commit 160906b57de8d1f8f76e716e0691223f743e07eb)
2001-09-09removed pointless parameter from readfile()Andrew Tridgell1-3/+3
(This used to be commit 0742342ec496bec7246e067280737cd507465b50)
2001-09-07added "display charset" option in smb.conf, along with d_printf()Andrew Tridgell1-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 (This used to be commit 266d8e67669adb329f25676c4bc4d4c50f223428)
2001-09-04the next stage in the NTSTATUS/WERROR change. smbd and nmbd now compile, but ↵Andrew Tridgell1-2/+3
the client code still needs some work (This used to be commit dcd6e735f709a9231860ceb9682db40ff26c9a66)
2001-08-24fixed handling of 139/445 in clientsAndrew Tridgell3-11/+5
(This used to be commit 22b372f8a7996a19bebb8cdb411df999cffa32a4)
2001-08-20a bunch of fixes from the sflight to seattleAndrew Tridgell2-2/+1
in particular: - fixed NT status code for a bunch of ops - fixed handling of protocol levels in ms_fnmatch (This used to be commit 3eba9606f71f90bfd9820af26f8676277ed22390)
2001-08-12this is a big global fix for the ptr = Realloc(ptr, size) bug.Simo Sorce2-4/+8
many possible mem leaks, and segfaults fixed. someone should port this fix to 2.2 also. (This used to be commit fa8e55b8b465114ce209344965c1ca0333b84db9)
2001-08-08Change all realloc() statements to Realloc() (ecxept for tdb.c)Simo Sorce2-0/+9
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) (This used to be commit 7f33c01688b825ab2fa9bbb2730bff4f2fa352be)
2001-07-12Changed instances of TRUE, FALSE to True, False as some compilers don'tTim Potter1-1/+1
have the first set of symbols. (This used to be commit ad0cbfbd790bc5d6003ffcff2835d82fb0140625)
2001-07-04strchr and strrchr are macros when compiling with optimisation in gcc, so we ↵Andrew Tridgell4-29/+29
can't redefine them. damn. (This used to be commit c41fc06376d1a2b83690612304e85010b5e5f3cf)
2001-07-04The big character set handling changeover!Andrew Tridgell4-92/+39
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. (This used to be commit debb471267960e56005a741817ebd227ecfc512a)
2001-07-03Applied Michael Sweet's patch, with one minor signal change.Jeremy Allison1-4/+26
Jeremy. (This used to be commit 8d1dab74c26d25938de14b34b383890731e9ebd0)
2001-06-21next_token() was supposed to be a reentrant replacement for strtok(),Andrew Tridgell2-32/+32
but the code suffered from bitrot and is not now reentrant. That means we can get bizarre behaviour i've fixed this by making next_token() reentrant and creating a next_token_nr() that is a small non-reentrant wrapper for those lumps of code (mostly smbclient) that have come to rely on the non-reentrant behaviour (This used to be commit 674ee2f1d12b0afc164a9e9072758fd1c5e54df7)
2001-05-07removed need for scandir in client.cAndrew Tridgell1-21/+14
fixed possible bug with readdirname on systems with NAMELEN != strlen (This used to be commit 78f448b7d4b83f569d27e0abf6b1759c43ff21f3)
2001-05-07new mput code from idra that doesn't need a call to findAndrew Tridgell1-66/+152
(This used to be commit 5dac4cdee40b906455d984f4d7a7333ab411f876)
2001-04-27More gcc compile on solaris tidyups.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 956201c4fb6e604407911b9709574f0c24dcb84f)
2001-04-22a couple of minor merges from 2_2Andrew Tridgell3-3/+8
(This used to be commit 67aa587eb2ee9044574ee212dfd7d52895f868c0)
2001-04-16Getting medieval with compiler warnings as Jeremy puts it.Tim Potter1-3/+3
(This used to be commit d05c3cf0f47a3c863adbed7ad4ab8f3248cd072d)
2001-04-15Fix from Tony Butt - shouldn't set got_pass for -c option.Jeremy Allison1-1/+0
Jeremy. (This used to be commit 83aa76205858a0d0a0fa2a22648e727b796908f2)
2001-04-14Patch from Mandrakesoft to ensure we close all files.John Terpstra1-1/+3
(This used to be commit 8051406588987005f621cb095067d3628638d250)
2001-04-11To stop people complaining about the mktemp call, move it into lib/util.c. ↵Jeremy Allison1-10/+25
Thanks to Andrew for all this code. Fixed extra line in lib/sysacls.c that broke XFS ACL code. Jeremy. (This used to be commit 9b32b8a8cfc8ddb93c14d5581f433d2e93f89ed2)
2001-04-08Got "medieval on our ass" about adding the -1 to slprintf.Jeremy Allison3-6/+6
Jeremy. (This used to be commit 94747b4639ed9b19f7d0fb896e43aa392a84989a)
2001-03-26Fix for smbtar race condition from Glenn Burkhardt <glenn@aoi.ultranet.com>.Jeremy Allison1-1/+11
Jeremy. (This used to be commit 0c9a92a0557b2595e520cbaf2feaa587f9e7502d)
2001-03-26Missed a cli_set_port on message code connect.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 799e043ae3a4478b9e42604a3d1c88abbb74f047)
2001-03-19added basic command completion supportAndrew Tridgell1-1/+35
(This used to be commit 386fdff2dfeaeef60b210ebc0b4d33a6c7b5d5ec)
2001-03-18much simpler readline codeAndrew Tridgell1-51/+44
should work with readline 2.x (This used to be commit 7940b6b0cf614ac72266d9e600220c9a9dbd2a43)
2001-03-18much better readline support from Simo Sorce, with some mods from meAndrew Tridgell1-72/+24
to make it a bit simpler (This used to be commit e1487eb2c4626dbe0cc3b17606eda702cedef28b)
2001-03-16Updates for CUPS 1.1 from Michael Sweet.Jeremy Allison1-1/+38
Jeremy. (This used to be commit 4e76f338698aaacdfa750205a1de7296b78cdd87)
2001-03-10Sync up Urbans changes from 2.2 into HEAD.Jeremy Allison2-5/+46
Jeremy. (This used to be commit d0fcd9144363acb4136af9d82f25980bd837d73c)
2001-03-09Serious (and I *mean* serious) attempt to fix little/bigendian RPC issues.Jeremy Allison1-55/+246
We were reading the endainness in the RPC header and then never propagating it to the internal parse_structs used to parse the data. Also removed the "align" argument to prs_init as it was *always* set to 4, and if needed can be set differently on a case by case basis. Now ready for AS/U testing when Herb gets it set up :-). Jeremy. (This used to be commit 0cd37c831d79a12a10e479bf4fa89ffe64c1292a)