Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-08-2009, 01:57 PM   #1
Registered: Feb 2007
Distribution: Kubuntu, it's obese barely-usable sibling, Ubuntu
Posts: 142

Rep: Reputation: 15 calls ncpmount with invalid parameters


I've been trying to get a vanilla Ubuntu install configured to use PAM to authenticate Novell users to the workstation. I have been following a howto from CoolSolutions, using the pam_ncp_auth website (which is basically an in-depth man page), and have got the authentication bit working, but am having problems mounting users' home directories. The log file shows that is calling ncpmount, but with incorrect options:

running as username "/usr/bin/ncpmount -U .UserName.CtxtName.TREENAME -S SERVERNAME -A SERVERNAME -V VOLNAME://USERNAME -o symlinks,exec -u 1010 -c 1010 -d 0700 /mnt/ncp/username/"
I have been able to mount the required volume successfully using the command

# -A specifies server's IP
# -u is the local username to mount as
sudo ncpmount -S treename -U username.ctxtname.treename -A -u username -V VOLNAME /mount/point
and when I tried using the :// notation the log file showed, I got an invalid parameter error. You'll also notice the logged command puts another period in front of the username, which doesn't make sense to me. This is the line from the PAM config file calling

auth sufficient /lib/security/ -a -zAX3 -A -m -d -l -L -u,,r,gcds
I can log in as a Novell user fine, it just won't mount. I took the module arguments straight out of the howto, but I haven't seen anyone else have this problem, so I'm going to guess that it's a problem with my configuration, although I'm not sure which arguments are responsible for a malformed volume specification. Both and ncpfs have been installed from the Ubuntu repository, and are version 2.2.6 (the latest).

My next idea is to try recompiling the module to use the correct arguments with ncpmount, but if I don't need to do this, that would be great.

Thanks for any help,


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
how does java calls the system calls which are written in c babu198649 Linux - General 3 12-05-2011 03:40 AM
insmod: error inserting 'm2.ko': -1 Invalid parameters nikhil86 Programming 1 04-02-2008 08:26 PM
SAMBA - Invalid parameters when copying a file - FC6 dkinfl Linux - Software 0 01-24-2007 11:43 AM
Netware authentication, pam_ncp_auth and Zenux flags Maffy Linux - Networking 0 10-05-2005 07:06 AM
ncpmount cplowe Linux - Software 0 08-27-2004 11:32 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:55 AM.

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