Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unable to connect to Samba share from a Red Hat Client

Status
Not open for further replies.

womp

Technical User
Apr 6, 2001
105
US
Hello,
I have several HP Unix Servers configured as samba servers.
On my Red Hat 8.0 client I type, at the browser:
smb://server_name/homes
The sunflower in the upper right hand corner goes round and round. I then take off the homes portion and I am asked for a user name and password which I put in.

I then receive two shares that I am cleared for tmp and homes. I click on either one and the sunflower in the upper right hand corner goes around and around without ever connecting to these shares. Our security in the smb.conf file is set to:
security = shares.

You can also access these shares from a windows machine. Does anybody else have this type of difficulties that can help me?

Thank You
 
try using the command line

as root:

mkdir to mount to like /mnt/HPServer1

smbmount //HPServer1/SHARE /mnt/HPServer1 -o username=(username that has access)%password

See if you can mount the dir by hand.
 
Clonny2,
I just tried your suggestion and receive the error:
could not resolve the mount point /mnt/server_name
 
try using IP Address instead of server name.

smbmount //192.168.1.100/MY_SHARE /mnt/HPServer1

see if you can mount by Ip. If you can then there is a wins issue.

might need to edit the smb.conf, which is for samba server.

can try adding lmhosts file and/or editing /etc/hosts.

 
The [tt]could not resolve the mount point /mnt/server_name[/tt] error means that [tt]mount[/tt] wasn't able to find the directory [tt]/mnt/server_name[/tt]. Try creating the directory before you use it, with the [tt]mkdir[/tt] command as clonny2 stated above. //Daniel
 
The invocation of smbmount suugests that mount is used as follows. Also

mount -t smbfs -o username=joe,password=joespass //servername/sharename /mnt/name

the /mnt/name is a dircetory that must exist. It does not have to be in /mnt at all, just anywhere that the user has the rights to use it. Hence the mkdir advice above.

If the share then appears in /mnt/name after this has been done then you have a good samba server which is working as it says on the box.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top