cannot mount NetWare (ipx) server

Bug #328020 reported by staho
150
This bug affects 15 people
Affects Status Importance Assigned to Milestone
ncpfs (Ubuntu)
Fix Released
Undecided
MOTU
Nominated for Jaunty by Benny
Nominated for Lucid by Steven Harms
Karmic
Won't Fix
Undecided
Unassigned

Bug Description

ncpmount does not work with “ncpfs” 2.2.6-6.
The workaround is to downgrade ncpfs to 2.2.6-4 (intrepid). No need to touch “libpam-ncp”, “libncp” nor “ipx” packages.

code:
$ ncpmount -S szpital -U staho szpital/
Logging into szpital as STAHO
Password: ****
ndslib.c:1051: Invalid start: 1835008 00010000 00010000 00100006
ncpmount: Invalid server response (-330) in nds login

This bug seems to be a copy of 140464, solved in 2007!
https://bugs.launchpad.net/bugs/140464

Revision history for this message
Gilles Teisseire (gilles-teisseire1) wrote :

Hi!

I use ncpfs 2.2.6-6 on Jaunty beta.
It was working until yesterday. Now I can't mount or print on netware server

Revision history for this message
Adrian Tritschler (ajft) wrote :

Confirmed for me too, after updating to ubuntu 9.04 last Friday I'm no longer able to login to any of my three NetWare trees.

Logging into <<SERVER>> as <<ACCOUNT>>
Password:
ndslib.c:1051: Invalid start: 1835008 00010000 00010000 00100006
ncpmount: Invalid server response (-330) in nds login
Login denied.

Revision history for this message
Ragimiri (ragimiri) wrote :

Also confirming:

ndslib.c:1051: Invalid start: 1835008 00010000 00010000 00100006
ncpmount: Chybná odpověď serveru (-330) při NDS přihlašování
Přístup odepřen.

Revision history for this message
maxdata (maxdata-email) wrote :

Also confirming:
jaunty 9.04 final upgraded from 8.10

more /etc/fstab
...
192.168.89.123/SOMEUSER.KOMP.UNO /media/novell ncp uid=mk,gid=nwaccess,owner
=mk,mode=660,iocharset=utf8,codepage=cp852,A=192.168.89.240,passwdfile=/etc/ncp-
pass 0 0
...

sudo mount -a

ndslib.c:1051: Invalid start: 1835008 00010000 00010000 00100006
mount.ncp: Chybná odpověď serveru (-330) při NDS přihlašování
Přístup odepřen.

Revision history for this message
maxdata (maxdata-email) wrote :

IP addresses are made-up... (in before post i tried change them and its look like error in different ip addresses, sorry for this)

repaired post:

Also confirming:
jaunty 9.04 final upgraded from 8.10

more /etc/fstab
...
192.168.89.123/SOMEUSER.KOMP.UNO /media/novell ncp uid=mk,gid=nwaccess,owner
=mk,mode=660,iocharset=utf8,codepage=cp852,A=192.168.89.123,passwdfile=/etc/ncp-
pass 0 0
...

sudo mount -a

ndslib.c:1051: Invalid start: 1835008 00010000 00010000 00100006
mount.ncp: Chybná odpověď serveru (-330) při NDS přihlašování
Přístup odepřen.

Revision history for this message
Arash (arashbi) wrote :

It stopped working after Friday upgrade for me too.
ndslib.c:1051: Invalid start: 1835008 00010000 00010000 00100006
ncpmount: Invalid server response (-330) in nds login
Login denied.

Colan Schwartz (colan)
Changed in ncpfs (Ubuntu):
status: New → Confirmed
Revision history for this message
Xeiro (xeiro) wrote :

I got exactly same problem...

martinec@GENIUS:/bin$ sudo sh FS1.sh
[sudo] password for martinec:
pam_mount(pam_mount.c:100): unknown pam_mount option "use_first_pass"
ndslib.c:1051: Invalid start: 1835008 00010000 00010000 00100006
ncpmount: Chybná odpověď serveru (-330) při NDS přihlašování
Přístup odepřen.

Revision history for this message
helix84 (helix84) wrote :

Same problen here, 8.10 -> 9.04

fstab line:
AAA/CN=BBB.OU=CCC.O=DDD /home/XXX/novell ncpfs noauto,rw,user,defaults,mode=644,uid=ctenar,gid=XXX,owner=XXX,passwd=YYY,multiple,ipserver=AAA 0 0

$ mount ~/novell
ndslib.c:1051: Invalid start: 1835008 00010000 00010000 00100006
mount.ncpfs: Invalid server response (-330) in nds login
Login denied.

I can provide any requested info if needed.

Revision history for this message
Steven Harms (sharms) wrote :

We do not need any further confirmations of this bug at this point. Has anyone contacted upstream about this? I can't see a big difference between the last confirmed working version and this version, other than the toolchain to compile it has changed.

Revision history for this message
helix84 (helix84) wrote :

Since this is a regression, it should be fixed quickly but if you need to have this working now, here's a workaround (thanks to https://bugs.launchpad.net/ubuntu/+source/ncpfs/+bug/140464/comments/29 ):

add following text to /etc/apt/preferences:
Package: ncpfs
Pin: version 2.2.6-4*
Pin-Priority: 1000

# remove ncpfs
sudo apt-get remove ncpfs
# install ncpfs from intrepid (last working version)
wget http://archive.ubuntu.com/ubuntu/pool/universe/n/ncpfs/ncpfs_2.2.6-4ubuntu3_i386.deb

Don't forget to subscribe to this bug and when it's resolved remove the pin and upgrade.

Revision history for this message
Matthew Lye (matthew.lye) wrote :

Also confirming on a 9.04 clean install.

ndslib.c:1051: Invalid start: 1835008 00010000 00010000 00100006
ncpmount: Invalid server response (-330) in nds login

Revision history for this message
Tomek Jadczuk (mishek) wrote :

I get this error to

mishek@r2d2:~$ sudo ncpmount -S WBP_SERV1 -U wawrecez.wypozyczalnia.biblioteka novel/
Logging into WBP_SERV1 as WAWRECEZ.WYPOZYCZALNIA.BIBLIOTEKA
Password:
ndslib.c:1051: Invalid start: 1866527 00010000 00010000 00100006
ncpmount: Invalid server response (-330) in nds login
Login denied.

Revision history for this message
loki666 (loki-666) wrote :

root@loki-laptop:/mnt# ncpmount -A 172.16.0.7 -U philippes.itdev.users.opns -S 172.16.0.7 FS1/
Logging into 172.16.0.7 as PHILIPPES.ITDEV.USERS.OPNS
Password:
ndslib.c:1051: Invalid start: 1835008 00010000 00010000 00100006
ncpmount: Invalid server response (-330) in nds login
Login denied.

Please, assign this bug and fix it

helix84 (helix84)
Changed in ncpfs (Ubuntu):
assignee: nobody → MOTU (motu)
Revision history for this message
sanktnelson (launchpad-maibaums) wrote :

one more confirmed...

Revision history for this message
Steven Harms (sharms) wrote :

I do not need any more confirmations. It is obviously already confirmed.

Revision history for this message
Steven Harms (sharms) wrote :
Revision history for this message
Steven Harms (sharms) wrote :

It should be noted that this package is 100% unusable without my debdiff. This is due to byte ordering of the packets because the version of GCC Jaunty shipped with would not deal with the packed attribute as it did previously.

Revision history for this message
Steven Harms (sharms) wrote :
Revision history for this message
Chris Iarocci (iarocci) wrote :

Excuse my ignorance, but should we expect to see something in Synaptic that incorporates this fix, like version 2.2.6-7?

Revision history for this message
Steven Harms (sharms) wrote :

It will only go into Jaunty if there is an SRU, and I am not sure I understand the process fully to push that through.

I just put this on my ppa, so you should be able to safely grab the NCPFS package from it:

deb http://ppa.launchpad.net/sharms/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/sharms/ppa/ubuntu jaunty main

Revision history for this message
Chris Iarocci (iarocci) wrote : Re: [Bug 328020] Re: cannot mount NetWare (ipx) server

Thank you for doing that, but I'm still lost. What do I do with that
information? I added them under third party depositories, but when
searching ncpfs nothing has changed.

On Mon, 2009-05-18 at 21:43 +0000, Steven Harms wrote:
> It will only go into Jaunty if there is an SRU, and I am not sure I
> understand the process fully to push that through.
>
> I just put this on my ppa, so you should be able to safely grab the
> NCPFS package from it:
>
> deb http://ppa.launchpad.net/sharms/ppa/ubuntu jaunty main
> deb-src http://ppa.launchpad.net/sharms/ppa/ubuntu jaunty main
>

Revision history for this message
Holger Schletz (holger-schletz) wrote :

I upgraded to the version in the ppa (2.2.6-6ubuntu1~ppa0) and still got the -330 error. Reverted to 2.2.6-4ubuntu3 (the last version that works on jaunty).

Revision history for this message
Steven Harms (sharms) wrote :

Can anyone test this on AMD64? That is what I am testing it on, and this command works perfect using the ppa I posted:

ncpmount -U sharms.HO.PLC -S SHARED_DRIVE -A dns-name-for-server -m testshare/

Revision history for this message
Holger Schletz (holger-schletz) wrote :

Sorry, I don't have a 64 Bit environment available. I tested the above command on 32 Bit and it works with 2.2.6-4ubuntu3. With 2.2.6-6ubuntu1~ppa0 I get exactly the same response as in comment #13.

Revision history for this message
Sam (samuel-faulkner) wrote :

Hi, I have 3 PCs :

one with AMD 64

other with Pentium 4 bi proc

and a Dell Centrino Duo

acces Novell was working with Hardy the last year. on the 3 PCs.
I have upgraded Hardy -> Intrepid and Intrepid -> Jaunty this month.

The PC with AMD 64 (jaunty 64) work fine and access my Novell server.

(don't work with Jaunty 32 bits on this AMD 64)

But with the two others PC (Intel bi-proc) I can't acces and I have the same error :

ndslib.c:1051: Invalid start: 1835008 00010000 00010000 00100006

ncpmount: Invalid server response (-330) in nds login

However with wget http://archive.ubuntu.com/ubuntu/pool/universe/n/ncpfs/ncpfs_2.2.6-4ubuntu3_i386.deb
YES ! work very well !
Thanks Helix84

Sam

Revision history for this message
Steven Harms (sharms) wrote :

I will look into what needs to be done for this to fix 32-bit also.

Revision history for this message
tixetsal (tixetsal) wrote :

Ditto. This is how we all learn more about the o/s. Thanks for the fixes, guys!

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ncpfs - 2.2.6-6ubuntu1

---------------
ncpfs (2.2.6-6ubuntu1) karmic; urgency=low

  * Fix GCC packed syntax (LP: #328020)

 -- Steven J Harms <email address hidden> Tue, 12 May 2009 14:20:12 -0400

Changed in ncpfs (Ubuntu Karmic):
status: Confirmed → Fix Released
Revision history for this message
Chuck Short (zulcss) wrote :

Thanks I have uploaded the fix for jaunty. Please follow the SRU process found at https://wiki.ubuntu.com/StableReleaseUpdates.

Regards
chuck

Revision history for this message
Steven Harms (sharms) wrote :

Can someone test this in Karmic using i386? Since karmic will use a different GCC, I believe it's possible it may work as GCC 4.3 had a lot of bugs.

I think we ended up being bit by this: http://gcc.gnu.org/ml/gcc-patches/2009-01/msg01020.html

Revision history for this message
Thos (1-launchpad-theparisis-com) wrote :

Chuck,

Could you point me to where the fix is for Jaunty (9.04) 32-bit?

I followed the link for the Stable Release, but it appears that ncpfs (2.2.6-6ubuntu1) is only for Karmic. Unfortunately because of this bug I cannot access my Novell servers. Bummer.

Thanks,

Thomas

Revision history for this message
maxdata (maxdata-email) wrote :

I'm using ncpfs 2.2.6-3 in jaunty, an attachment is this version. Novell work's fine with this version.

Revision history for this message
Thos (1-launchpad-theparisis-com) wrote :

Chuck,

Thank you kindly...the ncpfs_2.2.6-3_i386.deb package that you linked to resolved the mounting issue, and I am now currently able to access the Novell servers.

Finally! That took care of my remaining issue I had in upgrading from 8.04. All is well now - at least for the moment.

I will be holding onto this package for a while, just in case.

Thomas

Revision history for this message
Thos (1-launchpad-theparisis-com) wrote :

Oops.

Thank you maxdata for providing the link to the ncpfs_2.2.6-3_i386.deb package. I just reread the thread and realized that it was not Chuck who provided the link, but you did - however I am glad he provided the posting that alerted me to a fix for the problem with mounting Novell servers as I had been checking this thread off and on for a while to see if the issue was resolved.

Revision history for this message
Steven Harms (sharms) wrote :

If you guys would actually read the bug report, it is already mentioned there is a working 32-bit version. The issue for anyone who wants to help with this is that the version that works uses GCC < 4.3 that shipped with Jaunty, and it has not worked with new compilers yet.

Please do not post anything about old .debs again, that belongs in forums, not over and over again in a bug report to fix the issue.

Revision history for this message
Birgir Haraldsson (biggi-stefna) wrote :

Just installed karmic alpha4 on an old machine and updated it fully.

This is still an issue here.
ndslib.c:1051: Invalid start: 1835008 00010000 00010000 00100006
ncpmount: Invalid server response (-330) in nds login

apt-cache showpkg ncpfs says:
Package: ncpfs
Versions:
2.2.6-6ubuntu1 (/var/lib/apt/lists/is.archive.ubuntu.com_ubuntu_dists_karmic_universe_binary-i386_Packages) (/var/lib/dpkg/status)
 Description Language:
                 File: /var/lib/apt/lists/is.archive.ubuntu.com_ubuntu_dists_karmic_universe_binary-i386_Packages
                  MD5: b26168484d970ce9c962508b27d6f617

Reverse Depends:
  libpam-ncp,ncpfs 2.2.0.18-10
  libncp,ncpfs
  libpam-mount,ncpfs
Dependencies:
2.2.6-6ubuntu1 - libc6 (2 2.8) libncp (2 2.2.0.19.0pre71-1) libpam-ncp (0 (null)) ipx (0 (null)) ncpfsx (0 (null)) suidmanager (3 0.50) ncpfsx (0 (null))
Provides:
2.2.6-6ubuntu1 -
Reverse Provides:

Hope this helps

Revision history for this message
Steven Harms (sharms) wrote :

Birgir that does help thank you.

I have tested on x86_64 bit Karmic, and it works. So GCC 4.4 does not fix any incompatibilities in the i386 build. I believe this still needs to be addressed by fixing the __packed__ structs and this is where our issue is happening.

Revision history for this message
Hedgehog_57 (hedgehog57) wrote :

Upgraded my 9.04 to 9.10.

Arch: Nothing changed. Issue is still here. After downgraded package to ncpfs_2.2.6-3_i386.deb i can connect to Novell server.

This issue was in 9.04. It is still there in 9.10. Why not to place old package in the new distribution if you cannot solve a problem in the new one?

Revision history for this message
wooster (hampusr) wrote :

Tested ncpfs_2.2.6-6ubuntu1_i386.deb, libncp_2.2.6-6ubuntu1_i386.deb
Ubuntu 9.10 (karmic) i386.

If compiled with gcc-4.1, everything works fine, but with gcc-4.4 same problem. (Invalid start: 1835008 00010000 00010000 00100006)

Revision history for this message
asdir (dirkroettgers) wrote :

Just wanted to confirm that helix84 workaround still works in Karmic. No need to safe any protocol or config files even.
Still would be nice if I wouldn't have to apply it after every upgrade. :-S

Revision history for this message
asdir (dirkroettgers) wrote :

Hm, I was to quick to confirm helix's workaround: It works for accessing the server, but does not for printing services (or was it sth. else that is responsible for that?). Anyway, I cannot print anything useful...

Revision history for this message
Andrew Daugherity (andrew-daugherity) wrote :

Confirmed that ncpfs is indeed broken on karmic i386, but working on karmic amd64. The workaround of installing the old package does work, but obviously doesn't solve the underlying problem. Thus this bug should not be considered "fixed" until i386 is fixed as well.

Changed in ncpfs (Ubuntu Karmic):
status: Fix Released → Confirmed
Revision history for this message
loki666 (loki-666) wrote :

damn it, unbelievable, this bug is now known for 7 months and still not fixed...

Revision history for this message
Steven Harms (sharms) wrote :

I have stated this is a non-trivial bug, if you are a coder and can help, please download the source and contribute. If you are not, then you will just need to use the old package until this is solved.

Revision history for this message
wooster (hampusr) wrote :

Why not, until the problem is fixed, compile with an older version of gcc (see above) and put working binaries in the repos?

Revision history for this message
Steven Harms (sharms) wrote :

Can someone with i386 install this package and let me know if it works?

Version is 2.2.6-6ubuntu2 and ppa is ppa:sharms/ppa

Revision history for this message
helix84 (helix84) wrote :

$ sudo dpkg -i ncpfs_2.2.6-6ubuntu2_i386.deb
...
$ mount ~/novell
ndslib.c:1051: Invalid start: 1835008 00010000 00010000 00100006
mount.ncpfs: Invalid server response (-330) in nds login
Login denied.

Revision history for this message
Steven Harms (sharms) wrote :

I have an i386 box to test on now, will play with this and see if any progress can be made

Revision history for this message
Steven Harms (sharms) wrote :

Good news, I now have ncpmount working on my i386 box. Will clean up the code changes and upload the debdiffs soon and provide debs. Give me a day or two.

Changed in ncpfs (Ubuntu Karmic):
assignee: MOTU (motu) → Steven Harms (sharms)
status: Confirmed → In Progress
Revision history for this message
Steven Harms (sharms) wrote :
Revision history for this message
Steven Harms (sharms) wrote :

The above debdiff should be applied to lucid after review.

Changed in ncpfs (Ubuntu):
status: Fix Released → Fix Committed
Steven Harms (sharms)
Changed in ncpfs (Ubuntu Karmic):
assignee: Steven Harms (sharms) → nobody
Revision history for this message
Steven Harms (sharms) wrote :

This is absolute minimal debdiff for i386 issue resolution

Revision history for this message
Steven Harms (sharms) wrote :

Minimal debdiff for Karmic i386 fix

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ncpfs - 2.2.6-6ubuntu2

---------------
ncpfs (2.2.6-6ubuntu2) lucid; urgency=low

  * Remove i386 specific branch to fix authentication (LP: #328020)
 -- Steven J Harms <email address hidden> Tue, 22 Dec 2009 11:48:48 -0500

Changed in ncpfs (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
helix84 (helix84) wrote :

I tested the ncp_i386_authentication.karmic.debdiff on Karmic i386 and it works, thank you for fixing it. I hope the SRU process will go well.

Revision history for this message
Benjamin (benjamin-demelt) wrote : Antw: [Bug 328020] Re: cannot mount NetWare (ipx) server

Thank you so much for fixing it! Its working perfectly for me!

Kind Regards,

Benjamin

======================================
Benjamin Demelt
Project Services

Computer & Competence GmbH, www.cuc.de
Warnstedtstrasse 12-16, D22525 Hamburg
 Tel: +49 (0)40 54882 - 225, Fax: -288
CuC ist als "Computer & Competence"
 Beratungs- und Vertriebs GmbH beim
 Hamburger Amtsgericht im Register B
 unter der Nummer 46306 registriert.
 Geschäftsführer: Constantin Albrecht
AGB: https://www.cuc.de/AGB.agb.0.html
======================================

>>> Steven Harms <email address hidden> 12/22/2009 6:01 >>>
Minimal debdiff for Karmic i386 fix

** Attachment added: "ncp_i386_authentication.karmic.debdiff"

http://launchpadlibrarian.net/37094003/ncp_i386_authentication.karmic.debdiff

--
cannot mount NetWare (ipx) server
https://bugs.launchpad.net/bugs/328020
You received this bug notification because you are a direct subscriber
of a duplicate bug.

Status in “ncpfs” package in Ubuntu: Fix Committed
Status in “ncpfs” source package in Karmic: In Progress

Bug description:
ncpmount does not work with “ncpfs” 2.2.6-6.
The workaround is to downgrade ncpfs to 2.2.6-4 (intrepid). No need to
touch “libpam-ncp”, “libncp” nor “ipx” packages.

code:
$ ncpmount -S szpital -U staho szpital/
Logging into szpital as STAHO
Password: ****
ndslib.c:1051: Invalid start: 1835008 00010000 00010000 00100006
ncpmount: Invalid server response (-330) in nds login

This bug seems to be a copy of 140464, solved in 2007!
https://bugs.launchpad.net/bugs/140464

To unsubscribe from this bug, go to:
https://bugs.launchpad.net/ubuntu/+source/ncpfs/+bug/328020/+subscribe

Revision history for this message
loki666 (loki-666) wrote :

can you back port this to karmc?

Revision history for this message
Tomek Jadczuk (mishek) wrote : Re: [Bug 328020] Re: cannot mount NetWare (ipx) server

Dnia 2009-12-30, śro o godzinie 15:15 +0000, loki666 pisze:
> can you back port this to karmc?
>

I had installed this on karmic today and it works for me.
Regards.

--
Tomek Jadczuk <email address hidden>

Revision history for this message
smarf (smarf) wrote :

Today I freshly installed Karmic and still get this error. Which version how to install?

Thx.

Revision history for this message
sanktnelson (launchpad-maibaums) wrote :

This is ridiculous. I finally upgraded to 10.4 LTS, and this bug is still there! How can a well-known bug with a well-known solution that have both been known for several release cycles make it into an LTS release???

Revision history for this message
Thos (1-launchpad-theparisis-com) wrote :

I had been having this problem prior to 10.4, and had to use the backport to ncpfs 2.2.6-3 mentioned in various places.

However, I was able to unpin the ncpfs 2.2.6-3 package and just go with the plain-vanilla 10.4 installation when it came out. Am using 10.4 on a Dell Latitude D810 laptop, and on a Dell Optiplex GX270 desktop, and have not experienced any (serious) problems connecting to Netware servers and reading/writing to files.

Revision history for this message
Rolf Leggewie (r0lf) wrote :

karmic has seen the end of its life and is no longer receiving any updates. Marking the karmic task for this ticket as "Won't Fix".

Changed in ncpfs (Ubuntu Karmic):
status: In Progress → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.