From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-x22d.google.com (mail-wi0-x22d.google.com [IPv6:2a00:1450:400c:c05::22d]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by huchra.bufferbloat.net (Postfix) with ESMTPS id DE20821F28A for ; Sun, 6 Apr 2014 03:23:32 -0700 (PDT) Received: by mail-wi0-f173.google.com with SMTP id z2so3528872wiv.12 for ; Sun, 06 Apr 2014 03:23:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=eZk6um19lu871U5l2i+4LQ49xt38URuRTe4w+FVDTpo=; b=iad0Ky2KOdQUe+XP0VwNXBpKKv0iYH7o2p0vhNsj9jHqrC6JRg/xOY4lXfRUuinbF/ lfMWIkMfHctHsroKFBtCVOD+uR+dx7Pgka0pQjOxdTXH+m66XAQJ6y9m7QuYUQFKAUjT fvZuxt1mXCOYgnYpNa877eV2CPZwAk8Joyer00Xjg0z+/Td2JJo4ZikeCR5Gx9DRcYCn sAcaOsJ4IDGiVZrfS8eBOX7ZeelLmGQLhia3Cz3+GTCK0N0c+XY4zLaMr1v2JYaDy9iY gwiDCQQqO5wtYuyT5w5HSUI+EnC2kjpnzCaQ+hfk7R3DCGo1PqlUO0+jmLPzqF6gStWi bMCA== X-Received: by 10.194.203.2 with SMTP id km2mr34270507wjc.72.1396779810811; Sun, 06 Apr 2014 03:23:30 -0700 (PDT) Received: from ?IPv6:2001:470:6aac:1:3c4c:abfa:de79:1918? ([2001:470:6aac:1:3c4c:abfa:de79:1918]) by mx.google.com with ESMTPSA id cl9sm21070775wjc.25.2014.04.06.03.23.29 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 06 Apr 2014 03:23:29 -0700 (PDT) Message-ID: <53412B0C.2020800@gmail.com> Date: Sun, 06 Apr 2014 11:23:08 +0100 From: Robert Bradley User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: cerowrt-devel@lists.bufferbloat.net References: In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bRU7B70hBSo3WVN6xIGR6Bpt0l4mcS7wo" Subject: Re: [Cerowrt-devel] cerowrt-3.10.34-4 dev build released X-BeenThere: cerowrt-devel@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: Development issues regarding the cerowrt test router project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Apr 2014 10:23:33 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --bRU7B70hBSo3WVN6xIGR6Bpt0l4mcS7wo Content-Type: multipart/mixed; boundary="------------020505010601090405030105" This is a multi-part message in MIME format. --------------020505010601090405030105 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 06/04/2014 01:15, Jim Reisert AD1C wrote: > On Sat, Apr 5, 2014 at 1:26 PM, Dave Taht wrote: > >> It would have helped to have a backup. > Yup, hindsight is 50/50 [sic] > >> As best I recall we'd had to add 3 lines to the smb.conf.template file= , notably >> >> wins support =3D yes > Yup, did that. Not working this time around. > > Maybe I'll play around some more tomorrow. > I noticed last time that Samba tends to bind to localhost only on CeroWRT, since no interface is set in /etc/config/samba. For the moment, you need to add "list interface " lines to /etc/config/samba manually: uci add_list samba.@samba[0].interface=3Dse00 uci add_list samba.@samba[0].interface=3Dsw00 uci add_list samba.@samba[0].interface=3Dsw10 uci commit samba && /etc/init.d/samba restart This limits Samba to the non-guest interfaces. I think you should be able to add interfaces from the GUI too but that seems to be missing from CeroWRT and OpenWRT. The attached patch adds it back in (cd /; patch -p1 to apply it) to and seems to work fine despite the Wiki at http://wiki.openwrt.org/doc/uci/samba stating otherwise. --=20 Robert Bradley --------------020505010601090405030105 Content-Type: text/plain; charset=windows-1252; name="samba.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="samba.patch" --- rom/usr/lib/lua/luci/model/cbi/samba.lua +++ overlay/usr/lib/lua/luci/model/cbi/samba.lua @@ -28,6 +28,15 @@ translate("Allow system users to reach their home directories vi= a " .. "network shares")) =20 +net =3D s:taboption("general", Value, "interface", translate("Served int= erfaces")) +net.template =3D "cbi/network_netlist" +net.widget =3D "checkbox" +net.nocreate =3D true + +function net.cfgvalue(self, section) + return m.uci:get("samba", section, "interfaces") + end + tmpl =3D s:taboption("template", Value, "_tmpl", translate("Edit the template that is used for generating the samba conf= iguration."),=20 translate("This is the content of the file '/etc/samba/smb.conf.templat= e' from which your samba configuration will be generated. " .. --------------020505010601090405030105-- --bRU7B70hBSo3WVN6xIGR6Bpt0l4mcS7wo Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJTQSsgAAoJEGK/UXZZ8Ak6sCgP/3/WbQNRUqEIuDddp5c1wpyO C7gt0WroXZFhlKVHyBri7Z8Df587Hxl0/7HiCCHYLSHXpPJu1Yh8HZrgxOCaIJSA WYLxvsNYcaCz7ZxV+OAgJt+JNazE49HATTix04JglqvDka3O/x2Eh4ATqcukktFU JrkXtfvSA2kxZlnDR6vuE2Jr27ybF79sw6v0KTg/6NTWZ/fDY0gXrobowShlZpN8 k9PPQroaweW8nQnydYHdqqUpAb8nOUxo9fye5DvDkXqIVfFbTvYxB1ys40n20X68 Tp2kDN3i+MOdSGhnuNaMqAZgFcyHD89IwgbUJ4lkJ3A+q2QmqLiuQniGxaKiNyui fciqzQswwXDtFZ2A1mqZtGLVlpahxnW2r6YgoOJSxEnjNAHKf5VqeLKc5JE/027N 0A5yuQvVFIlND97ZZIURbKELFq1ioILM1S3atPbWiAaJeWx6ZJm3YIev3XymSKUc y4a69C20Pl4Jp+ptNNVbIclgwxtUClEiZtwkoQCRToU1BNzLBS6O7uoLmsC5liDl WenrHK6oDQ2k0dgweuxnUifeuo9/VzyLNwZWBv1ue9d5bL8YftpV/rwTmSHTP2ps A2EXtWsaUm7RP8WMD1SypqrBhvJXYLqyFJp+8KufpCRMXRLnrjbe1xPYa3McaOe8 fGVwayodYNT5rPVKCFqF =LPsm -----END PGP SIGNATURE----- --bRU7B70hBSo3WVN6xIGR6Bpt0l4mcS7wo--