summaryrefslogtreecommitdiff
path: root/source4/selftest
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-02-19 18:03:02 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-02-19 18:03:02 +0100
commit95b294f75b05b31cace3818b85b5bf1b8d4722f2 (patch)
treee1f230635df4c95b533829b9dc98b5ef30c399b4 /source4/selftest
parentdbb79b683338a26d8c5d4f66efec4eae6987688c (diff)
downloadsamba-95b294f75b05b31cace3818b85b5bf1b8d4722f2.tar.gz
samba-95b294f75b05b31cace3818b85b5bf1b8d4722f2.tar.bz2
samba-95b294f75b05b31cace3818b85b5bf1b8d4722f2.zip
Only set "interfaces = " line for client when necessary.
(This used to be commit 89fd6e9d0c3d0cb2fa3b8109e82f377cd7877a2e)
Diffstat (limited to 'source4/selftest')
-rwxr-xr-xsource4/selftest/selftest.pl4
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