mount_smbfs with option -N tries to open $HOME/.nsmbrc for authentication.
In /etc/crontab, a non-standard HOME may be defined, disabling mount_smbfs to
find the configuration file. You could solve this by putting .nsmbrc into the HOME
directory specified in /etc/crontab, or by setting the HOME environment variable
to the directory where .nsmbrc resides from within the shell script where mount_smbfs is used.
|