Hi There,

I've been using Samba for years and years but I've hit a problem that I just 
don't understand.

We have a storage server that's been running nicely for 18 months. It does NFS 
for virtual machines and SMB for Windows storage. The machine is domain joined 
and seems in good order. Recently (and coincidently) we made some changes to 
our domain controllers and since then Samba on this server has stopped 
responding (I believe that this is a coincidence but it's worth mentioning.)

As I write, Samba works nicely using commands on the local machine. Here's 
smbclient...

[root@storage03 samba]# smbclient -L storage03
params.c:OpenConfFile() - Unable to open configuration file 
"/usr/local/samba/etc/smb.conf":
        No such file or directory
/root/samba-4.0.5/bin/smbclient: Can't load /usr/local/samba/etc/smb.conf - run 
testparm to debug it
Enter root's password:
Anonymous login successful
Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.6.9-151.el6]

        Sharename       Type      Comment
        ---------       ----      -------
        IPC$            IPC       IPC Service (Samba Server Version 
3.6.9-151.el6)
Anonymous login successful
Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.6.9-151.el6]

        Server               Comment
        ---------            -------
        STORAGE03            Samba Server Version 3.6.9-151.el6

        Workgroup            Master
        ---------            -------
        MYGROUP


...and here's what happens when I telnet to port 139...

[root@storage03 samba]# telnet 10.249.1.33 139
Trying 10.249.1.33...
Connected to 10.249.1.33.
Escape character is '^]'.

All good but when I try that stuff from a machine on the LAN, it all fails...

[root@xen01a ~]# smbclient -L 10.249.1.33
timeout connecting to 10.249.1.33:445
timeout connecting to 10.249.1.33:139
Error connecting to 10.249.1.33 (Operation already in progress)
Connection to 10.249.1.33 failed (Error NT_STATUS_ACCESS_DENIED)

...and...

[root@xen01a ~]# telnet 10.249.1.33 139
Trying 10.249.1.33...
^C

I don't understand what is going on. I've copied our original configuration, 
moved it to one side, removed Samba, delete its /var/lib directory and 
reinstalled it. The default installation smb.conf file is now in place and it 
still doesn't work.

The machine does not have IPTables running and is not firewalled in anyway. 
Every other protocol works just fine.

If I TCP Dump the LAN interface, with smbd NOT running I see traffic but 
(interestingly), with smbd running, I don't see any packets in tcpdump. The 
machine has two NICs, a 10Gbit/s Chelsio and a 1Gbit/s Intel, Samba doesn't 
work on either of them.

It's all very very strange, can anyone make any suggestions as to what might be 
the problem? I'm running version, 3.6.9-151.el6 on a CentOS-based machine.

Your help would be very much appreciated as I'm at a loss.

Cheers
Jason.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to