Bug 3953 - NT_STATUS_BAD_NETWORK_NAME When make test As root
NT_STATUS_BAD_NETWORK_NAME When make test As root
Status: NEW
Product: Samba 3.0
Classification: Unclassified
Component: Build environment
3.0.23a
x86 Linux
: P3 normal
: none
Assigned To: Tim Potter
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-07-23 01:17 UTC by imacat
Modified: 2006-07-23 01:17 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description imacat 2006-07-23 01:17:55 UTC
Hi.  This is imacat from Taiwan.  I tried to compile and install the newly-released Samba 3.0.23a, and failed.  The machine is Intel Pentium 133 MHz, 32 MB RAM, running Mandriva 2006.0, gcc 4.0.1, glibc 2.3.5.  I configured with:

./configure --prefix=/usr --sbindir=/usr/sbin --sysconfdir=/etc --localstatedir=/var --infodir=/usr/share/info --mandir=/usr/share/man --enable-socket-wrapper --with-fhs --with-piddir=/var/run --with-smbwrapper --with-smbmount --with-pam --with-pam_smbpass --with-libsmbclient

    After compilation, I can run "make test" with an ordinary account.  But it failed when I tried to run "make test" as root.  The result of the "make test" is below.  Hope this issue could be solved.

    Please tell me if you need any more information.  Thank you.

[root@nana source]# make test
Using FLAGS =  -g -O3 -D_SAMBA_BUILD_ -I/usr/local/src/samba-3.0.23a/source/popt -I/usr/local/src/samba-3.0.23a/source/iniparser/src -Iinclude -I/usr/local/src/samba-3.0.23a/source/include -I/usr/local/src/samba-3.0.23a/source/tdb -I/usr/local/src/samba-3.0.23a/source/smbwrapper -I. -DHAVE_CONFIG_H  -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I/usr/local/src/samba-3.0.23a/source -D_SAMBA_BUILD_
      LIBS = -lcrypt -lresolv -lresolv -lnsl -ldl
      LDSHFLAGS = -shared -Wl,-Bsymbolic
      LDFLAGS =
      PIE_CFLAGS = -fPIE
      PIE_LDFLAGS = -pie
Running Test suite
CREATE TEST ENVIRONMENT IN './st'...DONE
STARTING NMBD...DONE
STARTING SMBD...DONE
delaying for nbt name registration
querying __SAMBA__ on 127.0.0.2
127.0.0.2 __SAMBA__<00>
querying __SAMBA__ on 127.255.255.255
127.0.0.2 __SAMBA__<00>
querying __SAMBA__ on 127.255.255.255
127.0.0.2 __SAMBA__<00>
querying localhost2 on 127.0.0.2
127.0.0.2 localhost2<00>
querying localhost2 on 127.255.255.255
127.0.0.2 localhost2<00>
wait for smbd
Domain=[SAMBA-TEST] OS=[Unix] Server=[Samba 3.0.23a]
Anonymous login successful
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
Domain=[SAMBA-TEST] OS=[Unix] Server=[Samba 3.0.23a]
Anonymous login successful
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
Skipping the following tests:
RANDOMIPC NEGNOWAIT NBENCH ERRMAPEXTRACT TRANS2SCAN NTTRANSSCAN
DENY1 DENY2 OPENATTR CASETABLE EATEST
MANGLE UTABLE
Testing FDPASS (0)
Testing LOCK1 (0)
Testing LOCK2 (0)
Testing LOCK3 (0)
Testing LOCK4 (0)
Testing LOCK5 (0)
Testing LOCK6 (0)
Testing LOCK7 (0)
Testing UNLINK (0)
Testing BROWSE (0)
Testing ATTR (0)
Testing TRANS2 (0)
Testing MAXFID (0)
Testing TORTURE (0)
Testing OPLOCK1 (0)
Testing OPLOCK2 (0)
Testing OPLOCK3 (0)
Testing DIR (0)
Testing DIR1 (0)
Testing TCON (0)
Testing TCONDEV (0)
Testing RW1 (0)
Testing RW2 (0)
Testing RW3 (0)
Testing OPEN (0)
Testing XCOPY (0)
Testing RENAME (0)
Testing DELETE (0)
Testing PROPERTIES (0)
Testing W2K (0)
Testing PIPE_NUMBER (0)
Testing TCON2 (0)
Testing IOCTL (0)
Testing CHKPATH (0)
Testing FDSESS (0)
Testing smbclient -L 127.0.0.2 (0)
TEST OUTPUT:
Domain=[SAMBA-TEST] OS=[Unix] Server=[Samba 3.0.23a]
Anonymous login successful
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
NMBD OUTPUT:
Netbios nameserver version 3.0.23a started.
Copyright Andrew Tridgell and the Samba Team 1992-2006
standard input is not a socket, assuming -D option
SMBD OUTPUT:
smbd version 3.0.23a started.
Copyright Andrew Tridgell and the Samba Team 1992-2006
standard input is not a socket, assuming -D option
TEST FAILED: /usr/local/src/samba-3.0.23a/source/bin/smbclient -s /usr/local/src/samba-3.0.23a/source/st/lib/client.conf -L 127.0.0.2 -N -p 139 (status 1)
Testing smbclient -L localhost2 (1)
TEST OUTPUT:
Domain=[SAMBA-TEST] OS=[Unix] Server=[Samba 3.0.23a]
Anonymous login successful
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
NMBD OUTPUT:
Netbios nameserver version 3.0.23a started.
Copyright Andrew Tridgell and the Samba Team 1992-2006
standard input is not a socket, assuming -D option
SMBD OUTPUT:
smbd version 3.0.23a started.
Copyright Andrew Tridgell and the Samba Team 1992-2006
standard input is not a socket, assuming -D option
TEST FAILED: /usr/local/src/samba-3.0.23a/source/bin/smbclient -s /usr/local/src/samba-3.0.23a/source/st/lib/client.conf -L localhost2 -N -p 139 (status 1)
Testing noninteractive smbclient does not prompt (2)
Testing noninteractive smbclient -l does not prompt (2)
Testing interactive smbclient prompts on stdout (2)
Testing interactive smbclient -l prompts on stdout (2)
2 TESTS FAILED or SKIPPED (test_smbclient_s3.sh)
/usr/local/src/samba-3.0.23a/source/script/tests/tests_all.sh: line 5: --version: command not found
Skip Tests with Samba4's smbtorture
nmbd exits with status 0
smbd exits with status 0
START: Sun Jul 23 10:52:33 CST 2006 (./script/tests/selftest.sh)
END:   Sun Jul 23 11:27:54 CST 2006 (./script/tests/selftest.sh)
TEST STATUS: 2
make: *** [test] Error 2
[root@nana source]#