PATCH: context based libsmbclient

Tom Jansen tom at ninja.nl
Thu Jun 20 07:58:02 GMT 2002


Hi Richard, Andrew, List,

Attached is a patch agains current HEAD (5 mins ago) that completely changes the
way libsmbclient works.

Changes:
o Everything is context based.
o Server cache can be made external but defaults to internal mechanism.
  (found in libsmb_cache.c)
o Checking server-connections before blindly using cached ones.
o libsmbclient.c split into three files: libsmbclient.c, libsmb_compat.c,
  libsmb_cache.c
o backwards compatible (binary too). (libsmb_compat.c)
o Fixed a little bug that caused context->opendir to fail at least on every
  w98 SE machine I tried.

As the patch is 3000+ lines, it is gzipped. A plain-text version is available at
http://niihau.student.utwente.nl/~sketch/libsmbc2.diff
The size also means there is lot of testing in front of us.

Yours,
   Tom
--
Tom Jansen -- tom at ninja.nl
Ninja ISD  -- www.ninja.nl




More information about the samba-technical mailing list