[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: How to Map windows 2003 shared folders in Linux.



On Wed, Apr 06, 2005 at 07:42:28AM -0400, Burke, Thomas G. wrote:
> I use (2)...  I loathe putting a clear-textp assword in a
> world-readable file...  I have a script that puts in all the switches
> except the password & when I run it, smbmont asks for the password.

I have my mount set up as auto-mount point without a world-readable
password:

[ewilts p6000 ewilts]$ cat /etc/auto.samba
twilts -fstype=smbfs,credentials=/usr/local/d800.credentials ://d800/twilts
[ewilts p6000 ewilts]$ ls -l /usr/local/d800.credentials
-rw-------    1 root     root           32 Nov 18  2003 /usr/local/d800.credentials

You can do the same thing in fstab - just specify the credentials to
point to a file of your choice.

        .../Ed

> -----Original Message-----
> From: redhat-list-bounces redhat com [mailto:redhat-list-bounces redhat com]On Behalf Of Ed Greshko
> Sent: Wednesday, April 06, 2005 1:12 AM
> To: sandeep vvdesign com; General Red Hat Linux discussion list
> Subject: Re: How to Map windows 2003 shared folders in Linux.
> 
> 
> sandeep wrote: 
> > Hi, 
> > 
> > I am having PCQLinux 2005 installed.  I wanted know how to map Windows server 
> > 2003 shared folder's in Linux machine. So I can get the access to the windows 2003 
> > shared folders from linux machine. 
> 
> I've done it in 2 ways: 
> 
> 1.  Create an entry in your /etc/fstab using something like.... 
> 
> //misty2/USB-B          /home/myhome/misty2/USB-B smbfs 
> noauto,user,rw,username=egreshko,password=whatever,uid=myuid,gid=mygid 0 0 
> 
> Where misty2=windowsname 
>        USB-B=sharename 
> 
> Then just issue the mount command. 
> 
> 2.  Use the smbmount command. 
> 
> Ed 

-- 
Ed Wilts, RHCE
Mounds View, MN, USA
mailto:ewilts ewilts org
Member #1, Red Hat Community Ambassador Program


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]