I just attempted to setup samba with the following results:
(comp.protocols.samba probably would've been a better place to post this
question but our news server is currently down and probably won't be up
for quite a while)

At one point, 'nbtstat -a <linuxIP>' under NT was finding my linux box
but, after fooling around in my smb.conf I've manage to obliterate it
totally from view... I get a "Host not found." error.

If I do an 'smbclient -L <linuxIP> under linux, I get:

Added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
read_socket_with_timeout: timeout read. read error = Broken pipe.
session request to 192.168.2.77 failed 
read_socket_with_timeout: timeout read. read error = Broken pipe.
session request to *SMBSERVER failed

I believe my local network is NetBIOS running on TCP/IP and doesn't use
WINS resolution. It's behind a socks5 firewall (not that that has anything
to do with it). As you may see from my smb.conf file below, I've created
an account called 'winloser' which is a member of the group users. The
directory /export/cifs below is owned by root and the group users. If
there's any other info I can provide, let me know...

#======================= Global Settings =====================================
[global]

   netbios name = TUX
   workgroup = UNAFFILIATED
   server string = Samba Server

   guest account = winloser

   log file = /var/log/samba/log.%m

   max log size = 100

   security = user

   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

   remote announce = 192.168.1.255 192.168.2.44

   dns proxy = no 

#============================ Share Definitions ==============================
[homes]
   comment = Home Directories
   browseable = no
   writable = yes

[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no
# Set public = yes to allow user 'guest account' to print
   guest ok = no
   writable = no
   printable = yes

[public]
   comment = Public Stuff
   path = /export/cifs
   public = yes
   only guest = yes
   writable = no
   printable = no

Reply via email to