[Samba] Samba 3.0.24 on OpenWRT

Kunal Punjabi kpunjabi at ubicom.com
Tue Jun 16 19:53:48 GMT 2009


Thank you, now I can rule nmbd out, at least during testing. I confirmed
that samba is not listening on ports 139 or 145, so that must be the
problem.

/etc/samba # smbd
/etc/samba # smbd
/etc/samba # netstat -a | grep LISTEN
tcp        0      0 0.0.0.0:80              0.0.0.0:*
LISTEN

tcp        0      0 0.0.0.0:53              0.0.0.0:*
LISTEN

tcp        0      0 0.0.0.0:22              0.0.0.0:*
LISTEN

tcp        0      0 0.0.0.0:23              0.0.0.0:*
LISTEN

netstat: /proc/net/tcp6: No such file or directory
netstat: /proc/net/udp6: No such file or directory
netstat: /proc/net/raw6: No such file or directory
/etc/samba #


Kunal

-----Original Message-----
From: Volker Lendecke [mailto:Volker.Lendecke at SerNet.DE] 
Sent: Monday, June 15, 2009 10:23 PM
To: Kunal Punjabi
Cc: samba at lists.samba.org
Subject: Re: [Samba] Samba 3.0.24 on OpenWRT

On Mon, Jun 15, 2009 at 05:16:54PM -0700, Kunal Punjabi wrote:
> We have managed to compile samba3 (v 3.0.24 that ships with openwrt/
> kamizake) for our ubicom32 platform and programmed a board with it, 
> however I am not able to access a samba share on the board. When 
> trying to access the OpenWRT router (using the smbclient command) I
get:
> 
> Error NT_STATUS_CONNECTION_REFUSED

Your smb.conf looks fine. If you get
NT_STATUS_CONNECTION_REFUSED, smbd is probably just not running. Please
check if port 139 and 445 are listening.

nmbd is required for normal operations, but if for testing purposes you
connect to that box using the IP address, it is not.

Volker



More information about the samba mailing list