cannot mount NetWare (ipx) server

Bug #328020 reported by staho on 2009-02-11
150
This bug affects 15 people
Affects Status Importance Assigned to Milestone
ncpfs (Ubuntu)
Undecided
MOTU
Nominated for Jaunty by Benny
Nominated for Lucid by Steven Harms
Karmic
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

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

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.

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.

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.

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.

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) on 2009-05-04
Changed in ncpfs (Ubuntu):
status: New → Confirmed
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.

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.

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.

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.

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

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.

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) on 2009-05-12
Changed in ncpfs (Ubuntu):
assignee: nobody → MOTU (motu)

one more confirmed...

Steven Harms (sharms) wrote :

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

Steven Harms (sharms) wrote :
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.

Steven Harms (sharms) wrote :
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?

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

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
>

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).

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/

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.

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

Steven Harms (sharms) wrote :

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

tixetsal (tixetsal) wrote :

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

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
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

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

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

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.

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

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.

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.

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

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.

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?

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)

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

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...

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
loki666 (loki-666) wrote :

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

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.

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?

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

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.

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

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
Steven Harms (sharms) wrote :
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) on 2009-12-21
Changed in ncpfs (Ubuntu Karmic):
assignee: Steven Harms (sharms) → nobody
Steven Harms (sharms) wrote :

This is absolute minimal debdiff for i386 issue resolution

Steven Harms (sharms) wrote :

Minimal debdiff for Karmic i386 fix

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
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.

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

loki666 (loki-666) wrote :

can you back port this to karmc?

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>

smarf (smarf) wrote :

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

Thx.

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???

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.

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  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers