LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 11-18-2005, 03:39 PM   #1
xaenn
Member
 
Registered: Nov 2004
Posts: 53

Rep: Reputation: 15
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
and

Code:
mount_smbfs -I bluestore.engr.colostate.edu -W ENGR_DOM -N //reinholz@bluestore/reinholz /engr
I've tried the blank ~/.nsmbrc and also tried it as the following:

Code:
[default]
password=SECRET
Now is it possible the server could just be rejecting my authentication based on the fact I am doing this? It doesn't really make much sense that that would be the case though...

Perhaps someone can tell me where I'm going wrong, or at least suggest an alternative method of letting mount_smbfs remember my password.
 
Old 11-18-2005, 04:49 PM   #2
xaenn
Member
 
Registered: Nov 2004
Posts: 53

Original Poster
Rep: Reputation: 15
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I got a error flag "init: /dev/initctl: no such file" mst700 Linux - Newbie 4 10-28-2007 08:00 AM
OpenLDAP Authentication error paul_mat Linux - Networking 1 07-18-2005 12:48 AM
gcc -lGLU Flag Gives An Error Chryzmo Slackware 2 09-30-2004 09:22 PM
pop authentication error manicajk Linux - General 0 08-17-2004 05:22 PM
dovecot authentication error snurckle Linux - Newbie 4 08-13-2004 05:32 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 03:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration