  | |  | How to Map windows 2003 shared folders in Linux. | How to Map windows 2003 shared folders in Linux. 2005-04-06 - By Ed Wilts
Back 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@(protected) ewilts]$ cat /etc/auto.samba twilts -fstype=smbfs,credentials=/usr/local/d800.credentials ://d800/twilts [ewilts@(protected) 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@(protected) [mailto:redhat-list-bounces@(protected) ]On Behalf Of Ed Greshko > Sent: Wednesday, April 06, 2005 1:12 AM > To: sandeep@(protected); 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@(protected) Member #1, Red Hat Community Ambassador Program
-- redhat-list mailing list unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list
Earn $52 per hosting referral at Lunarpages.
|
|
 |