<?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: mount window share to linux in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/mount-window-share-to-linux/m-p/4006608#M82990</link>
    <description>You should use "-o guest", but this information I recently found and it's interesting:&lt;BR /&gt;&lt;BR /&gt;Mounting shares at logon time&lt;BR /&gt;&lt;BR /&gt;If you want to automatically mount shares at user logon time the only way I found is doing it with the pam_mount module. It is the only way to do an authenticated mount without requiring the user to store the password in a file or entering it on a terminal. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://pam-mount.sourceforge.net/" target="_blank"&gt;http://pam-mount.sourceforge.net/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 24 May 2007 11:53:07 GMT</pubDate>
    <dc:creator>Ivan Ferreira</dc:creator>
    <dc:date>2007-05-24T11:53:07Z</dc:date>
    <item>
      <title>mount window share to linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mount-window-share-to-linux/m-p/4006605#M82987</link>
      <description>mount -t smbfs //&lt;WINDOW server=""&gt;/&lt;SHARENAME&gt; /tmn where /tmn is a directory on linux.&lt;BR /&gt;It does not need provide username/password. What steps need be taken both in window and linux sides? As it always asks for password if as root on linux issue this command.&lt;BR /&gt;Thanks.&lt;/SHARENAME&gt;&lt;/WINDOW&gt;</description>
      <pubDate>Thu, 24 May 2007 10:05:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mount-window-share-to-linux/m-p/4006605#M82987</guid>
      <dc:creator>John Guster</dc:creator>
      <dc:date>2007-05-24T10:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: mount window share to linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mount-window-share-to-linux/m-p/4006606#M82988</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;The reason is the mount command requires root privileges on Linux.&lt;BR /&gt;&lt;BR /&gt;After providing the root password you will be prompted for a Windows user and password.&lt;BR /&gt;&lt;BR /&gt;It is possible though improbably that the Linux systems administrator will use sudo and give you the ability to run mount. See your friendly local neighborhood Linux admin for more on this.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 24 May 2007 10:22:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mount-window-share-to-linux/m-p/4006606#M82988</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-05-24T10:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: mount window share to linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mount-window-share-to-linux/m-p/4006607#M82989</link>
      <description>the command is surely executed as root on linux. I guess without provide username=xxx,password=xxx in the command line, it assumes the superuser on the window and ask for window superuser's password.&lt;BR /&gt;&lt;BR /&gt;I am looking for any possibility that without provide window account, just that command leads to mount window share to linux&lt;BR /&gt;&lt;BR /&gt;The point is mount/umount will be in a script. No one wants password hard coded in the script.</description>
      <pubDate>Thu, 24 May 2007 10:36:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mount-window-share-to-linux/m-p/4006607#M82989</guid>
      <dc:creator>John Guster</dc:creator>
      <dc:date>2007-05-24T10:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: mount window share to linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mount-window-share-to-linux/m-p/4006608#M82990</link>
      <description>You should use "-o guest", but this information I recently found and it's interesting:&lt;BR /&gt;&lt;BR /&gt;Mounting shares at logon time&lt;BR /&gt;&lt;BR /&gt;If you want to automatically mount shares at user logon time the only way I found is doing it with the pam_mount module. It is the only way to do an authenticated mount without requiring the user to store the password in a file or entering it on a terminal. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://pam-mount.sourceforge.net/" target="_blank"&gt;http://pam-mount.sourceforge.net/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 24 May 2007 11:53:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mount-window-share-to-linux/m-p/4006608#M82990</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-05-24T11:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: mount window share to linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mount-window-share-to-linux/m-p/4006609#M82991</link>
      <description>Hi John&lt;BR /&gt;&lt;BR /&gt;Use the following command:&lt;BR /&gt;&lt;BR /&gt;moutn -t smbfs -o username=windows_domain\windows_user password=win_user_password //windows_server/windows_share /tmn&lt;BR /&gt;&lt;BR /&gt;You can put this in /etc/rc.local so that when ever server boots the share is mounted&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;</description>
      <pubDate>Thu, 24 May 2007 11:54:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mount-window-share-to-linux/m-p/4006609#M82991</guid>
      <dc:creator>Vipulinux</dc:creator>
      <dc:date>2007-05-24T11:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: mount window share to linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mount-window-share-to-linux/m-p/4006610#M82992</link>
      <description>On latter linux kernels (I believe since 2.6.19 somewhere) "smbfs" is no longer supported and therefore will not work. You must use it's new name "cifs" (well relatively new, MS renamed SMB to CIFS back in 1996 or so).</description>
      <pubDate>Fri, 25 May 2007 01:16:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mount-window-share-to-linux/m-p/4006610#M82992</guid>
      <dc:creator>Van den Broeck Tijl</dc:creator>
      <dc:date>2007-05-25T01:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: mount window share to linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mount-window-share-to-linux/m-p/4006611#M82993</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You could put the windows credentials into a file that is only readable by root (chmod 400), and then use the credentials=file.txt option to smbmount.&lt;BR /&gt;&lt;BR /&gt;# man smbmount&lt;BR /&gt;&lt;BR /&gt;for more information.&lt;BR /&gt;&lt;BR /&gt;That should hopefully keep the security people happy...&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>Sat, 26 May 2007 04:09:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mount-window-share-to-linux/m-p/4006611#M82993</guid>
      <dc:creator>Rob Leadbeater</dc:creator>
      <dc:date>2007-05-26T04:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: mount window share to linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mount-window-share-to-linux/m-p/4006612#M82994</link>
      <description>mount -t smbfs -o username=test //windowserver/share /mnt after provide the passwd, it gives error: session setup failed:ERRSRV - 2240.&lt;BR /&gt;What setup does this require? and on which side, UNIX or Window?</description>
      <pubDate>Wed, 06 Jun 2007 09:44:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mount-window-share-to-linux/m-p/4006612#M82994</guid>
      <dc:creator>John Guster</dc:creator>
      <dc:date>2007-06-06T09:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: mount window share to linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mount-window-share-to-linux/m-p/4006613#M82995</link>
      <description>Try this line in your fstab:&lt;BR /&gt;&lt;BR /&gt;//server/share /tmn smbfs auto,user,credentials=/root/.passwords/.smbpasswd&lt;BR /&gt;&lt;BR /&gt;The credentials-file (/root/.passwords/.smbpasswd) must have this entries:&lt;BR /&gt;&lt;BR /&gt;username=windows-domain\username&lt;BR /&gt;password=secret&lt;BR /&gt;&lt;BR /&gt;I don't have it as root but you might give it a try to have it mounted on startup (if you didn't already solve this).&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Arnd</description>
      <pubDate>Mon, 25 Jun 2007 08:36:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mount-window-share-to-linux/m-p/4006613#M82995</guid>
      <dc:creator>Arnd Kohlen</dc:creator>
      <dc:date>2007-06-25T08:36:20Z</dc:date>
    </item>
  </channel>
</rss>

