1
0
mirror of https://github.com/samba-team/samba.git synced 2025-06-19 23:17:05 +03:00

29 Commits

Author SHA1 Message Date
Richard Sharpe
832227a72b Fix up the problems with calling smbc_init multiple times. -
Richard Sharpe
0bf2797b18 Change EUCLEAN to EINVAL, as some systems do not have EUCLEAN, and EINVAL
is a better return code anyway (I knew that :-)
-
Richard Sharpe
4fc385ca68 More memory leaks fixed courtesy of Insure ... -
Richard Sharpe
f204901fcc One small Insure fix for a memory leak. More fixes to come perhaps ...
Also fixed an error return for smbc_rmdir so that we can distinguish
between EACCES and ENOTEMPTY
-
Richard Sharpe
26d7d8af29 More SGI type fixes ... -
Richard Sharpe
e628d80d1e Fix the definition and implementation of smbc_lseekdir ... -
Richard Sharpe
317e369c3e Implement smbc_lseekdir, but it will have to change ... because it has the
wrong interface defn.
-
Richard Sharpe
7557f9145c smb.h: add one error code for no such printer job
libsmbclient.c: fix problems with return codes on smbc_unlink_print_job
-
Richard Sharpe
5f1ea70e11 Fix two problems identified by the test suite, one a major one
where I was indexing through a NULL pointer :-(
-
Richard Sharpe
44986f397a Fix some errors uncovered in libsmbclient by the test suite
Fix some problems with unused variables and reaching the end of a
  nonvoid function
-
Andrew Tridgell
4d59c08c5e the unicode conversion of our client code is complete enough to be
enabled by default

you can disable it by setting the environment variable CLI_FORCE_ASCII
-
Richard Sharpe
debb723194 Opps, last one did not commit the correct changes ... Here they are.
This now uses a lookup on <DOMAIN><1D> and then does a name status query to
the IP address returned to find the name of the server. Seems to work well
against Samba, Win9X, WinNT and Win2K.
-
Richard Sharpe
620cc34015 Fixes to libsmbclient so it will work when browsing real Windows systems which
only respond to port 138 when dealing with NetBIOS datagrams.

We use the unexpected packed database.
-
Richard Sharpe
3c66114346 Added commented/documented version of libsmbclient.h and fixed up a small
problem in libsmbclient.c where we no longer pass the workgroup.
-
Richard Sharpe
7c50af3b71 Fix problems in libsmbclient with pring job struct plus add implementation
of last two print routines ...
-
Richard Sharpe
c19559a286 Implement two printing related functions and start the remaining two. -
Richard Sharpe
838cfad404 Fix some further small bugs in libsmbclient to make it pass the
Caldera test suite and start to add the printing routines.
-
Richard Sharpe
4ae7812353 Fix some bugs and prepare for some other bug fixes ... -
Richard Sharpe
68614bac5a Fix a problem with smbc_unlink on directories where it was returning EACCES
instead of EPERM and a problem with SMBC_OPEN where it ignored an error
from the underlying cli_open routine and cheerfully returned a bogus FD.
-
Richard Sharpe
5629b097d4 Fixed bugs relating to Win2K and the need for a codepage so that unicode
strings can be handled correctly.
-
Richard Sharpe
66bb40153a Some more bug fixes plus implementations of smbc_mkdir and smbc_rmdir,
both tested ...

More later.
-
Richard Sharpe
7f559c1a73 Many bug fixes to the libsmbclient.c code plus
- an implementation of smbc_readdir
  - extensions to tree.c to show files in a second window
  - changes to auth_fn to provide buffers for username, password, etc
    from caller rather than callee
-
Richard Sharpe
cc5a2db8a0 Add support for logging to wherever smb.conf specifies. -
Richard Sharpe
a13b5ef7bb More bug fixen ... -
Richard Sharpe
991f6907ac More fixes and implementation bits and pieces for libsmbclient -
Richard Sharpe
d6cef8877a Fix some more bugs in libsmbclient.c and add functionality to tree.c -
Richard Sharpe
606c4aecea Fix a minor problem with listing servers in a workgroup and add a
gtk+ test application that tests out some of this stuff ...
-
Richard Sharpe
38ff91c505 The latest changes to libsmbclient ...
It can now do a directory listing for workgroups, servers, and shares, and,
with a bit more effort, it will be able to list directories and files.

I also does not request a username and password for the IPC$ share, but it
should if the first attempt to connect fails.
-
Richard Sharpe
51c0436a50 First pass at the libsmbclient code ...
This code handles the basic stuff and compiles and links under Linux, but
I do not know about any other operating systems. Now onto directory
listing routines, including those that list workgroups, servers, etc.

Nothing is built automatically yet, you have to make client/testsmbc to build
the library and test program. Also, no make install targets are defined for
libsmbclient.so as yet, either.

Would be good if people test on operating systems other than Linux.
-