diff options
author | Gerald Carter <jerry@samba.org> | 2004-03-19 17:51:30 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2004-03-19 17:51:30 +0000 |
commit | 73ab22fc372df3dcd03eb95ae3e5696b043ee95f (patch) | |
tree | 23ba0adae3c10d45f0f22e780ce8a114f02c8f7a | |
parent | cdc413777fc438a612e2efda47008caf14c73c16 (diff) | |
download | samba-73ab22fc372df3dcd03eb95ae3e5696b043ee95f.tar.gz |
syncing more changes from 3.0
-rw-r--r-- | examples/libsmbclient/Makefile | 6 | ||||
-rw-r--r-- | source/rpc_client/cli_pipe.c | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/examples/libsmbclient/Makefile b/examples/libsmbclient/Makefile index e7c82a3aee6..fcd5ef29003 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/source/rpc_client/cli_pipe.c b/source/rpc_client/cli_pipe.c index 72546947e4d..82a4b21754e 100644 --- a/source/rpc_client/cli_pipe.c +++ b/source/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; } |