nmblookup name query fails on AIX 5.3

moitrayee gupta moigupta at gmail.com
Wed Oct 25 03:57:28 GMT 2006


Hi,

While running the 'make test' for Samba 3 on AIX 5.3, I've been
getting a problem with the nmblookup calls.The name query calls fail
with the error "name_query failed to find name ...". The same calls
don't generate any errors on AIX 5.2 and only occur when using the
socket wrapper library.

An examination of nmbd.log shows the following repeating lines:

 requested bytes: 576
 read socket failed. ERRNO=A system call received a parameter that is not valid.

I've used the following commands :

      i. ./autogen.sh
     ii. ./configure --prefix=<prefix> --enable-socket-wrapper
    iii. make
    iv. make test

This is the output of 'make test' :

Running Test suite
-n CREATE TEST ENVIRONMENT IN './st'...
DONE
-n STARTING NMBD...
DONE
-n STARTING SMBD...
DONE
delaying for nbt name registration
querying __SAMBA__ on     127.0.0.2
name_query failed to find name __SAMBA__
querying __SAMBA__ on 127.255.255.255
querying __SAMBA__ on  127.255.255.255
querying __SAMBA__ on  127.255.255.255
querying __SAMBA__ on    127.255.255.255
querying __SAMBA__ on 127.255.255.255
querying __SAMBA__ on  127.255.255.255
name_query failed to find name __SAMBA__
querying __SAMBA__ on    127.255.255.255
name_query failed to find name __SAMBA__
 querying localhost2 on 127.0.0.2
name_query failed to find name localhost2
querying localhost2 on    127.255.255.255
querying localhost2 on  127.255.255.255
querying localhost2 on 127.255.255.255
querying localhost2 on    127.255.255.255
querying localhost2 on  127.255.255.255
querying localhost2 on 127.255.255.255
name_query failed to find name localhost2

Has anyone encountered this problem before? Is this caused by a
mis-configuration or a code defect?

Additional details:
-------------------
Samba 4 revision : 19487
Platform              : AIX 5.3 (both 32 bit and 64 bit)
Compiler             : XL C    8.0.0.11
Attachments       : complete output of 'make test'
                         (log.nmbd can be provided, if required)

regards,
Moitrayee.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make_test_output
Type: application/octet-stream
Size: 38435 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20061025/d1d85c3c/make_test_output-0001.obj


More information about the samba-technical mailing list