[Samba] no network interfaces found on OpenIndiana (Illumos)

Joeri Vanthienen mail at joerivanthienen.be
Thu Mar 7 04:32:44 MST 2013


Hi Tris,

Thank you for your reply! Really helpful.
I'm suspecting that my problem had something to do with virtualbox.
I deployed it today on a normal physical machine and it worked
immediatly, without the interfaces line.
I'll try again the interfaces line on my virtual machine.

Thanks.
joeri



On Thu, Mar 7, 2013 at 11:15 AM, Tris Mabbs
<TM-Samba201302 at firstgrade.co.uk> wrote:
> Hiya Joeri,
>
> I had exactly the same problem with OpenSolaris - would not find the
> interfaces.
>
> However I found that if I explicitly defined the interfaces in the smb.conf
> file:
>
>         interfaces = if.ip.add.ress/netmask_bits
> if.ip.other.address/netmask_bits
>
> Samba was quite happy to pick that up.
>
> I had the same problem with the ISC DHCP server, but there I had actually to
> modify code to get it to work.  It does seem that there's something "odd" in
> the way some Solaris versions provide access to the interface lists, but
> I've never had time to get fully to the bottom of it (and I'm afraid I can't
> remember exactly what I had to change in the ISC DHCP server to get it to
> work).
> Something perhaps to be picked up at some point for investigation by the
> developers, but it's probably much easier for you right now just to try
> adding an "interfaces" line to your "smb.conf" and see whether that fixes it
> for you - hopefully it will.
>
> Hope that helps!
>
> Cheers,
>
> Tris.
>
> Ps.  So the "interfaces" line you'd want (IPv4) would be something like
> "interfaces 192.168.250.8/24 127.0.0.1/8" or "interfaces
> 192.168.250.8/255.255.255.0 127.0.0.1/255.0.0.0".
>
> -----Original Message-----
> From: Joeri Vanthienen [mailto:mail at joerivanthienen.be]
> Sent: 06 March 2013 10:42
> To: samba at lists.samba.org
> Subject: [Samba] no network interfaces found on OpenIndiana (Illumos)
>
> Hi,
>
> I've downloaded the samba 3.6.12 OpenCSW package.
> I joined openindiana to the the active directory, winbind seems to work
> fine, I see all the users with "wbinfo -u".
> However, my samba server is not starting. It seems that there is no network
> card found.
>
> 2013/03/06 10:40:39.068405,  0] lib/interface.c:543(load_interfaces)
>   WARNING: no network interfaces found
> [2013/03/06 10:40:39.072795,  0] smbd/server.c:1082(main)
>   standard input is not a socket, assuming -D option ...
> [2013/03/06 10:40:39.205210,  0] smbd/server.c:746(open_sockets_smbd)
>   open_sockets_smbd: No sockets available to bind to.
>
> Is there some problem that the get_interfaces(talloc_tos(), &ifaces); call
> returns  no interfaces on solaris/openindiana ?
> Any idea?
>
> I sure have interfaces:
> root at openindiana:/# ifconfig -a
> lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu
> 8232 index 1
>         inet 127.0.0.1 netmask ff000000
> e1000g0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu
> 1500 index 3
>         inet 192.168.250.8 netmask ffffff00 broadcast 192.168.250.255
>         ether 8:0:27:bd:35:de
> lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu
> 8252 index 1
>         inet6 ::1/128
> e1000g0: flags=20002004841<UP,RUNNING,MULTICAST,DHCP,IPv6> mtu 1500 index 3
>         inet6 fe80::a00:27ff:febd:35de/10
>         ether 8:0:27:bd:35:de
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba


More information about the samba mailing list