Solved

smbmount Win2k Active Directory Share

Posted on 2003-11-19
3
1,214 Views
Last Modified: 2008-05-30
I'm trying to mount a share from my win2kServer (Domain Controller) on RedHat Linux 7.3 (Samba 3.0.0-2).

The problem is that I can only get guest access. The session shows up on the Win2k server as GUEST.

I mount it like this:
# mount -t smbfs -o username=admin,password=secret //server/notes /staffnotes/

No error is returned, and it is instantly mounted, but I only have read access.

I have added the user account and password on the Win2k Active Directory, and made sure it's not disabled, and have given this user full read/write access to the share.

Any ideas on this situation would be greatly appreciated!!

Paul.
0
Comment
Question by:H4Inf
3 Comments
 
LVL 16

Expert Comment

by:The--Captain
ID: 9784838
I'd repost this in the Linux Net TA - I think it's already been answered there several times.

Cheers,
-Jon
0
 
LVL 8

Expert Comment

by:SNilsson
ID: 9785626
0
 
LVL 13

Accepted Solution

by:
rhinoceros earned 35 total points
ID: 9786018
Try it

On Windows side
1. Assigned the username & password from Win2k server
2. Shared the folder as "sharefolder" to give the permission to this user

On Linux side
1. Make the new folder into /mnt folder
e.g. "mkdir /mnt/linuxfolder"

or even use the existing "/mnt/floppy" (if physical floppy drive is not mounted)

2. mount -t smbfs -o username=admin,password=secret //serverip/sharefolder /mnt/linuxfolder/


So you should do anything for this mapped drive by the user's permission .


It's worked, because I am using above method to auto mount by schedule every night, transfer data from linux side to windows side.


I hope it can help.
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
What are acceptable WiFi signal strengths 6 54
networking details on centos 6.6 4 49
Hyper-V VM not connected 1 72
PowerShell:  Add Header to Out-File 2 0
For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

930 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

12 Experts available now in Live!

Get 1:1 Help Now