[Samba] Samba 3.6.0.0 w/AD Support on AIX 6.1 - Error w/Authentication

Christian Ambach ambi at samba.org
Thu Feb 16 10:13:59 MST 2012


On 02/14/2012 04:20 PM, ejp wrote:
>>>> [2012/02/13 11:48:43,  2] lib/interface.c:341(add_interface)
>>>>     added interface en4 ip=159.3.99.56 bcast=159.3.99.191 netmask=
>>>> [2012/02/13 11:48:43,  2] nmbd/nmbd.c:280(reload_interfaces)
>>>>     Found new interface 159.3.99.56
>>>> [2012/02/13 11:48:43,  0] lib/util_sock.c:664(open_socket_in)
>>>>    bind failed on port 137 socket_addr = 159.3.99.191.
>>>>    Error = Can't assign requested address
>>>>
>>>> Interface 159.3.99.191 is not a defined or valid addr for us. Where is
> that
>>>> coming from? Can't ping it and nslookup fails.
>>
>>> 159.3.99.191 is detected as broadcast address of en4 with 159.3.99.56.
>>> Maybe the broadcast address is not correctly configured for the NIC?
>>> Please check your network settings.

>> # ifconfig -a
>> en4:
>> flags=1e080863,480<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),CHAIN>
>>          inet 159.3.99.56 netmask 0xffffff00 broadcast 159.3.99.255
>>           tcp_sendspace 262144 tcp_recvspace 262144 rfc1323 1
>>
>> It's not using the broadcast address defined, 159.3.99.255. Is it
>> calculating the .191 addr somehow? Either way it's not using the right
>> one. netmask= is not populated either. Perhaps a bug?

Seems that either AIX does not report it correctly to Samba or Samba is 
making a mistake parsing the infos from AIX.

What you could try to do is specifying the interfaces explicitly in 
smb.conf including the netmask, e.g.

bind interfaces only = yes
interfaces = 159.3.99.56/24

Cheers,
Christian


More information about the samba mailing list