Joeri Vanthienen
2013-Mar-06 10:42 UTC
[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
Jeremy Allison
2013-Mar-06 17:56 UTC
[Samba] no network interfaces found on OpenIndiana (Illumos)
On Wed, Mar 06, 2013 at 11:42:02AM +0100, Joeri Vanthienen wrote:> 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?Use gdb to step through the code and see why it's failing to find interfaces, or add debug statements to the places we return from querying an interface. Sorry, no other easy answer. Jeremy.
Tris Mabbs
2013-Mar-07 10:15 UTC
[Samba] no network interfaces found on OpenIndiana (Illumos)
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
Seemingly Similar Threads
- Samba not seeing any interfaces
- winbind authentication FAILED with error NT_STATUS_NO_SUCH_USER [samba 3.6.12/AD/openindiana(illumos)]
- Samba4 AD DC using s3fs an OpenIndiana/Illumos/Solaris
- WARNING to those running Samba on OpenIndiana or other Illumos based systems with > 16 groups
- Failed to set socket option SO_KEEPALIVE (Error Invalid argument) error on Samba 3.0.10 on Solaris 8