[SCM] Samba Shared Repository - branch master updated -
release-4-0-0alpha7-729-g56d74b6
Günther Deschner
gd at samba.org
Thu Mar 26 09:44:02 GMT 2009
The branch, master has been updated
via 56d74b62126083dd7e2a60d1b48b03e1b1798c90 (commit)
from fe340eb92fd2e5dfef977dc391d2a43ce970e0ea (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 56d74b62126083dd7e2a60d1b48b03e1b1798c90
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 26 10:26:59 2009 +0100
s3-libnetapi: fix creds in libnetapi_open_ipc_connection().
Jeremy, this broke with 8dd1faaa2992851f6852ba7ea4498445af5faadd. Not sure if
other users broke as well with that change.
Guenther
-----------------------------------------------------------------------
Summary of changes:
source3/lib/netapi/cm.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/lib/netapi/cm.c b/source3/lib/netapi/cm.c
index b676ae6..d28b2b2 100644
--- a/source3/lib/netapi/cm.c
+++ b/source3/lib/netapi/cm.c
@@ -57,6 +57,11 @@ static WERROR libnetapi_open_ipc_connection(struct libnetapi_ctx *ctx,
false, false,
PROTOCOL_NT1,
0, 0x20);
+ if (cli_ipc) {
+ cli_set_username(cli_ipc, ctx->username);
+ cli_set_password(cli_ipc, ctx->password);
+ cli_set_domain(cli_ipc, ctx->workgroup);
+ }
TALLOC_FREE(auth_info);
if (!cli_ipc) {
--
Samba Shared Repository
More information about the samba-cvs
mailing list