Why can't I mount a smbfs of win 2k server on RH9.0?

jonathan.share at syngenta.com jonathan.share at syngenta.com
Fri Jun 4 08:03:49 UTC 2004


> -----Original Message-----
> From: Yan Peng [mailto:yanpeng at mx.cei.gov.cn]
> 
> 
> jonathan.share:
> 
> Thank you for your help.  
> 
> I have run the command and gotten the error messages as the below:
> 
> #smbclient -L test -U yp
> added interface ip=203.207.195.89 bcast=203.207.195.127 
> nmask=255.255.255.192
> session request to TEST failed (Called name not present)
> Password: 
> Domain=[WORKGROUP] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
> tree connect failed: NT_STATUS_DUPLICATE_NAME

This message indicates that there is more than one host on the netowork with
the name test (you didn't name your linux box the same did you?).
You could try adding the -I parameter to specify which IP to connect to.

> 
> 
> Now I'd like to know what parameters must be set in smb.conf 
> in order to access the folder of WIN 2000?

In my (very limited) experience only the workgroup, and sometimes the
encrypt passwords, entries need changing.

> And do I have to set the RH server and Win 2000 server to the 
> same WORKGROUP?

If your 2k server is using workgroup style networking then yes both hosts
MUST belong to the same workgroup.
If your 2k server is using domain style networking (Note: only native mode
is supported. Can someone else confirm that?) then the workgroup entry in
your smb.conf should be the name of the 2k domain you are connecting to.

> 
> Thank you very much!
> 
> 
> Yan Peng
> yanpeng at mx.cei.gov.cn
> 2004-06-04
> 

*snip*

There are 3 other points I would like to make:

1) Reply to the whole group unless you have been asked otherwise. I am not
(yet) a samba expert, other more experienced people may see something
obvious that I have missed.
2) Bottom post, it's easier to follow.
3) It would probably do you good to read through the samba documentation
before going any further. On my FC1 installation these are located at

/usr/share/doc/samba-3.0.2/docs/htmldocs/index.html

People are much more likely to help if you can show that you RTFM and tried
to figure it yourself before posting.

Hope this helps

Jonathan





More information about the Redhat-install-list mailing list