linux@magellanconsultinginc.com
2005-Oct-09 19:29 UTC
[Samba] Can't see Samba Server from Win2k
I've read other posts on this, but can't figure out what I'm doing
wrong.
I have Suse 8.0, Samba 2.2.3a, and Win2k.
Win2k Setup:
workgroup = HOME_NET
Host Name = Copernicus
IP : 192.168.0.7
Subnet : 255.255.255.0
Def Gateway: 192.168.0.1
smb.conf (comments removed):
======================================================[global]
workgroup = HOME_NET
netbios name = gallileo
encrypt passwords = yes
security = share
wins support = yes
guest only = yes
username map = /etc/samba/smbusers
interfaces = 192.168.0.7/255.255.255.0
character set = ISO8859-15
client code page = 850
veto files = /*.eml/*.nws/riched20.dll/*.{*}/
[homes]
comment = Home Directories
read only = No
browseable = No
[share1]
path = /home/jimmy
read only = Yes
browseable = yes
guest ok = Yes
public = yes
======================================================
I set up lmhosts as follows:
===============================127.0.0.1 localhost
192.168.0.4 copernicus
192.168.0.7 gallileo
=================================
I added my user name to Samba and can see it in the passwords file. I used
the same user name and password when logging into the Win2k box.
Checking with smbclient gives me this:
====================================================Gallileo:/usr/bin #
smbclient -L gallileo
added interface ip=192.168.0.7 bcast=192.168.0.255 nmask=255.255.255.0
Password:
Domain=[HOME_NET] OS=[Unix] Server=[Samba 2.2.3a]
Sharename Type Comment
--------- ---- -------
share1 Disk
IPC$ IPC IPC Service (Samba 2.2.3a)
ADMIN$ Disk IPC Service (Samba 2.2.3a)
jimmy Disk Home Directories
Server Comment
--------- -------
GALLILEO Samba 2.2.3a
Workgroup Master
--------- -------
HOME_NET
Gallileo:/usr/bin #
=====================================================
testparm shows the conf file is OK.
When I log into the Win2k box as jimmy (again, same passwords as in Linux
ans Samba), I can't see the samba server within the workgroup within My
Network Places.
I've tried restarting samba and rebooting the win2k box, but to no avail.
I'm unsure of the "interfaces setting". I have it set to the ip
address of
the Linux box. I haev tried it with it commented out, but that didn't help.
I have the firewall turned off.
I can ping from both directions.
At the moment, I'm not concered about security. I'm just trying to
learn
for now and really just want to get the connection working.
Thanks,
James
--- linux@magellanconsultinginc.com escribi?:> I've read other posts on this, but can't figure out > what I'm doing wrong. > > I have Suse 8.0, Samba 2.2.3a, and Win2k. > > Win2k Setup: > workgroup = HOME_NET > Host Name = Copernicus > IP : 192.168.0.7 > Subnet : 255.255.255.0 > Def Gateway: 192.168.0.1 > > > smb.conf (comments removed): >======================================================> [global]> workgroup = HOME_NET > netbios name = gallileo > encrypt passwords = yes > security = share > wins support = yes > guest only = yes > > username map = /etc/samba/smbusers > > interfaces = 192.168.0.7/255.255.255.0 > > character set = ISO8859-15 > client code page = 850 > > > veto files = /*.eml/*.nws/riched20.dll/*.{*}/ > > [homes] > comment = Home Directories > read only = No > browseable = No > > [share1] > path = /home/jimmy > read only = Yes > browseable = yes > guest ok = Yes > public = yes >=====================================================>> > I set up lmhosts as follows:1.- Have you setted up a trust account for your win2k pc? 2.- Why use lmhosts? accoring to your smb.conf you re using samba as a wins server? 3.- you need to specify wich password backend you are using eg: passdb backend tdbsam:/etc/samba/passdb.tdb James. ___________________________________________________________ 1GB gratis, Antivirus y Antispam Correo Yahoo!, el mejor correo web del mundo http://correo.yahoo.com.ar