Do not use on any
shared computer
August 29, 2008 10:27pm pdt
 
[x]
Attachment Details

Mount windows shares on linux

I'm looking for a way to mount a windows share on a linux box in such a way that when the linux users write data to the mount point, I can (this might be a stretch) map their unix ID to their windows ID for permissions purposes.

I'm aware of using mount.cifs, however, I would have to mount the drive as a particular domain user (a user who has access to the shared NTFS/CIFS folder), however, when linux users modify/write data to the mounted drive, they are accessing the shared deveice as if they were the windows user that mounted the drive.  NFS would be a good alternative here, however, I don't have an NFS server running on the windows box that is hosting the share.

Any suggestions?  Can a Samba client be brought into the picture?  I could automount the drive with the linux user's windows credentials when they login (each linux user has a windows domain account as well), however, I still have to mount the windows drive somewhere at the root level for a web server to be able to access the data, cron scripts to write data to it, etc.  I do not want to mount that drive as my own windows domain account or a system admin domain account.
Start your free trial to view this solution
Question Stats
Zone: OS
Question Asked By: josh2780
Question Asked On: 07.22.2008
Participating Experts: 1
Points: 500
Views: 0
Translate:
Loading Advertisement...
 
[+][-]Expert Comment by Alundrez
Expert Comment by Alundrez:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by josh2780
Author Comment by josh2780:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by josh2780
Author Comment by josh2780:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by josh2780
Author Comment by josh2780:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
20080723-EE-VQP-34 / EE_QW_2_20070628