- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- map windows drives on linux
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2009 07:49 AM
тАО01-28-2009 07:49 AM
map windows drives on linux
i m using RHEL5 Client.
i m in a fix. i have a windows file server and a windows AD domain controller.
all windows workstation users are able to log in to their workstations authenticated by Windows DC and also shared drives on the file server mapped with logon scripts.
now i m creating linux workstations and have been successful in adding the linux machines to the domain and users are authenticated from the windows DC.
now comes the question of mapping the shared drives for each user.
the script on the windows DC is as below
NET USE G: \\172.16.2.2\FINANCE
NET USE G: \\172.16.2.2\AUDIT
for each user the script is different and users sit on any workstation.
is their any way Linux can be made to understand this script and drives be mapped for users?
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2009 10:01 AM
тАО01-28-2009 10:01 AM
Re: map windows drives on linux
My experience is mostly with assigned computers or server-to-server mounts, so I can't offer much advice on the any user/any desktop/different shares situation. However, I think that pam_mount (http://pam-mount.sf.net/) was designed to support that scenario, so I'd start there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2009 10:45 AM
тАО01-28-2009 10:45 AM
Re: map windows drives on linux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2009 07:40 AM
тАО01-31-2009 07:40 AM
Re: map windows drives on linux
when i run a yum install pam_mount in either RHEL5 or CentOS 5 i get no thing to do.
i downloaded the pam module package frm the net and ran ./configure
and here is what i get
i m not an expert in linux yet. no way i can get thru this. plz help.
No package 'libHX' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables libHX_CFLAGS
and libHX_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
[root@lin2 pam_mount-1.16]#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2009 12:49 PM
тАО02-01-2009 12:49 PM
Re: map windows drives on linux
You could also look at the various Samba modules that are (usually) included with RedHat.
smbmount will probably do what you need.
http://www.linux-noob.com/forums/lofiversion/index.php/t1404.html
Hope this helps,
Regards,
Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2009 01:04 PM
тАО02-01-2009 01:04 PM
Re: map windows drives on linux
like
NET USE G: \\172.16.2.2\FINANCE
NET USE G: \\172.16.2.2\AUDIT
mapping/mounting them to the shared drives. Users shared drives may be different and each user has more than one shared drive and this changes for each user.
so adding the mapping lines to each workstations fstab file is not feasible.
am i getting you rite?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2009 01:17 PM
тАО02-01-2009 01:17 PM
Re: map windows drives on linux
It should be possible, but will probably need some work/research.
This looks like a good start:
http://oreilly.com/catalog/samba/chapter/book/ch06_06.html
Cheers,
Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2009 01:18 PM
тАО02-01-2009 01:18 PM
Re: map windows drives on linux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2009 05:45 PM
тАО02-01-2009 05:45 PM
Re: map windows drives on linux
the steps in ur link wud wrk for a samba DC n win client. :|
do u knw of any other wrkarnd?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2009 01:26 AM
тАО02-02-2009 01:26 AM
Re: map windows drives on linux
Use cifsmount or mount -t cifs or set it up in /etc/fstab
//10.0.0.10/web /web cifs credentials=/etc/samba/cred-file,uid=invest,gid=web
#,fmask=0770,dmask=0770 0 0
credentials file includes:
username = username
password = password
With RHEL 4 use mount -t smbfs
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com