The Samba-Bugzilla – Attachment 13906 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]
Resolves by adding NSS_WRAPPER variables to the net calls
samba-create-builtin-envs.patch (text/plain), 1.52 KB, created by
Jamie McClymont
on 2018-01-15 21:37:07 UTC
(
hide
)
Description:
Resolves by adding NSS_WRAPPER variables to the net calls
Filename:
MIME Type:
Creator:
Jamie McClymont
Created:
2018-01-15 21:37:07 UTC
Size:
1.52 KB
patch
obsolete
>From 9d0b01270c376f082ad4af1f96977e2042519b89 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> >--- > 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) { >-- >2.7.4 >
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 13225
:
13906
|
13952