The Samba-Bugzilla – Attachment 12184 Details for
Bug 11977
libnetjoin fails to join AD domains with security=domain when realm is not set
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for 4.3
4-3.patch (text/plain), 1.88 KB, created by
Andreas Schneider
on 2016-06-16 08:13:43 UTC
(
hide
)
Description:
patch for 4.3
Filename:
MIME Type:
Creator:
Andreas Schneider
Created:
2016-06-16 08:13:43 UTC
Size:
1.88 KB
patch
obsolete
>From 1442e4643ae909ec9fe758e8f4a7c4f9df1ca780 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?G=C3=BCnther=20Deschner?= <gd@samba.org> >Date: Tue, 31 May 2016 18:47:34 +0200 >Subject: [PATCH] s3:libnet: accept empty realm for AD domains when only > security=domain is set. >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Initial patch from Matt Rogers @ RedHat. > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=11977 > >Guenther > >Pair-Programmed-With: Andreas Schneider <asn@samba.org> >Signed-off-by: Guenther Deschner <gd@samba.org> >Signed-off-by: Andreas Schneider <asn@samba.org> > >Autobuild-User(master): Günther Deschner <gd@samba.org> >Autobuild-Date(master): Wed Jun 15 20:28:31 CEST 2016 on sn-devel-144 > >(cherry picked from commit 234a470f198f8f09f46aaeaf58f966faccedef18) >--- > source3/libnet/libnet_join.c | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > >diff --git a/source3/libnet/libnet_join.c b/source3/libnet/libnet_join.c >index 632b81c..dae12c8 100644 >--- a/source3/libnet/libnet_join.c >+++ b/source3/libnet/libnet_join.c >@@ -2187,9 +2187,26 @@ static WERROR libnet_join_check_config(TALLOC_CTX *mem_ctx, > W_ERROR_HAVE_NO_MEMORY(wrong_conf); > } > >+ /* >+ * We should generate the warning for the special case when >+ * domain is AD, "security = domain" and the realm parameter is >+ * not set. >+ */ >+ if (lp_security() == SEC_DOMAIN && >+ r->out.domain_is_ad && >+ !valid_realm) { >+ libnet_join_set_error_string(mem_ctx, r, >+ "Warning: when joining AD domains with security=domain, " >+ "\"realm\" should be defined in the configuration (%s) " >+ "and configuration modification was not requested", >+ wrong_conf); >+ return WERR_OK; >+ } >+ > libnet_join_set_error_string(mem_ctx, r, > "Invalid configuration (%s) and configuration modification " > "was not requested", wrong_conf); >+ > return WERR_CAN_NOT_COMPLETE; > } > >-- >2.9.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 11977
:
12183
|
12184
|
12195
|
12196