mount_smbfs authentication error with -N flag
Hopefully somebody can shed some light on this, because I am baffled.
Here's the situation. I have a network drive at my University, which I can mount by connecting to the vpn with vpnc, and then using mount_smbfs. The problem is, I want to use mount_smbfs with an automatic password, so I don't have to get prompted everytime. Great, so the man page tells me to use "-N" and mount_smbfs will read ~/.nsmbrc and /etc/nsmb.conf. The problem being, if I use the -N flag, I automatically get an authentication error. The manpage says if no password is found then it will just prompt me. However, I can specify the password, or I can not even have the file exist, and I still get the same authentication error. However, if I just use the command manually and am prompted for my password, it works fine. For reference my two commands are as follows: Code:
mount_smbfs -I bluestore.engr.colostate.edu -W ENGR_DOM //reinholz@bluestore/reinholz /engr Code:
mount_smbfs -I bluestore.engr.colostate.edu -W ENGR_DOM -N //reinholz@bluestore/reinholz /engr Code:
[default] Perhaps someone can tell me where I'm going wrong, or at least suggest an alternative method of letting mount_smbfs remember my password. |
Okay, I managed to solve the problem, it was in the way I specified my ~/.nsmbrc.
If a mod could please delete this I would appreciate it. |
All times are GMT -5. The time now is 04:05 AM. |