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
I installed SuSE Linux 7.3 for Sparc on an old Sun and while everything works fine, I just cannot get the bundled pre-built sambe to do anything meaningful. It runs but on checking the shares using 'smbclient -L localhost' I get the following error message: Domain=[STATS] OS=[Unix] Server=[Samba 2.2.1a] tree connect failed: code 0 I also tried using the samba 2.0.10 that was bundled with the earlier 7.1 version of this operating system but get exactly the same error message. Does anyone have any suggestions? Thanks in advance for any help, Andy
I dont und.. 111.111.111 is name of your linux samba or what? ----- Original Message ----- From: "Dan De Cotiis" <ddecoti1@swarthmore.edu> To: <samba@lists.samba.org> Sent: Tuesday, November 26, 2002 4:14 AM Subject: [Samba] Samba Configuration and Remote Access> Let me preface by saying that I know I should take better securitymeasures:> We have a test samba box which lies behind alinksys> router connected to a cable modem. The router forwards TCP/UDPinformation> 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 98and> 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 > > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba