[ubuntu-users] Error NT_STATUS_CONNECTION_REFUSED

Ted Hilts thilts at mcsnet.ca
Sun Apr 6 02:11:36 UTC 2008


I am encountering a SAMBA problem with Ubuntu.  The error is directly 
below.  In the DETAILS section of this email are SAMBA commands and the 
response to these commands for 2 XP machines and 3 Linux machines 
(including Ubuntu). I only included test results for 5 different 
machines. Ubuntu is the only machine of these 5 that refuses connection 
and acts the same with other Lan machines.  Ubuntu is installed in a 
dual boot configuration with an XP machine. The location of the SAMBA 
configuration file is: /etc/samba/smb.conf with owner and user both 
root.  The permissions did not include x, so I changed this with chmod 
but it made no difference.

-rwxr-xr-x 1 root root 14015 2008-04-04 16:58 /etc/samba/smb.conf



Thanks -- Ted


ted at Ubuntu:~$ smbclient -L Ubuntu -U ted
Error connecting to 192.168.1.16 (Connection refused)
Connection to Ubuntu failed (Error NT_STATUS_CONNECTION_REFUSED)
ted at Ubuntu:~$ 

--------------------------------------- Details Below 
------------------------------------

ted at Ubuntu:~$
ted at Ubuntu:~$ nmblookup -d 2 '*' -R peggyted -S
added interface ip=192.168.1.16 bcast=192.168.1.255 nmask=255.255.255.0
querying * on 192.168.1.255
Got a positive name query response from 192.168.1.16 ( 192.168.1.16 )
Got a positive name query response from 192.168.1.6 ( 192.168.1.6 )
Got a positive name query response from 192.168.1.9 ( 192.168.1.9 )
Got a positive name query response from 192.168.1.70 ( 192.168.1.70 )
tdb(unnamed): tdb_open_ex: could not open file 
/var/run/samba/unexpected.tdb: No such file or directory
tdb(unnamed): tdb_open_ex: could not open file 
/var/run/samba/unexpected.tdb: No such file or directory
tdb(unnamed): tdb_open_ex: could not open file 
/var/run/samba/unexpected.tdb: No such file or directory
192.168.1.16 *<00>
Looking up status of 192.168.1.16
        UBUNTU          <00> -         B <ACTIVE>
        UBUNTU          <03> -         B <ACTIVE>
        UBUNTU          <20> -         B <ACTIVE>
        ..__MSBROWSE__. <01> - <GROUP> B <ACTIVE>
        PEGGYTED        <1d> -         B <ACTIVE>
        PEGGYTED        <1e> - <GROUP> B <ACTIVE>
        PEGGYTED        <00> - <GROUP> B <ACTIVE>

        MAC Address = 00-00-00-00-00-00

192.168.1.6 *<00>
Looking up status of 192.168.1.6
        MARKET          <00> -         B <ACTIVE>
        MARKET          <03> -         B <ACTIVE>
        MARKET          <20> -         B <ACTIVE>
        ..__MSBROWSE__. <01> - <GROUP> B <ACTIVE>
        PEGGYTED        <00> - <GROUP> B <ACTIVE>
        PEGGYTED        <1d> -         B <ACTIVE>
        PEGGYTED        <1e> - <GROUP> B <ACTIVE>

        MAC Address = 00-00-00-00-00-00

192.168.1.9 *<00>
Looking up status of 192.168.1.9
        CICERO          <00> -         B <ACTIVE>
        PEGGYTED        <00> - <GROUP> B <ACTIVE>
        CICERO          <1f> -         B <ACTIVE>
        CICERO          <03> -         B <ACTIVE>
        CICERO          <20> -         B <ACTIVE>
        PEGGYTED        <1e> - <GROUP> B <ACTIVE>
        TED             <03> -         B <ACTIVE>

        MAC Address = 02-80-AE-00-00-01

192.168.1.70 *<00>
Looking up status of 192.168.1.70
        GATEWAY         <00> -         B <ACTIVE>
        GATEWAY         <03> -         B <ACTIVE>
        GATEWAY         <20> -         B <ACTIVE>
        PEGGYTED        <00> - <GROUP> B <ACTIVE>
        PEGGYTED        <1e> - <GROUP> B <ACTIVE>

        MAC Address = 00-00-00-00-00-00

querying peggyted on 192.168.1.255
Got a positive name query response from 192.168.1.16 ( 192.168.1.16 )
Got a positive name query response from 192.168.1.6 ( 192.168.1.6 )
Got a positive name query response from 192.168.1.15 ( 192.168.1.15 )
Got a positive name query response from 192.168.1.9 ( 192.168.1.9 )
Got a positive name query response from 192.168.1.70 ( 192.168.1.70 )
tdb(unnamed): tdb_open_ex: could not open file 
/var/run/samba/unexpected.tdb: No such file or directory
tdb(unnamed): tdb_open_ex: could not open file 
/var/run/samba/unexpected.tdb: No such file or directory
tdb(unnamed): tdb_open_ex: could not open file 
/var/run/samba/unexpected.tdb: No such file or directory
192.168.1.16 peggyted<00>
Looking up status of 192.168.1.16
        UBUNTU          <00> -         B <ACTIVE>
        UBUNTU          <03> -         B <ACTIVE>
        UBUNTU          <20> -         B <ACTIVE>
        ..__MSBROWSE__. <01> - <GROUP> B <ACTIVE>
        PEGGYTED        <1d> -         B <ACTIVE>
        PEGGYTED        <1e> - <GROUP> B <ACTIVE>
        PEGGYTED        <00> - <GROUP> B <ACTIVE>

        MAC Address = 00-00-00-00-00-00

192.168.1.6 peggyted<00>
Looking up status of 192.168.1.6
        MARKET          <00> -         B <ACTIVE>
        MARKET          <03> -         B <ACTIVE>
        MARKET          <20> -         B <ACTIVE>
        ..__MSBROWSE__. <01> - <GROUP> B <ACTIVE>
        PEGGYTED        <00> - <GROUP> B <ACTIVE>
        PEGGYTED        <1d> -         B <ACTIVE>
        PEGGYTED        <1e> - <GROUP> B <ACTIVE>

        MAC Address = 00-00-00-00-00-00

192.168.1.15 peggyted<00>
Looking up status of 192.168.1.15
        CIC2EXT         <00> -         M <ACTIVE>
        PEGGYTED        <00> - <GROUP> M <ACTIVE>
        CIC2EXT         <20> -         M <ACTIVE>
        PEGGYTED        <1e> - <GROUP> M <ACTIVE>

        MAC Address = 00-0D-61-A6-FD-2B

192.168.1.9 peggyted<00>
Looking up status of 192.168.1.9
        CICERO          <00> -         B <ACTIVE>
        PEGGYTED        <00> - <GROUP> B <ACTIVE>
        CICERO          <1f> -         B <ACTIVE>
        CICERO          <03> -         B <ACTIVE>
        CICERO          <20> -         B <ACTIVE>
        PEGGYTED        <1e> - <GROUP> B <ACTIVE>
        TED             <03> -         B <ACTIVE>

        MAC Address = 02-80-AE-00-00-01

192.168.1.70 peggyted<00>
Looking up status of 192.168.1.70
        GATEWAY         <00> -         B <ACTIVE>
        GATEWAY         <03> -         B <ACTIVE>
        GATEWAY         <20> -         B <ACTIVE>
        PEGGYTED        <00> - <GROUP> B <ACTIVE>
        PEGGYTED        <1e> - <GROUP> B <ACTIVE>

        MAC Address = 00-00-00-00-00-00

ted at Ubuntu:~$   ted at Ubuntu:~$ smbclient -L market -U ted
Password:
Domain=[PEGGYTED] OS=[Unix] Server=[Samba 2.0.3]

        Sharename       Type      Comment
        ---------       ----      -------
        netlogon        Disk      Network Logon Service
        service         Disk
        tmp             Disk      Temporary file space
        public          Disk      Public Stuff
        markted         Disk      Data Mounts
        mktHDC1         Disk      ch2 Data Mounts for bu
        mktHDC2         Disk      ch2 Data Mounts for bu
        markshr         Disk      Data Mounts
        publica         Disk
        IPC$            IPC       IPC Service (Samba Server)
        lp              Printer
        ted             Disk      Home Directories
Domain=[PEGGYTED] OS=[Unix] Server=[Samba 2.0.3]

        Server               Comment
        ---------            -------
        CIC2EXT              Functionally extends CICERO
        CICERO               Fast Download
        GATEWAY              Samba Server
        MARKET               Samba Server
        UBUNTU               SServer

        Workgroup            Master
        ---------            -------
        PEGGYTED             MARKET
ted at Ubuntu:~$ smbclient -L gateway -U ted
Password:
Domain=[PEGGYTED] OS=[Unix] Server=[Samba 3.0.2a-SUSE]

        Sharename       Type      Comment
        ---------       ----      -------
        netlogon        Disk      Network Logon Service
        service         Disk
        tmp             Disk      Temporary file space
        public          Disk      Public Stuff
        gwted           Disk      Data Mounts
        gwHDD1          Disk      ch2 Data Mounts for bu
        gwHDD2          Disk      ch2 Data Mounts for bu
        gwshr           Disk      Data Mounts
        publica         Disk
        IPC$            IPC       IPC Service (Samba Server)
        ADMIN$          IPC       IPC Service (Samba Server)
        ted             Disk      Home Directories
Domain=[PEGGYTED] OS=[Unix] Server=[Samba 3.0.2a-SUSE]

        Server               Comment
        ---------            -------
        GATEWAY              Samba Server
        UBUNTU               SServer

        Workgroup            Master
        ---------            -------
        PEGGYTED             UBUNTU
ted at Ubuntu:~$ smbclient -L Ubuntu -U ted
Error connecting to 192.168.1.16 (Connection refused)
Connection to Ubuntu failed (Error NT_STATUS_CONNECTION_REFUSED)
ted at Ubuntu:~$ smbclient -L CICERO -U ted
Password:
Domain=[CICERO] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

        Sharename       Type      Comment
        ---------       ----      -------
        Ubuntu-Xfer     Disk
        persecution_email Disk
        IPC$            IPC       Remote IPC
        D$              Disk      Default share
        SharedDocs      Disk
        print$          Disk      Printer Drivers
        Inetpub         Disk
        C               Disk
        D               Disk
        CD Burning      Disk
        E_DVD-CD_CIC    Disk
        User            Disk
        TI-89-SDK       Disk
        DOCS            Disk
        RAW             Disk
        F$              Disk      Default share
        ADMIN$          Disk      Remote Admin
        C$              Disk      Default share
        special_info    Disk
        F_cicero-dat    Disk
        ted             Disk
        TI Flash Studio Disk
Domain=[CICERO] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

        Server               Comment
        ---------            -------

        Workgroup            Master
        ---------            -------
ted at Ubuntu:~$ smbclient -L cic2ext -U ted
Password:
Domain=[CIC2EXT] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

        Sharename       Type      Comment
        ---------       ----      -------
        HPUniver        Printer   hp LaserJet 3320 multi function printer
        C_cic2ext       Disk
        G on cic2ext    Disk
        IPC$            IPC       Remote IPC
        SharedDocs      Disk
        print$          Disk      Printer Drivers
        hpphotos        Printer   hpphoto
        hd2news         Disk
        F_cic2ext       Disk
        Offline         Disk
        D-CDRW-cic2     Disk
Domain=[CIC2EXT] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

        Server               Comment
        ---------            -------

        Workgroup            Master
        ---------            -------
ted at Ubuntu:~$  


ted at Ubuntu:~$ smbclient -L market -U ted
Password:
Domain=[PEGGYTED] OS=[Unix] Server=[Samba 2.0.3]

        Sharename       Type      Comment
        ---------       ----      -------
        netlogon        Disk      Network Logon Service
        service         Disk
        tmp             Disk      Temporary file space
        public          Disk      Public Stuff
        markted         Disk      Data Mounts
        mktHDC1         Disk      ch2 Data Mounts for bu
        mktHDC2         Disk      ch2 Data Mounts for bu
        markshr         Disk      Data Mounts
        publica         Disk
        IPC$            IPC       IPC Service (Samba Server)
        lp              Printer
        ted             Disk      Home Directories
Domain=[PEGGYTED] OS=[Unix] Server=[Samba 2.0.3]

        Server               Comment
        ---------            -------
        CIC2EXT              Functionally extends CICERO
        CICERO               Fast Download
        GATEWAY              Samba Server
        MARKET               Samba Server
        UBUNTU               SServer

        Workgroup            Master
        ---------            -------
        PEGGYTED             MARKET
ted at Ubuntu:~$ smbclient -L gateway -U ted
Password:
Domain=[PEGGYTED] OS=[Unix] Server=[Samba 3.0.2a-SUSE]

        Sharename       Type      Comment
        ---------       ----      -------
        netlogon        Disk      Network Logon Service
        service         Disk
        tmp             Disk      Temporary file space
        public          Disk      Public Stuff
        gwted           Disk      Data Mounts
        gwHDD1          Disk      ch2 Data Mounts for bu
        gwHDD2          Disk      ch2 Data Mounts for bu
        gwshr           Disk      Data Mounts
        publica         Disk
        IPC$            IPC       IPC Service (Samba Server)
        ADMIN$          IPC       IPC Service (Samba Server)
        ted             Disk      Home Directories
Domain=[PEGGYTED] OS=[Unix] Server=[Samba 3.0.2a-SUSE]

        Server               Comment
        ---------            -------
        GATEWAY              Samba Server
        UBUNTU               SServer

        Workgroup            Master
        ---------            -------
        PEGGYTED             UBUNTU
ted at Ubuntu:~$ smbclient -L Ubuntu -U ted
Error connecting to 192.168.1.16 (Connection refused)
Connection to Ubuntu failed (Error NT_STATUS_CONNECTION_REFUSED)
ted at Ubuntu:~$ smbclient -L CICERO -U ted
Password:
Domain=[CICERO] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

        Sharename       Type      Comment
        ---------       ----      -------
        Ubuntu-Xfer     Disk
        persecution_email Disk
        IPC$            IPC       Remote IPC
        D$              Disk      Default share
        SharedDocs      Disk
        print$          Disk      Printer Drivers
        Inetpub         Disk
        C               Disk
        D               Disk
        CD Burning      Disk
        E_DVD-CD_CIC    Disk
        User            Disk
        TI-89-SDK       Disk
        DOCS            Disk
        RAW             Disk
        F$              Disk      Default share
        ADMIN$          Disk      Remote Admin
        C$              Disk      Default share
        special_info    Disk
        F_cicero-dat    Disk
        ted             Disk
        TI Flash Studio Disk
Domain=[CICERO] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

        Server               Comment
        ---------            -------

        Workgroup            Master
        ---------            -------
ted at Ubuntu:~$ smbclient -L cic2ext -U ted
Password:
Domain=[CIC2EXT] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

        Sharename       Type      Comment
        ---------       ----      -------
        HPUniver        Printer   hp LaserJet 3320 multi function printer
        C_cic2ext       Disk
        G on cic2ext    Disk
        IPC$            IPC       Remote IPC
        SharedDocs      Disk
        print$          Disk      Printer Drivers
        hpphotos        Printer   hpphoto
        hd2news         Disk
        F_cic2ext       Disk
        Offline         Disk
        D-CDRW-cic2     Disk
Domain=[CIC2EXT] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

        Server               Comment
        ---------            -------

        Workgroup            Master
        ---------            -------
ted at Ubuntu:~$  


ted at Ubuntu:~$ smbclient -L Ubuntu -U ted
Error connecting to 192.168.1.16 (Connection refused)
Connection to Ubuntu failed (Error NT_STATUS_CONNECTION_REFUSED)
ted at Ubuntu:~$ 




More information about the ubuntu-users mailing list