hi cheng,

well, there is an option (see smbmount) for an external credential file. is
this an nt/2000/xp box or 95/98/me?

cheers

Christopher CUSE

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Zhi Cheng Wang
Sent: Friday, March 28, 2003 2:15 PM
To: [EMAIL PROTECTED]
Subject: RE: mount win shares to Linux automatically - possible?


Hi, Christopher

Thanks. but the plain text passwd is really a concern and also the user's
passwd will change periodically on the win sys. it is a quite large org, and
the internal security is also an issue.

cheng

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of christopher cuse
Sent: 28 March 2003 12:59
To: [EMAIL PROTECTED]
Subject: RE: mount win shares to Linux automatically - possible?


hi cheng

you can mount remote windows shares provided that you have installed samba.
once installed, try a line similar to this in your /etc/fstab file

//drs1/c$  /mnt/caca  smbfs  password=mypassword,username=ccuse  0  0

where drs1 is the netbios name of the windows box, c$ is the share name, and
username and password accordingly.

cheers

christopher cuse


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Zhi Cheng Wang
Sent: Friday, March 28, 2003 1:46 PM
To: [EMAIL PROTECTED]
Subject: RE: mount win shares to Linux automatically - possible?


thanks for the suggestion, but I am talking about remote files, I am not
that new.

cheng

-----Original Message-----
From: winglion [mailto:[EMAIL PROTECTED]
Sent: 28 March 2003 12:41
To: [EMAIL PROTECTED]
Subject: Re: mount win shares to Linux automatically - possible?



        It is very easy to do that! example :
at this live to your fstab  :
mount -t vfat -o codepage=936,iocharset=cp936 /dev/hda5 /mnt/d
 this line tell linux to mount the hda5 (which is the D: in M$window)
The option next to -o tell linux to support chinese charset filename!

 Actually,I am a newbe to linux too! Yet,I think you should search for 
answer on google or some other engines before you sent a mail here! 
So many knowledges we can find on the internet!:-)


>Hi, Gurus
>
>Is it possible to define something in the /etc/fstab file so that a windows
share can be mounted to Linux box automatically when sys reboot? (or
something in /etc/rc.local without plain text passwd?)
>
>the scenario:
>we have two (ha, more than two) systems in our institute, a few MS file
servers and some Linux file servers. For the Linux users, they want to be
able to access windows files within Linux (the other way around is easier to
accomplish using samba). At the moment, the users have to use smbclient,
Nuatilus or command line "mount -t smbfs -o .. ...".
>
>it would be much better if the Linux desktops can automatically mount the
user's share to e.g. /home/user1/win
>
>thanks
>
>Cheng

                                 
        winglion
        [EMAIL PROTECTED]
          2003-03-28





-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list
 
--------------------------------------------------------

 
This email is confidential and intended solely for the use of the person(s)
('the intended recipient') to whom it was addressed. Any views or opinions
presented are solely those of the author and do not necessarily represent
those of the Paterson Institute for Cancer Research or the Christie Hospital
NHS Trust. It may contain information that is privileged & confidential
within the meaning of applicable law. Accordingly any dissemination,
distribution, copying, or other use of this message, or any of its contents,
by any person other than the intended recipient may constitute a breach of
civil or criminal law and is strictly prohibited. If you are NOT the
intended recipient please contact the sender and dispose of this e-mail as
soon as possible.
 



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list
 
--------------------------------------------------------

 
This email is confidential and intended solely for the use of the person(s)
('the intended recipient') to whom it was addressed. Any views or opinions
presented are solely those of the author and do not necessarily represent
those of the Paterson Institute for Cancer Research or the Christie Hospital
NHS Trust. It may contain information that is privileged & confidential
within the meaning of applicable law. Accordingly any dissemination,
distribution, copying, or other use of this message, or any of its contents,
by any person other than the intended recipient may constitute a breach of
civil or criminal law and is strictly prohibited. If you are NOT the
intended recipient please contact the sender and dispose of this e-mail as
soon as possible.
 



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

<<attachment: winmail.dat>>

Reply via email to