The Samba-Bugzilla – Attachment 13952 Details for
Bug 13225
ad_member testenv fails to start, as createbuiltingroup cannot find winbind
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patches for v4-8-test
tmp48.diff.txt (text/plain), 1.86 KB, created by
Stefan Metzmacher
on 2018-02-11 11:46:18 UTC
(
hide
)
Description:
Patches for v4-8-test
Filename:
MIME Type:
Creator:
Stefan Metzmacher
Created:
2018-02-11 11:46:18 UTC
Size:
1.86 KB
patch
obsolete
>From f8aa6d0e56aa8caba0566997e6cd5606421c6eb3 Mon Sep 17 00:00:00 2001 >From: Jamie McClymont <jamiemcclymont@catalyst.net.nz> >Date: Mon, 15 Jan 2018 15:25:10 +1300 >Subject: [PATCH] selftest: fix envvars for creation of default user in > wait_for_start > >Resolves failure of ad_member to start up under ad_dc (if >the user is determined to be needed). > >Signed-off-by: Jamie McClymont <jamiemcclymont@catalyst.net.nz> >Reviewed-by: Garming Sam <garming@catalyst.net.nz> >Reviewed-by: Andreas Schneider <asn@samba.org> > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=13225 > >Autobuild-User(master): Garming Sam <garming@samba.org> >Autobuild-Date(master): Tue Jan 16 07:12:01 CET 2018 on sn-devel-144 > >(cherry picked from commit 7a3f97f2662c6197913aeb50e5e3c0c09ff8307f) >--- > selftest/target/Samba3.pm | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm >index f4ae0f3..f2dcdd1 100755 >--- a/selftest/target/Samba3.pm >+++ b/selftest/target/Samba3.pm >@@ -2455,6 +2455,8 @@ sub wait_for_start($$$$$) > } > if ($create_builtin_users eq "yes") { > $cmd = "SELFTEST_WINBINDD_SOCKET_DIR='$envvars->{SELFTEST_WINBINDD_SOCKET_DIR}' "; >+ $cmd .= "NSS_WRAPPER_PASSWD='$envvars->{NSS_WRAPPER_PASSWD}' "; >+ $cmd .= "NSS_WRAPPER_GROUP='$envvars->{NSS_WRAPPER_GROUP}' "; > $cmd .= Samba::bindir_path($self, "net") . " $envvars->{CONFIGURATION} "; > $cmd .= "sam createbuiltingroup Users"; > $ret = system($cmd); >@@ -2469,6 +2471,8 @@ sub wait_for_start($$$$$) > system($cmd); > > $cmd = "SELFTEST_WINBINDD_SOCKET_DIR='$envvars->{SELFTEST_WINBINDD_SOCKET_DIR}' "; >+ $cmd .= "NSS_WRAPPER_PASSWD='$envvars->{NSS_WRAPPER_PASSWD}' "; >+ $cmd .= "NSS_WRAPPER_GROUP='$envvars->{NSS_WRAPPER_GROUP}' "; > $cmd .= Samba::bindir_path($self, "wbinfo") . " --sid-to-gid=S-1-5-32-545"; > $ret = system($cmd); > if ($ret != 0) { >-- >1.9.1 >
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
Flags:
slow
:
review-
Actions:
View
Attachments on
bug 13225
:
13906
| 13952