[Samba] Samba Configuration and Remote Access

Dan De Cotiis ddecoti1 at swarthmore.edu
Tue Nov 26 03:23:00 GMT 2002


Let me preface by saying that I know I should take better security measures:
                        We have a test samba box which lies behind a linksys
router connected to a cable modem.  The router forwards TCP/UDP information
on all the necessary ports (137-139, 445) to the Samba server (There is no
VPN).  What we want to do is to allow remote windows clients, namely 98 and
XP to map samba shares as network drives on their local machines.  After
configuring the smb.conf file, 98 clients can see the SAMBA box without
problems.  If I type "net view \\111.111.111" I get an enumeration of the
available shares.  I can then either use the graphical tool in windows
explorer, or use the "net use" command to map a drive.  However trying to
perform the "net view \\111.111.111" command in XP leads to the generation
of a "System error 53 has occured" message.  The graphical drive mapping
tool in XP returns on error that says "no network was found".  Why can 98
clients see the box and not XP clients?  Should I configure something
differently in my smb.conf file or is it an XP issue.  I have enabled
NetBios over TCP/IP and fooled with the lmhosts file in XP, neither seemed
to work.
  The smb.conf [global] section follows:
[global]

workgroup = WORKGROUP

server string = MyServer

guest account = nobody

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

max log size = 0

security = user

encrypt passwords = yes

smb passwd file = /etc/samba/smbpasswd

unix password sync = Yes

passwd program = /usr/bin/passwd %u

passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*

pam password change = yes

obey pam restrictions = yes

socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

remote announce = 192.168.1.255

local master = yes

domain master = yes

preferred master = yes

wins support = yes

wins proxy = yes

dns proxy = yes

Thanks for any help,

Dan De Cotiis







More information about the samba mailing list