Only set "interfaces = " line for client when necessary.
authorJelmer Vernooij <jelmer@samba.org>
Tue, 19 Feb 2008 17:03:02 +0000 (18:03 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Tue, 19 Feb 2008 17:03:02 +0000 (18:03 +0100)
source/selftest/selftest.pl

index 1672209..c17e790 100755 (executable)
@@ -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