clitar changes and du patches

Volker.Lendecke at SerNet.DE Volker.Lendecke at SerNet.DE
Tue Sep 22 12:11:13 GMT 1998


-----BEGIN PGP SIGNED MESSAGE-----

> >Is it possible that this is exactly the same problem as the one I
> >tried to solve with the smbfs WIN95_WORKAROUND (or so?). I thought
> >that smbclient does not have that problem as it uses a buffer size of
> >512 entries.
> 
> smbclient uses a TAR block size of 512 bytes, however, it writes to the
> server with blocks of size MAX_XMIT ...

I meant the following '512' from file source/client/client.c

/****************************************************************************
  do a directory listing, calling fn on each file found. Use the TRANSACT2
  call for long filenames
  ****************************************************************************/
static int do_long_dir(char *inbuf,char *outbuf,char *Mask,int attribute,void (*fn)(file_info *),BOOL recurse_dir, BOOL dirstoo)
{
  int max_matches = 512;
                    ^^^

  int info_level = Protocol<PROTOCOL_NT1?1:260; /* NT uses 260, OS/2 uses 2. Both accept 1. */
  char *p;

Volker

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv

iQCVAwUBNgeT2T/9BWnmOc5FAQHDGwP+PQat59kDAO39S4f7ELQruWev0b3zQFOu
7UxAFyJD8rTgEwNuWggi/PmZpW95nFMVEgQ2LVRAjjskS8Du0NgjvRztd5v3BVoc
X3zSzuYTM9MjF1bm7xIdyfuAu70DzMaYrukgXaP3p1mt+CLvgTWXCeCF2WIEI8Rd
u+/rgKFGpzI=
=c46M
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list