- 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
Forums
Discussions
Discussions
Discussions
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
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2009 12:18 AM
02-08-2009 12:18 AM
Re: map windows drives on linux
the method suggested will not help my case as i am looking to migrate 300 odd windows workstation users to linux workstations and users switching computers. so mounting shares for a user on one PC wud mean he will be stuck to his machine and whn he moves to another machine he will not be able to have the drives on the file server mapped.
the end users are not tech-savvy and there is no way we can ask thm to map the drives themselves using konqueror.
Jus another question
can Wine (if installed on linux workstations) detect these winlogon scripts from AD and map the drives?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2009 01:57 AM
02-09-2009 01:57 AM
Re: map windows drives on linux
No, red hat can not detect and run windows login scripts.
You can either do a start up mount command or this:
//10.0.0.10/web /web cifs credentials=/etc/samba/cred-file,uid=invest,gid=web
#,fmask=0770,dmask=0770 0 0
Change the ip address to something valid or a server name. The above is an /etc/fstab entry.
It will properly mount windows shares.
I also recommend joining the system into the cifs/samba domain.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2009 02:01 AM
02-09-2009 02:01 AM
Re: map windows drives on linux
Also note, Linux does not used the limiting windows letter drive system.
All integration should include the path from the server name down to the end of the mount path.
There is a lot you can do.
You can mount the drive with the log in scripts and then have a script parse the login script and issue manual mount commands.
mount -t smbfs ... (RHEL 4 and below)
mount -t cifs ... (RHEL 5)
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2009 07:40 AM
02-09-2009 07:40 AM
Re: map windows drives on linux
i m not good at scripting. i will have to check how i can pull the existing scripts from Windows AD and recode it so that Linux understands them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2009 10:01 AM
02-09-2009 10:01 AM