<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: map windows drives on linux in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/map-windows-drives-on-linux/m-p/4346774#M35033</link>
    <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;No, red hat can not detect and run windows login scripts.&lt;BR /&gt;&lt;BR /&gt;You can either do a start up mount command or this:&lt;BR /&gt;&lt;BR /&gt;//10.0.0.10/web /web cifs credentials=/etc/samba/cred-file,uid=invest,gid=web&lt;BR /&gt;#,fmask=0770,dmask=0770 0 0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Change the ip address to something valid or a server name. The above is an /etc/fstab entry.&lt;BR /&gt;&lt;BR /&gt;It will properly mount windows shares.&lt;BR /&gt;&lt;BR /&gt;I also recommend joining the system into the cifs/samba domain.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Mon, 09 Feb 2009 09:57:16 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2009-02-09T09:57:16Z</dc:date>
    <item>
      <title>map windows drives on linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/map-windows-drives-on-linux/m-p/4346763#M35022</link>
      <description>hi all,&lt;BR /&gt;i m using RHEL5 Client.&lt;BR /&gt;i m in a fix. i have a windows file server and a windows AD domain controller.&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;now comes the question of mapping the shared drives for each user.&lt;BR /&gt;the script on the windows DC is as below&lt;BR /&gt;&lt;BR /&gt;NET USE G: \\172.16.2.2\FINANCE&lt;BR /&gt;&lt;BR /&gt;NET USE G: \\172.16.2.2\AUDIT&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;for each user the script is different and users sit on any workstation. &lt;BR /&gt;is their any way Linux can be made to understand this script and drives be mapped for users?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;thanks</description>
      <pubDate>Wed, 28 Jan 2009 15:49:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/map-windows-drives-on-linux/m-p/4346763#M35022</guid>
      <dc:creator>iinfi1</dc:creator>
      <dc:date>2009-01-28T15:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: map windows drives on linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/map-windows-drives-on-linux/m-p/4346764#M35023</link>
      <description>You can mount Windows file shares, but that script is a DOS BAT file. Linux doesn't use "net use" for mounting Windows shares, nor does it map them to drive letters.&lt;BR /&gt;&lt;BR /&gt;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 (&lt;A href="http://pam-mount.sf.net/)" target="_blank"&gt;http://pam-mount.sf.net/)&lt;/A&gt; was designed to support that scenario, so I'd start there.&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Jan 2009 18:01:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/map-windows-drives-on-linux/m-p/4346764#M35023</guid>
      <dc:creator>Heironimus</dc:creator>
      <dc:date>2009-01-28T18:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: map windows drives on linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/map-windows-drives-on-linux/m-p/4346765#M35024</link>
      <description>thank you. i will chhk wat pam is abt</description>
      <pubDate>Wed, 28 Jan 2009 18:45:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/map-windows-drives-on-linux/m-p/4346765#M35024</guid>
      <dc:creator>iinfi1</dc:creator>
      <dc:date>2009-01-28T18:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: map windows drives on linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/map-windows-drives-on-linux/m-p/4346766#M35025</link>
      <description>&lt;!--!*#--&gt;&lt;BR /&gt;when i run a yum install pam_mount in either RHEL5 or CentOS 5 i get no thing to do.&lt;BR /&gt;i downloaded the pam module package frm the net and ran ./configure&lt;BR /&gt;and here is what i get&lt;BR /&gt;i m not an expert in linux yet. no way i can get thru this. plz help.&lt;BR /&gt;&lt;BR /&gt;No package 'libHX' found&lt;BR /&gt;&lt;BR /&gt;Consider adjusting the PKG_CONFIG_PATH environment variable if you&lt;BR /&gt;installed software in a non-standard prefix.&lt;BR /&gt;&lt;BR /&gt;Alternatively, you may set the environment variables libHX_CFLAGS&lt;BR /&gt;and libHX_LIBS to avoid the need to call pkg-config.&lt;BR /&gt;See the pkg-config man page for more details.&lt;BR /&gt;&lt;BR /&gt;[root@lin2 pam_mount-1.16]#&lt;BR /&gt;</description>
      <pubDate>Sat, 31 Jan 2009 15:40:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/map-windows-drives-on-linux/m-p/4346766#M35025</guid>
      <dc:creator>iinfi1</dc:creator>
      <dc:date>2009-01-31T15:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: map windows drives on linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/map-windows-drives-on-linux/m-p/4346767#M35026</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You could also look at the various Samba modules that are (usually) included with RedHat.&lt;BR /&gt;&lt;BR /&gt;smbmount will probably do what you need.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.linux-noob.com/forums/lofiversion/index.php/t1404.html" target="_blank"&gt;http://www.linux-noob.com/forums/lofiversion/index.php/t1404.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Rob</description>
      <pubDate>Sun, 01 Feb 2009 20:49:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/map-windows-drives-on-linux/m-p/4346767#M35026</guid>
      <dc:creator>Rob Leadbeater</dc:creator>
      <dc:date>2009-02-01T20:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: map windows drives on linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/map-windows-drives-on-linux/m-p/4346768#M35027</link>
      <description>i m afraid i dont think this wud work as we are looking at arnd 700 odd users who are going to move from windows workstations to linux workstations with the Windows AD authenticating them and scripts written in AD &lt;BR /&gt;like &lt;BR /&gt;NET USE G: \\172.16.2.2\FINANCE&lt;BR /&gt;&lt;BR /&gt;NET USE G: \\172.16.2.2\AUDIT&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;so adding the mapping lines to each workstations fstab file is not feasible.&lt;BR /&gt;&lt;BR /&gt;am i getting you rite?&lt;BR /&gt;</description>
      <pubDate>Sun, 01 Feb 2009 21:04:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/map-windows-drives-on-linux/m-p/4346768#M35027</guid>
      <dc:creator>iinfi1</dc:creator>
      <dc:date>2009-02-01T21:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: map windows drives on linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/map-windows-drives-on-linux/m-p/4346769#M35028</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;It should be possible, but will probably need some work/research.&lt;BR /&gt;&lt;BR /&gt;This looks like a good start:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://oreilly.com/catalog/samba/chapter/book/ch06_06.html" target="_blank"&gt;http://oreilly.com/catalog/samba/chapter/book/ch06_06.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;Rob</description>
      <pubDate>Sun, 01 Feb 2009 21:17:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/map-windows-drives-on-linux/m-p/4346769#M35028</guid>
      <dc:creator>Rob Leadbeater</dc:creator>
      <dc:date>2009-02-01T21:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: map windows drives on linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/map-windows-drives-on-linux/m-p/4346770#M35029</link>
      <description>Maybe not... On closer inspection that looks more like using Samba to replace a Windows server, not the other way around...</description>
      <pubDate>Sun, 01 Feb 2009 21:18:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/map-windows-drives-on-linux/m-p/4346770#M35029</guid>
      <dc:creator>Rob Leadbeater</dc:creator>
      <dc:date>2009-02-01T21:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: map windows drives on linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/map-windows-drives-on-linux/m-p/4346771#M35030</link>
      <description>yea .. i m afraid Rob&lt;BR /&gt;&lt;BR /&gt;the steps in ur link wud wrk for a samba DC n win client. :|&lt;BR /&gt;&lt;BR /&gt;do u knw of any other wrkarnd?</description>
      <pubDate>Mon, 02 Feb 2009 01:45:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/map-windows-drives-on-linux/m-p/4346771#M35030</guid>
      <dc:creator>iinfi1</dc:creator>
      <dc:date>2009-02-02T01:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: map windows drives on linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/map-windows-drives-on-linux/m-p/4346772#M35031</link>
      <description>Shalom&lt;BR /&gt;&lt;BR /&gt;Use cifsmount or mount -t cifs or set it up in /etc/fstab&lt;BR /&gt;&lt;BR /&gt;//10.0.0.10/web /web cifs credentials=/etc/samba/cred-file,uid=invest,gid=web&lt;BR /&gt;#,fmask=0770,dmask=0770 0 0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;credentials file includes:&lt;BR /&gt;&lt;BR /&gt;username = username&lt;BR /&gt;password = password&lt;BR /&gt;&lt;BR /&gt;With RHEL 4 use mount -t smbfs&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 02 Feb 2009 09:26:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/map-windows-drives-on-linux/m-p/4346772#M35031</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-02-02T09:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: map windows drives on linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/map-windows-drives-on-linux/m-p/4346773#M35032</link>
      <description>hi&lt;BR /&gt;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. &lt;BR /&gt;the end users are not tech-savvy and there is no way we can ask thm to map the drives themselves using konqueror.&lt;BR /&gt;&lt;BR /&gt;Jus another question&lt;BR /&gt;&lt;BR /&gt;can Wine (if installed on linux workstations) detect these winlogon scripts from AD and map the drives?</description>
      <pubDate>Sun, 08 Feb 2009 08:18:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/map-windows-drives-on-linux/m-p/4346773#M35032</guid>
      <dc:creator>iinfi1</dc:creator>
      <dc:date>2009-02-08T08:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: map windows drives on linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/map-windows-drives-on-linux/m-p/4346774#M35033</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;No, red hat can not detect and run windows login scripts.&lt;BR /&gt;&lt;BR /&gt;You can either do a start up mount command or this:&lt;BR /&gt;&lt;BR /&gt;//10.0.0.10/web /web cifs credentials=/etc/samba/cred-file,uid=invest,gid=web&lt;BR /&gt;#,fmask=0770,dmask=0770 0 0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Change the ip address to something valid or a server name. The above is an /etc/fstab entry.&lt;BR /&gt;&lt;BR /&gt;It will properly mount windows shares.&lt;BR /&gt;&lt;BR /&gt;I also recommend joining the system into the cifs/samba domain.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 09 Feb 2009 09:57:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/map-windows-drives-on-linux/m-p/4346774#M35033</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-02-09T09:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: map windows drives on linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/map-windows-drives-on-linux/m-p/4346775#M35034</link>
      <description>I Hit enter before I was doe.&lt;BR /&gt;&lt;BR /&gt;Also note, Linux does not used the limiting windows letter drive system.&lt;BR /&gt;&lt;BR /&gt;All integration should include the path from the server name down to the end of the mount path.&lt;BR /&gt;&lt;BR /&gt;There is a lot you can do.&lt;BR /&gt;&lt;BR /&gt;You can mount the drive with the log in scripts and then have a script parse the login script and issue manual mount commands.&lt;BR /&gt;&lt;BR /&gt;mount -t smbfs ... (RHEL 4 and below)&lt;BR /&gt;mount -t cifs ... (RHEL 5)&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 09 Feb 2009 10:01:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/map-windows-drives-on-linux/m-p/4346775#M35034</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-02-09T10:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: map windows drives on linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/map-windows-drives-on-linux/m-p/4346776#M35035</link>
      <description>thank you sir,&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;</description>
      <pubDate>Mon, 09 Feb 2009 15:40:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/map-windows-drives-on-linux/m-p/4346776#M35035</guid>
      <dc:creator>iinfi1</dc:creator>
      <dc:date>2009-02-09T15:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: map windows drives on linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/map-windows-drives-on-linux/m-p/4346777#M35036</link>
      <description>RHEL4 systems should also use cifs. It's RHEL3 and below that only support smbfs.</description>
      <pubDate>Mon, 09 Feb 2009 18:01:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/map-windows-drives-on-linux/m-p/4346777#M35036</guid>
      <dc:creator>Heironimus</dc:creator>
      <dc:date>2009-02-09T18:01:21Z</dc:date>
    </item>
  </channel>
</rss>

