[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-unstable-835-gbf3ffbb

Günther Deschner gd at samba.org
Fri Dec 21 22:07:19 GMT 2007


The branch, v3-2-test has been updated
       via  bf3ffbb5d2e8588e0041f0b890b590c58f8fcecf (commit)
      from  abba6717b5da709ae9cf3097042228ddbe630cca (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit bf3ffbb5d2e8588e0041f0b890b590c58f8fcecf
Author: Günther Deschner <gd at samba.org>
Date:   Fri Dec 21 23:04:26 2007 +0100

    Until we better understand the WKSSVC_JOIN_FLAGS_JOIN_DC_ACCOUNT make sure we are
    not joining as a DC.
    
    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 b1ebed3..c1ff8bb 100644
--- a/source/libnet/libnet_join.c
+++ b/source/libnet/libnet_join.c
@@ -530,6 +530,10 @@ WERROR libnet_Join(TALLOC_CTX *mem_ctx,
 		return WERR_NOT_SUPPORTED;
 	}
 
+	if (IS_DC) {
+		return WERR_SETUP_DOMAIN_CONTROLLER;
+	}
+
 	if (r->in.join_flags & WKSSVC_JOIN_FLAGS_JOIN_TYPE) {
 
 		status = do_DomainJoin(mem_ctx, r);


-- 
Samba Shared Repository


More information about the samba-cvs mailing list