Pls try this!
hi,
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>
OR
##mount -t cifs -o rw //<ipadd-win-machine>/<share-name> -o username='<username>%`cat /etc/test.txt`' <mount point>
Just try this.
|