diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-02-19 18:03:02 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-02-19 18:03:02 +0100 |
commit | 95b294f75b05b31cace3818b85b5bf1b8d4722f2 (patch) | |
tree | e1f230635df4c95b533829b9dc98b5ef30c399b4 | |
parent | dbb79b683338a26d8c5d4f66efec4eae6987688c (diff) | |
download | samba-95b294f75b05b31cace3818b85b5bf1b8d4722f2.tar.gz samba-95b294f75b05b31cace3818b85b5bf1b8d4722f2.tar.bz2 samba-95b294f75b05b31cace3818b85b5bf1b8d4722f2.zip |
Only set "interfaces = " line for client when necessary.
(This used to be commit 89fd6e9d0c3d0cb2fa3b8109e82f377cd7877a2e)
-rwxr-xr-x | source4/selftest/selftest.pl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/selftest/selftest.pl b/source4/selftest/selftest.pl index 1672209bef..c17e790f63 100755 --- a/source4/selftest/selftest.pl +++ b/source4/selftest/selftest.pl @@ -533,11 +533,13 @@ sub write_clientconf($$) if (defined($vars->{WINBINDD_SOCKET_DIR})) { print CF "\twinbindd socket directory = $vars->{WINBINDD_SOCKET_DIR}\n"; } + if ($opt_socket_wrapper) { + print CF "\tinterfaces = $interfaces\n"; + } print CF " private dir = $prefix_abs/client/private js include = $srcdir_abs/scripting/libjs name resolve order = bcast - interfaces = $interfaces panic action = $srcdir_abs/script/gdb_backtrace \%PID\% \%PROG\% max xmit = 32K notify:inotify = false |