[SCM] Samba Shared Repository - branch v3-2-test updated -
release-3-2-0pre2-900-gdb5e0ed
Günther Deschner
gd at samba.org
Mon Apr 14 12:47:04 GMT 2008
The branch, v3-2-test has been updated
via db5e0ed186429667a7f6fc67e4b19a7ca75f357e (commit)
from ed343114cd0844a7fd14b45f95c0f43a6d172a42 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit db5e0ed186429667a7f6fc67e4b19a7ca75f357e
Author: Günther Deschner <gd at samba.org>
Date: Mon Apr 14 14:42:19 2008 +0200
libnetjoin: Remove machine account if we failed to set password.
Guenther
-----------------------------------------------------------------------
Summary of changes:
source/libnet/libnet_join.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/libnet/libnet_join.c b/source/libnet/libnet_join.c
index 51278b5..aff61d8 100644
--- a/source/libnet/libnet_join.c
+++ b/source/libnet/libnet_join.c
@@ -905,6 +905,10 @@ static NTSTATUS libnet_join_joindomain_rpc(TALLOC_CTX *mem_ctx,
}
if (!NT_STATUS_IS_OK(status)) {
+
+ rpccli_samr_DeleteUser(pipe_hnd, mem_ctx,
+ &user_pol);
+
libnet_join_set_error_string(mem_ctx, r,
"Failed to set password for machine account (%s)\n",
nt_errstr(status));
--
Samba Shared Repository
More information about the samba-cvs
mailing list