Solved

RED HAT 8.0 smbclient & smbmount (couldn't mount)

Posted on 2004-09-27
11
3,327 Views
Last Modified: 2013-12-06
Dear Professional,

i have tried to mount the shares which is on windows2000 server with the name "smh" and the server name is "WS10". I have used a command

smbmount //ws10/smh /software/smhsmb

then it asked for the password. i have used the root password, windows administrator password and have checked the permission of the share. everything is ok. I also used empty password but couldn't mount the share

Windows 2000 machine running on WORKGROUP . do i need to run the linux in WORKGROUP? from where i can make the REDHAT linux configure to run in workgroup

regards
0
Comment
Question by:nepk
11 Comments
 
LVL 1

Expert Comment

by:Nicalya
ID: 12166679
Personally to mount windows shares, I always use LinNeighborhood (http://www.bnro.de/~schmidjo/), sure it doesn't look that good (they really should convert it to gtk2).

It is able to browse your entire network, and you can mount shares with specific workgroup/domain users.  Once mounted you can even export those mounted shares to scripts you can afterwards run from bash.

hih
Nic
0
 
LVL 1

Author Comment

by:nepk
ID: 12166730
ok but i wanted to do with samba
0
 
LVL 1

Author Comment

by:nepk
ID: 12166813
from which file can we change the domain or workgroup name
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
LVL 17

Expert Comment

by:owensleftfoot
ID: 12167626
What does smbclient -L //ws10 give? I s the share on w2k available to EVERYONE?
0
 
LVL 19

Accepted Solution

by:
ramazanyich earned 50 total points
ID: 12168501
try following command:
smbmount //ws10/smh /software/smhsmb -o username=administrator workgroup=WORKGROUP
0
 
LVL 1

Assisted Solution

by:ransoneb
ransoneb earned 50 total points
ID: 12170363
try this

mount -t smbfs -o username=thenameondestinationbox,password=passwordondestinationbox //ws10/smh /software/smhsmb

I have found that somtimes if smbmount doesn't work, mount -t smbfs does. make sure u use the name and pass of the destination computer.
0
 
LVL 1

Expert Comment

by:Nicalya
ID: 12170830
>  ok but i wanted to do with samba

LinNeighborhood is nothing more than a (handy) GUI for samba, that's all.

If you aren't familiar with smbclient-fiddling from command line (like me), the "export mount" really comes in handy, it simply creates a bash file you can later on use manually.
(that's why I mention it :) )
0
 
LVL 1

Author Comment

by:nepk
ID: 12187439
Dear freind sorry for the late reply. I was busy in some other stuff. I am going toaccept the reply from  "ramazanyich" and "ransoneb". both of you came with the corret reply. is tehre anyway to split the point and assign 50/50 between you.

please reply

0
 
LVL 1

Author Comment

by:nepk
ID: 12196100
majorwoo
EE Page Editor

one more question how do i close my open question. sometime I don't get the proper answer
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question