Hi All
I have created shares on my SME Server that I mounted to a NAS using the following commands:
mkdir /root/.passwd
echo "username=joe
password=theplumber
" > /root/.passwd/nas01
chmod 400 /root/.passwd/nas01
cd /etc/e-smith/events/local
echo "#! /bin/sh
/etc/rc.d/init.d/netfs start
mount -t cifs -o _netdev,credentials=/root/.passwd/nas01 //nas01/share1 /home/e-smith/files/ibays/info/html/shar
mount -t cifs -o _netdev,credentials=/root/.passwd/nas01 //nas01/share2 /home/e-smith/files/ibays/info/html/shar
" > S95netshares
chmod 755 S95netshares
But now every time we try to access the shares from a user's workstation it asks for a username and password even though you log in as the Admin of the domain on the pc. I did configure the NAS username as admin and a password and its exactly the same as the one specified in the command above.
Plaese Assist
Thian