summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-03-19 17:48:08 +0000
committerGerald Carter <jerry@samba.org>2004-03-19 17:48:08 +0000
commitfd312721ea57c562b70a753a37fcefad66db2e32 (patch)
treeb1de7ffb67e306e6f712a03f64b2e8a40364a603
parent07ad7b0e3b076b98383329e53054050946483f8b (diff)
downloadsamba-fd312721ea57c562b70a753a37fcefad66db2e32.tar.gz
samba-fd312721ea57c562b70a753a37fcefad66db2e32.tar.bz2
samba-fd312721ea57c562b70a753a37fcefad66db2e32.zip
missed some of Derrel's changes
(This used to be commit 3aac1e549eaf4693ded84be432a2c94b6331ef6d)
-rw-r--r--WHATSNEW.txt19
-rw-r--r--examples/libsmbclient/Makefile6
-rw-r--r--source3/rpc_client/cli_pipe.c2
3 files changed, 23 insertions, 4 deletions
diff --git a/WHATSNEW.txt b/WHATSNEW.txt
index 0d01a925f4..517c94e1fc 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -97,8 +97,13 @@ o Jeremy Allison <jra@samba.org>
o Timur Bakeyev <timur@com.bat.ru>
* BUG 1144: only set --with-fhs when the argument is 'yes'
+
-
+o Craig Barratt <cbarratt@users.sourceforge.net>
+ * BUG 389: Allow multiple exclude arguments with smbclient
+ tar -Xr options (better support for Amanda backup client).
+
+
o Andrew Bartlet <abartlet@samba.org>
* Include support for linking with cracklib for enforcing strong
password changes.
@@ -160,6 +165,7 @@ o Robert Dahlem <Robert.Dahlem@gmx.net>
o Guenther Deschner <gd@suse.com>
* Remove hard coded attribute name in the ads ranged retrieval
code.
+ * Add --with-libdir and --with-mandir to autoconf script.
o Bostjan Golob <golob@gimb.org>
@@ -178,13 +184,17 @@ o SATOH Fumiyasu <fumiya@miraclelinux.com>
* BUG 692: correct truncation of share names and workgroup
names in smbclient.
* BUG 1088: use strchr_m() for query_host (smbclient -L).
+ * Patch from to internally count characters correctly.
o Chris Hertel <crh@samba.org>
* fix enumeration of shares 12 characters in length via
smbclient.
-
+o Ulrich Holeschak <ulrich@holeschak.de>
+ * BUG 932: fix local password change using pam_smbpass
+
+
o John Klinger <john.klinger@lmco.com>
* Return NSS_SUCCESS once the max number of gids possible
has been found in initgroups() on Solaris.
@@ -209,6 +219,10 @@ o Volker Lendecke <vl@samba.org>
* Fix sambaUserWorkstations on a Samba DC.
+o Derrell Lipman <Derrell.Lipman@UnwiredUniverse.com>
+ * Bug fixes and enhancements to libsmbclient library.
+
+
o Herb Lewis <herb@samba.org>
* Fix typo for tag in proto file.
* Add missing #ifdef HAVE_BICONV stuff.
@@ -266,6 +280,7 @@ o Tim Potter <tpot@samba.org>
o Simo Source <idra@samba.org>
* Replace unknown_3 with fields_present in SAMR code.
+ * More length checks in strlcat().
o Richard Sharpe <rsharpe@samba.org>
diff --git a/examples/libsmbclient/Makefile b/examples/libsmbclient/Makefile
index e7c82a3aee..fcd5ef2900 100644
--- a/examples/libsmbclient/Makefile
+++ b/examples/libsmbclient/Makefile
@@ -10,7 +10,7 @@ CFLAGS = -I$(SAMBA_INCL) $(EXTLIB_INCL)
LDFLAGS = -L/usr/lib
-all: testsmbc tree testacl
+all: testsmbc tree testacl testbrowse
testsmbc: testsmbc.o
@echo Linking testsmbc
@@ -28,5 +28,9 @@ testacl: testacl.o
@echo Linking testacl
@$(CC) `gtk-config --cflags` $(CFLAGS) $(LDFLAGS) -o $@ `gtk-config --libs` -lsmbclient -lpopt $<
+testbrowse: testbrowse.o
+ @echo Linking testbrowse
+ @$(CC) $(CFLAGS) $(LDFLAGS) -o $@ -lsmbclient -lpopt $<
+
clean:
@rm -f *.o *~
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c
index 72546947e4..82a4b21754 100644
--- a/source3/rpc_client/cli_pipe.c
+++ b/source3/rpc_client/cli_pipe.c
@@ -1443,7 +1443,7 @@ BOOL cli_nt_session_open(struct cli_state *cli, const int pipe_idx)
cli->nt_pipe_fnum = (uint16)fnum;
} else {
if ((fnum = cli_open(cli, pipe_names[pipe_idx].client_pipe, O_CREAT|O_RDWR, DENY_NONE)) == -1) {
- DEBUG(0,("cli_nt_session_open: cli_open failed on pipe %s to machine %s. Error was %s\n",
+ DEBUG(1,("cli_nt_session_open: cli_open failed on pipe %s to machine %s. Error was %s\n",
pipe_names[pipe_idx].client_pipe, cli->desthost, cli_errstr(cli)));
return False;
}