Solved

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

Posted on 2004-09-27
11
3,319 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
 
LVL 17

Expert Comment

by:owensleftfoot
ID: 12167626
What does smbclient -L //ws10 give? I s the share on w2k available to EVERYONE?
0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Anti-Spam SMTP Proxy Server (@SSP) 7 81
linux crontab output 3 66
Linux as a middle box 7 62
Which is more secure: EAP or machine certificate for IKEv2 VPN? 1 39
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

914 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now