summaryrefslogtreecommitdiffstats
path: root/source/client/client.c
Commit message (Collapse)AuthorAgeFilesLines
* sync with SAMBA_2_2 for 2.2.6rc1Gerald Carter2002-10-091-2/+11
|
* syncing up for 2.2.6pre2Gerald Carter2002-08-271-3/+3
|
* beginning to sync up for 2.2.5 release....Gerald Carter2002-06-171-3/+15
|
* Start of merge to 2_2_RELEASE branch for release.Jeremy Allison2002-04-301-8/+6
| | | | Jeremy.
* Move over to RELEASE branch.Jeremy Allison2002-02-011-69/+260
| | | | Jeremy.
* Sync-up with SAMBA_2_2 branch.Jeremy Allison2001-10-111-6/+11
| | | | Jeremy.
* Syncup getting ready for release.Jeremy Allison2001-07-061-77/+158
| | | | Jeremy.
* Fix from Tony Butt - shouldn't set got_pass for -c option.Jeremy Allison2001-04-151-1/+0
| | | | Jeremy.
* To stop people complaining about the mktemp call, move it into lib/util.c. ↵Jeremy Allison2001-04-111-10/+25
| | | | | | | | Thanks to Andrew for all this code. Fixed extra line in lib/sysacls.c that broke XFS ACL code. Jeremy.
* Got "medieval on our ass" about adding the -1 to slprintf.Jeremy Allison2001-04-081-1/+1
| | | | Jeremy.
* Missed a cli_set_port on message code connect.Jeremy Allison2001-03-261-1/+1
| | | | Jeremy.
* added readline to smbclient and rpcclient from HEAD. Also added aGerald Carter2001-03-231-106/+90
| | | | completion function to rpcclient
* Expunge snprintf, *always* use slprintf. Ensure snprintf cannot be used inJeremy Allison2001-02-161-1/+1
| | | | | Samba (in the same way we disallow sprintf). Jeremy.
* Tar fixes from Craig Barratt craig@arraycomm.com.Jeremy Allison2000-11-221-0/+2
| | | | Jeremy.
* fixed typoGerald Carter2000-09-141-1/+1
| | | | jerry
* added -A <authfile> option to smbclient for the reading of username /Gerald Carter2000-08-291-9/+71
| | | | | | | | password credentials from a file. --jerry
* Linux kernel oplocks now seem to work, but need a _lot_ of testingAndrew Tridgell2000-06-111-2/+2
| | | | | I had to modify sys_select() to not loop on EINTR. I added a wrapper called sys_select_intr() which gives the old behaviour.
* and yet another memory leak - this one in the clientAndrew Tridgell2000-05-021-0/+5
|
* Added sys_fork() and sys_getpid() functions to stop the overheadJeremy Allison2000-05-021-4/+4
| | | | | of doing a system call every time we want to just get our pid. Jeremy.
* - removed all our old wildcard matching code and replaced it with aAndrew Tridgell2000-04-301-1/+1
| | | | | | | | | | | | | | | | call to ms_fnmatch(). This also removes all the Win9X semantics stuff and a bunch of other associated cruft. - moved the stat cache code into statcache.c - fixed the uint16 alignment requirements of ascii_to_unistr() and unistr_to_ascii() - trans2 SMB_FIND_FILE_BOTH_DIRECTORY_INFO returns the short name as unicode always (at least thats what NT4 does) - fixed some errors in the in-memory tdb code. Still ugly, but doesn't crash as much
* Fix for names with spaces and some I18N filename issues fromJeremy Allison2000-03-101-10/+11
| | | | | V. Fyodorov <V.Fyodorov@VAZ.RU>. Jeremy.
* client/client.c:Jeremy Allison2000-02-251-1/+6
| | | | | | | libsmb/clientgen.c: Fixes for Win2k smbclient browsing. Other fixes implement smbpasswd -x user to delete users. Also allows swat to do the same. Jeremy.
* Fixed code page conversions of messages outgoing/incoming.Jeremy Allison2000-01-271-0/+7
| | | | Jeremy.
* cli_open() wasn't handling DENY_FCB or O_WRONLY correctly.Andrew Tridgell2000-01-081-1/+1
| | | | | | After fixing that I needed to use O_RDWR instead of O_WRONLY in several places to avoid the silly bug in MS servers that doesn't allow getattrE on a file opened with O_WRONLY
* this looks like a big commit, but it isn't really :)Andrew Tridgell2000-01-071-7/+10
| | | | | | | | This fixes our netbios scope handling. We now have a 'netbios scope' option in smb.conf and the scope option is removed from make_nmb_name() this was prompted by a bug in our PDC finding code where it didn't append the scope to the query of the '*' name.
* Fixed spurious error message when doing a 'put' of an empty file.Jeremy Allison2000-01-061-1/+4
| | | | Jeremy
* client/client.c: I18N fixes.Jeremy Allison2000-01-051-33/+23
| | | | | | smbd/dir.c: Reformatting comments. smbd/ipc.c: New password change code for Win98. Jeremy.
* changed %g to %3.1f to be friendly to our poor snprintf() codeAndrew Tridgell1999-12-211-2/+2
|
* first pass at updating head branch to be to be the same as the SAMBA_2_0 branchAndrew Tridgell1999-12-131-297/+394
|
* sys_select added one more argument (read, write selectors).Luke Leighton1999-12-011-1/+1
|
* whoa. _major_ restructure of rpcclient. fixed some buuugs, created a few.Luke Leighton1999-11-261-5/+5
| | | | | | found out that getopt() _must_ have optind set to 0 before reuse. still haven't decided what to do with the net* api yet...
* general, drastic improvements to rpcclient.Luke Leighton1999-10-301-5/+5
| | | | | | | | | | | added samgroup <groupname> command added samgroupmem <groupname> command added proper registry key completion added sam command user-completion (e.g samuser [tab]) added sam command group-completion (e.g samgroup [tab])
* Put back in GNU readline support for smbclient accidentally trashed byTim Potter1999-07-091-1/+210
| | | | tridge in the clientgen.c to clientutil.c conversion.
* smbclient modified to use cli_establish_connection(). smbclient thereforeLuke Leighton1999-06-291-58/+39
| | | | | | now uses improved authentication. smbclient now "broken" for "scripts" based on DEBUG() output. cli_establish_connection() requires modification to support old scripts.
* use double instead of SMB_BIG_UINT for dir_total and ttarfAlexandre Oliva1999-03-301-3/+3
| | | | (by tridge, merged from branch)
* SMB_BIG_INT dir_total incompatible with %d: must use %llu (line 446)Luke Leighton1999-03-251-1/+1
|
* * client/client.c (dir_total): use SMB_BIG_UINTAlexandre Oliva1999-03-251-2/+2
| | | | | | * client/clitar.c (ttarf): ditto * * lib/snprintf.c: support long longs; adapted from Cloyce D. Spradling's patch <cloyce@headgear.org>
* set_port warning / unused / global/local variable overlap issuesLuke Leighton1999-01-271-9/+9
| | | | cmd_svcctl.c tests got put into cvs by mistake.
* Putting back the -p flag in smbclient.Richard Sharpe1999-01-251-2/+6
| | | | | However, it seems that the -s flag in smbclient is also ignored :-(
* Makefile.in: Added maintainer mode fixes.Jeremy Allison1998-11-251-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.
* Added the same open()/fopen()/creat()/mmap() -> sys_XXX calls.Jeremy Allison1998-11-171-4/+4
| | | | | | | | | | 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.
* Fixed missing NULL check in tar op.Jeremy Allison1998-11-171-2/+4
| | | | Jeremy.
* automatically uppercase server and share names (win95 won't handleAndrew Tridgell1998-11-141-6/+0
| | | | lowercase share names!)
* - handle servers that don't support getattrE (ie. NT)Andrew Tridgell1998-11-141-3/+5
| | | | - 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
|
* 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-091-21/+7
| | | | | | | | | | | | | 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.