Operating System - Linux
1754404 Members
3357 Online
108813 Solutions
New Discussion юеВ

map windows drives on linux

 
iinfi1
Super Advisor

Re: map windows drives on linux

hi
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?
Steven E. Protter
Exalted Contributor

Re: map windows drives on linux

Shalom,

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
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Steven E. Protter
Exalted Contributor

Re: map windows drives on linux

I Hit enter before I was doe.

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
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
iinfi1
Super Advisor

Re: map windows drives on linux

thank you sir,

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.
Heironimus
Honored Contributor

Re: map windows drives on linux

RHEL4 systems should also use cifs. It's RHEL3 and below that only support smbfs.