/sbin/mount.smb places the password in the wrong place causing the smbmount to fail. Replace: exec smbmount "$1" $USER $PASSWORD -c "$COMMAND" with exec smbmount "$1" $PASSWD $USER -c "$COMMAND" thanks, john
*** This bug has been marked as a duplicate of 3239 ***