Solved

smbmount Win2k Active Directory Share

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Application timeout question 2 35
changing harddisk on computer in corporate 10 43
Windows 2012 PKI in a hybrid org 3 46
Domain Controller FSMO 7 35
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
Last week, our Skyport webinar on “How to secure your Active Directory” (https://www.experts-exchange.com/videos/5810/Webinar-Is-Your-Active-Directory-as-Secure-as-You-Think.html) provided 218 attendees with a step-by-step guide for identifying Acti…
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…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

813 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