Configuring script to automate SMB connections
I am trying to create a script that will allow my servers to automatically connect to a Windows 2000 server. This is what I am trying to use for the script:
mount -t smbfs //servername/share /mnt/mntpoint -o username=username,workgroup=domain,password=password
or
mount -t smbfs //servername/share /mnt/mntpoint -o username="domain\username",password=password
When i run either of these I get an smb error, "Access denied, SMB connection failed". When I take out the password and run it, I get prompted for the password and then am able to connect. Can someone tell me what I am doing wrong
|