How to mount Novell shares in Ubuntu
Since this is new territory for me, and I know of at least one other person on campus who has Ubuntu on a laptop, here are instructions for mounting a Novell drive:
sudo mkdir /mnt/novell (or /mnt/whatever)
sudo chown username:username /mnt/novell (replace username with your real username on the linux box)
sudo vi /etc/fstab (if you don’t use vi, then use some other text editor) and add a line:
ZANESTATE-FS1/USERNAME /mnt/novell ncpfs rw,user 0 0 (replace USERNAME with your Netware username)
Through System - Administration - Syaptic package manager search for ncpfs and ipx; install them.
Now you should be able to mount the share with the command:
mount /mnt/novell
I thought you could umnount it with umount /mnt/novell but for some reason I have to use ncpumount /mnt/novell.
You can find out what NetWare file servers are available with slist.
February 1st, 2006 - 3:46 am
Will this also mount Netware volumes? I can’t seem to install ANY novell (or novel) client on my ubuntu system and I’m dying to see if Ubuntu offers much business perspectives.
February 3rd, 2006 - 4:31 am
slist returns this line:
slist: Server not found (0×8847) in ncp_open
Am I missing a package or is our fileserver not mountable? ipx and nclfs are installed.
February 15th, 2006 - 7:24 pm
same thing here with the slist command, although i know my server name it seems when i type in SERVER/USERRNAME into the fstab it complains about a badly formatted line. As soon as i remove “USERNAME” (note USERNAME is my real name, “Firstame Lastname” it ofcourse just comes up with Password: this however isn’t what i want as it now doesnt have my username.
February 16th, 2006 - 10:37 am
@anonymous: I found this with some googling: If you do not have ncpfs-2.2.0.16, but anything newer, or older than 2.2.0.12, then it should work. If it reports 8847, it means that you have misconfigured network (search for 8847 on support.novell.com). You have either no server on 802.2, or you (or admin) disabled Reply To Get Nearest Server on all servers connected to your wire. You must enable it at least on one of them. http://www.uwsg.iu.edu/hypermail/linux/kernel/0108.2/1027.html
February 22nd, 2007 - 3:30 pm
A really good idea . Thank you a lot !
I have tried some others suggestions to access Netware volumes in others distros : they work , but this method is very straightforward , quick and easy to implement. No other solution gave me access to Netware hosted files with so few steps and such a small time. Hint forwarded to other IT support team coleagues at the office also using Ubuntu.
Greetings from Curitiba , Brasil.
March 9th, 2007 - 9:19 am
Here’s my problem. When I try and login it asks me for my password, which I give, and then I get this error
mount.ncpfs: No such entry (-601) in nds login
However, if I type in the command pqlist (to see available print queues)
it also prompts me for my password. I type it in and its works.
Any ideas?
ncpfs and ipx are at version 2.2.6-3
Ubuntu dapper
kernel 2.6.15-28-686
March 9th, 2007 - 9:50 am
@John: You might try this thread.
March 9th, 2007 - 11:36 am
Todd, I went to that thread.
I am not sure what (or how to find) the “full context ” server name.
That is, I don’t know what to fill in for
-A server.ourdomain.com
I tried a few things and got
Get host address `my.company.com’: Server not found (0×8847)
When I log in under windows, I have a Tree Name,
a CONTEXT, and a Server
Of course /etc/resolv.conf has something else entirely
March 9th, 2007 - 12:05 pm
John, sorry, can’t help you there. Do you have a network/IT guy you can ask?
March 15th, 2007 - 12:59 am
John, the error you’re getting is that it cannot find the USER. The problem is likely to be that you haven’t specified your full user credentials for the Novell server. You need to be in the form username.group.domain. try that and let us know how you got on.
So, you will have
ncpmount -S server -A server.organisation.domain -U user.group.organisation -V volume -u linuxuser /mnt/novell/
Joe
March 22nd, 2007 - 9:51 am
@yoshida:
If you are getting:
slist: Server not found (0×8847) in ncp_open
After installing ipx run the command:
ipx_configure –auto_interface=on –auto_primary=on
and then:
slist
You should see your server listed.
Blog author, you might want to add the ipx_configure step to your howto.
May 23rd, 2007 - 7:24 pm
The best way to automatically mount a novell share that you have permission to is by putting a line like this in fstab:
/ /mnt/ ncpfs uid=root,mode=660,gid=,rw,passwdfile= 0 0
Things in are variables.
- add a group, sudo addgroup , then vigr and vigr -s while adding your user to the group you just made. chmod root: your . (don’t know that that is actually necessary, but just to be safe…)
is a file with lines in the following format:
/::
you should chmod it 600 so if you happen to have other users they won’t be able to borrow your novell user/pass.
May 23rd, 2007 - 7:41 pm
The best way to automatically mount a novell share that you have permission to is by putting a line like this in fstab:
%server%/%username% /mnt/%mountpoint% ncpfs uid=root,mode=660,gid=%newgroup%,rw,passwdfile=%passwdfile% 0 0
Things enclosed by % are variables (it stripped out the variables from my last post)
%newgroup% - add a group, sudo addgroup %newgroup%, then vigr and vigr -s while adding your user to the group you just made. chown root:%newgroup% your %mountpoint%. (don’t know that that chown is actually necessary, but just to be safe…)
%passwdfile% is a file with lines in the following format:
%server%/%username%:%password%:
you should chmod it 600 so if you happen to have other users they won’t be able to borrow your novell user/pass.