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

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

 



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@xxxxxxxxxx [mailto:redhat-list-bounces@xxxxxxxxxx]On Behalf Of Ed Greshko
> Sent: Wednesday, April 06, 2005 1:12 AM
> To: sandeep@xxxxxxxxxxxx; 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@xxxxxxxxxx
Member #1, Red Hat Community Ambassador Program

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux