Solved

smbmount Win2k Active Directory Share

Posted on 2003-11-19
3
1,205 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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

This is an article about my experiences with remote access to my clients (so that I may serve them) and eventually to my home office system via Radmin Remote Control. I have been using remote access for over 10 years and have been improving my metho…
Synchronize a new Active Directory domain with an existing Office 365 tenant
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

706 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

20 Experts available now in Live!

Get 1:1 Help Now