-   Linux - Networking (
-   -   Mount windows share (

nkutty 06-06-2008 05:44 AM

Mount windows share

i want mount windows share in fedora 8. wile mount windows share its asking password .. in this passwd i have to pass through text file how to do it or how can i mount with out entering password windows share but i have passwd in windows share

kindl help me

with regards
Kutty N

saneesh00 06-06-2008 06:43 AM

Pls try this!
I don't understand want you are expecting.
suppose you have added windows password in a file(eg:/etc/test.txt),you can call this file when mounting the share.
Eg;#mount -t cifs -o rw //<ipadd-win-machine>/<share-name> -o username=<username in win machine>,password=`cat /etc/test.txt` <mount point>
##mount -t cifs -o rw //<ipadd-win-machine>/<share-name> -o username='<username>%`cat /etc/test.txt`' <mount point>

Just try this.

nkutty 06-08-2008 11:54 PM

yes .. i got

thanks i got the solution
example = mount // /mnt/win/ -o credentials=/root/.smbcred

All times are GMT -5. The time now is 03:15 PM.