ncpfs 2.2.6-4 breaks ncpmount

Bug #140464 reported by Gerhard Bressler
54
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ncpfs (Ubuntu)
Fix Released
High
Luca Falavigna
Nominated for Karmic by Andrew Daugherity
Gutsy
Fix Released
High
Luca Falavigna
Hardy
Fix Released
High
Luca Falavigna

Bug Description

Binary package hint: ncpfs

Kubuntu 7.10 Gutsy Gibbon

- with ncpfs 2.2.6-4ubuntu1 I get the error INVALID SERVER RESPONSE (-330) from Netware-NDS when I use ncpmount.

- with ncpfs 2.2.6-3 everything is working fine

installed packages:
libncp 2.2.6-4ubuntu1 !!!
libpam-ncp 2.2.6-4ubuntu1

Revision history for this message
Nick Rossow (rossow) wrote :

yep. same problem here.

Revision history for this message
Dev (scotty-amnet) wrote :

Sorry for the 'me too', but 'me too' :)

Revision history for this message
Alberto Stefani (endymion75) wrote :

ehm... me too

--
Alberto

Revision history for this message
Alberto Stefani (endymion75) wrote :

Same thing with ubuntu Gutsy... (beta)

- with ncpfs 2.2.6-4ubuntu1 I get the error INVALID SERVER RESPONSE (-330) from Netware-NDS when I use ncpmount.

- with ncpfs 2.2.6-3 everything is working fine

Tested and repetible!

Ciao

--
Alberto

Revision history for this message
steckelfisch (braas-steckelfisch) wrote :

me-too too

Revision history for this message
2hansen (bo2hansen) wrote :

Same here (translates to "Me too")

Revision history for this message
steve. (launchpad-coles) wrote :

same here with Ubuntu Gutsy beta and ncpfs 2.2.6-4ubuntu1
error message is: ncpmount: Invalid server response (-330) in nds login

Revision history for this message
steve. (launchpad-coles) wrote :

forced version on ncpfs to 2.2.6-3 from the feisty universe repository and it works

Revision history for this message
sainzeo (sainzeo-gmail) wrote :

i also have the same problems as noted above - how did you force the older version steve?

Revision history for this message
Dev (scotty-amnet) wrote :

I did some packet capturing and it seems that 2.2.6-4 simply drops the ball and throws this error - the novell server had identical responses as when using 2.2.6-3.

Revision history for this message
steve. (launchpad-coles) wrote :

The force version option was greyed out until I added the feisty universe repository.
In Synaptic select ncpfs then from the menu choose Package -> Force Version (Ctrl + E)
You may also want to lock the version for ncpfs until this issue is resolved.

Revision history for this message
sainzeo (sainzeo-gmail) wrote :

thank you very much - that worked perfectly - hopefully they get this fixed for gutsy though! thanks again steve!

Revision history for this message
Dev (scotty-amnet) wrote :

wow, the changes between 2.2.6-3 to 2.2.6-4 and 2.2.6-4 to 2.2.6.4ubuntu1 seem so trivial. The first lot of changes are to do with packaging. The second lot should have no effect, as the default should act the same as before.

Very very weird

Revision history for this message
Luke Schlather (luke2760) wrote :

Is anyone paying attention to this? I got the RC and got the same error, and I'd call this at least moderately serious. For anyone in a Novell workspace, it's really a pain. Now I'm going to have to ditch the command line for Synaptic, since I don't have time to figure out the apt-get options...

Revision history for this message
Dev (scotty-amnet) wrote :

I just downloaded the debs for ncpfs and libncp version 2.2.6-3 and used dpkg -i to install (ie downgrade them).

Whenever I do a dist-upgrade I just downgrade them again. Normal upgrades are fine tho, because Ive locked the packages to the current version. Unfortunately it seems dist-upgrade doesnt honour that.

Dev (scotty-amnet)
Changed in ncpfs:
status: New → Confirmed
Revision history for this message
Paul_Woodward (pwoodward) wrote :

Same here. Been testing Gutsy at home for a week or 2, but didn't bother to test ncpmount. Updated my main work desktop today, and got the "Invalid server response (-330) in nds login". Google guided me here.

Please fix this! It's going to be a real pain on my ubuntu servers, and I'm not 100% comfortable using an "out-of-cycle" package on a production box. My alternative is SLES, and you don't want to force me use SLES! Please!

Revision history for this message
Christoph Drexler (chrdr) wrote :

Same here agian.

Just with a different error number: 0x8847. I assume this is due to the fact that I use the localized German version. I just thought the different error code might help you find the reason.

Here's the exact output: "ncpmount: Server nicht gefunden (0x8847) beim Versuch, <Servername> zu finden"

As I have to work in a Novell environment, this is really annoying.

So, please, please solve the problem!

Revision history for this message
Marcantonio (marcantonio) wrote :

Same issue on Gutsy final release.

Revision history for this message
Credomane (credomane) wrote :

Well I finally managed to find out what is up but my programming experience has me confused as to why this actually works....I turn on a debugging option and everything starts working!!! O_o

the diff of my changes:
[code]
diff ncpfs-2.2.6/lib/ndslib.c ncpfs-2.2.6-4ubuntu1*/lib/ndslib.c
52c52
< /*#define FIND_ISR */ /* if defined: show reasons for -330 invalid response */
---
> #define FIND_ISR /* if defined: show reasons for -330 invalid response */
[/code]

I downloaded both http://archive.ubuntu.com/ubuntu/pool/universe/n/ncpfs/ncpfs_2.2.6.orig.tar.gz and http://archive.ubuntu.com/ubuntu/pool/universe/n/ncpfs/ncpfs_2.2.6-4ubuntu1.diff.gz

now by defining FIND_ISR the only code to be affect is
[code]
#ifdef FIND_ISR
#include <stdio.h>
#define ISRPrint(X...) do { fprintf(stderr, __FILE__ ":%d: ", __LINE__); fprintf(stderr, X); } while (0)
#else
#define ISRPrint(X...) do {} while (0)
#endif
[/code]

no matter what kind of mix-n-match i did with the above lines FIND_ISR had to be defined....

I'm going to play with it more so maybe someone else can tel me what is up...and fix in the repo's too!

Revision history for this message
Simon Engelsman (simon-engelsman) wrote :

Same here. Fixed it quick and dirty by symlinking to /usr/bin/ncpmount on my feisty partition.

Revision history for this message
Michael Warburton (mwarburton) wrote :

...me too. Fix please!

Revision history for this message
Christian Rank (c-rank) wrote :

Same problem here: Under feisty, ncpfs worked, under gutsy, it does no longer.

Revision history for this message
Michael Warburton (mwarburton) wrote :

Just tried un-commenting the #define FIND_ISR line as mentioned by bb00200 and can confirm that works for me too.

Very strange.

Revision history for this message
Paul_Woodward (pwoodward) wrote :

Please fix! Change to source code seems to be fairly trivial and already worked out, so can this get pushed through please?? It's not like you could make ncpmount work any worse than it does now...

Revision history for this message
RAT (rthreet-usi) wrote :

YES! PLEASE fix!! Set Importance = IMPORTANT.

Revision history for this message
regenpfeifer (regenpfeifer) wrote :

I'm experiencing the same problem when trying to mount my Netware-NDS workspace: "INVALID SERVER RESPONSE (-330)". Please, fix this annoying bug!

Steven Harms (sharms)
Changed in ncpfs:
assignee: nobody → motu
Revision history for this message
pirsl (christian-preuner) wrote :

I got the same bug, hopefully it will be fixed soon.

Revision history for this message
Tristan Rhodes (tristanrhodes) wrote :

This needs to be fixed as soon as possible. I have been using ncpfs on the last 3 versions of Ubuntu, but after upgrading to 7.10 it is broken. I have even tried a clean install of Ubuntu and I still get the same error message:

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

 I need to be able to access my Novell network drives or I cannot use Ubuntu at work! Please help.

Revision history for this message
Christian Rank (c-rank) wrote :

A hint for users who want to upgrade feisty to gutsy and avoid the problems with the buggy ncpfs from gutsy:

It was already posted that using ncpfs 2.2.6-3 (from feisty) solves this problem. Before upgrading feisty to gutsy, I created the file /etc/apt/preferences with the following contents:

Package: ncpfs
Pin: version 2.2.6-3*
Pin-Priority: 1000

Thus, ncpfs 2.2.6-3 survived the upgrade to gutsy.

For new installations, create the file above before installing ncpfs, then download ncpfs_2.2.6-3_i386.deb from an ubuntu repository and install with dpkg -i.

When the feisty version of ncpfs will be fixed, just delete the ncpfs-related contents from /etc/apt/preferences and upgrade.

Revision history for this message
Paul_Woodward (pwoodward) wrote : [Bug 140464] Re: ncpfs 2.2.6-4 breaks ncpmount

Thats the bug! Using 2.2.6-3 seems to be an OK workaround for now.

If the box has a GUI it is pretty easy to fix in synaptic. First, add the feisty universe repository (I edit /etc/apt/sources) then in synaptic find ncpfs. Use "Package-Force version" and "Package-Lock Version" to make sure you use 2.2.6-3.

It's still frustrating that the (trivial) fix required is taking so long to get into the repositories.

>>> On Wed, Nov 21, 2007 at 10:14 PM, <email address hidden> wrote:
> This needs to be fixed as soon as possible. I have been using ncpfs on
> the last 3 versions of Ubuntu, but after upgrading to 7.10 it is broken.
> I have even tried a clean install of Ubuntu and I still get the same
> error message:
>
> "ncpmount: Invalid server response (-330) in nds login"
>
> I need to be able to access my Novell network drives or I cannot use
> Ubuntu at work! Please help.
>
> --
> ncpfs 2.2.6-4 breaks ncpmount
> https://bugs.launchpad.net/bugs/140464
> You received this bug notification because you are a direct subscriber
> of the bug.

WWF - for a living planet

http://wwf.org.uk

Get On Board
The Climate Change Bill is one of the most important pieces of
legislation ever to go before the UK parliament.
Add your voice for a strong and effective Bill - visit
http://wwf.org.uk/getonboard

WWF-UK, Panda House, Weyside Park, Godalming, Surrey, GU7 1XR.
A company limited by guarantee registered in England number 4016725.
WWF-UK registered charity number 1081247
VAT number 733 761821.

This email and attachments are confidential and may be legally
privileged. If you have received this email in error please contact
the sender and then delete the email from your system. This email
is intended solely for the addressee and if you are not the intended
recipient you must not use, disclose, distribute, copy, print or rely
on this email. Addressees should check this email and any attachments
for viruses and no representation is made that this email and any
attachments are virus-free.

Revision history for this message
nemixer (nemixer) wrote :

Same problem,
I will try to force the old version.

A fix would be nice.
Thank you!

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

I compiled some debs with the changes, they are not in my ppa yet, but can be downloaded from http://www.sharms.org/files/ncpfix -- compiled and tested on amd64, I cross compiled i386 but I didn't test them yet. Both are there

Steven Harms (sharms)
Changed in ncpfs:
assignee: motu → sharms
Revision history for this message
Steven Harms (sharms) wrote :
Revision history for this message
Steven Harms (sharms) wrote :

This bug is a severe regression as program does not function at all currently. Please review attached debdiffs

Changed in ncpfs:
assignee: sharms → motu-sru
Revision history for this message
Jim J (morlockhq) wrote :

I can confirm this as well. I just upgraded from within the upate manager this morning. I used a utility on an ncp mounted filesystem in the morning that I no longer have access to this afternoon.

BAD bug.

Can some MOTU give us at least a little inkling as to how long this will take to fix?

Thanks.

Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Could you please indicate the steps required to reproduce the problem?

Changed in ncpfs:
assignee: motu-sru → nobody
importance: Undecided → High
Revision history for this message
Steven Harms (sharms) wrote :

Luca, this is reproduced by trying to mount any netware share using ncpmount. I already attached debdiffs, this issue should not need more effort to resolve.

Changed in ncpfs:
assignee: nobody → motu-sru
Revision history for this message
Jim J (morlockhq) wrote :

Yep that's it. Just try to ncpmount a novell share and you get the error
message in the original bug report.

On Dec 11, 2007 1:29 PM, Steven Harms <email address hidden> wrote:

> Luca, this is reproduced by trying to mount any netware share using
> ncpmount. I already attached debdiffs, this issue should not need more
> effort to resolve.
>
> ** Changed in: ncpfs (Ubuntu)
> Assignee: (unassigned) => MOTU Stable Release Updates (motu-sru)
>
> --
> ncpfs 2.2.6-4 breaks ncpmount
> https://bugs.launchpad.net/bugs/140464
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Uploaded to Hardy. Please test new package accurately to see if it fixed the bug.
If your fix is working as expected, prepare a new debdiff for gutsy-proposed.

Changed in ncpfs:
assignee: motu-sru → dktrkranz
status: Confirmed → Fix Committed
Revision history for this message
Steven Harms (sharms) wrote :

ncpfs (2.2.6-4ubuntu2) hardy; urgency=low

  * Fixed -330 error by enabling FIND_ISR (LP: #140464)
  * Fixed FTBFS syslog include issue

 -- Steven Harms <email address hidden> Sat, 08 Dec 2007 00:41:40 -0500

Changed in ncpfs:
status: Fix Committed → Fix Released
Revision history for this message
Jim J (morlockhq) wrote :

This is a BIG deal for some of us!

Please consider upgrading the urgency on this one. It has been an open bug
for quite some time.

This is affecting some of our abilities to use Gutsy in a corporate
environment.

Thank you

On Dec 11, 2007 2:45 PM, Steven Harms <email address hidden> wrote:

> ncpfs (2.2.6-4ubuntu2) hardy; urgency=low
>
> * Fixed -330 error by enabling FIND_ISR (LP: #140464)
> * Fixed FTBFS syslog include issue
>
> -- Steven Harms <email address hidden> Sat, 08 Dec 2007 00:41:40 -0500
>
> ** Changed in: ncpfs (Ubuntu Hardy)
> Status: Fix Committed => Fix Released
>
> --
> ncpfs 2.2.6-4 breaks ncpmount
> https://bugs.launchpad.net/bugs/140464
> You received this bug notification because you are a direct subscriber
> of the bug.
>

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

If someone can verify that the updated package now works on Hardy we can make a good case to get it as an Update (SRU) for gutsy

Revision history for this message
Credomane (credomane) wrote :

I dist-upgraded my work laptop to hardy.

And yes the hard ncpfs package version 2.2.6-4ubuntu2 is working on hardy.

Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Steven, could you please attach a new debdiff for gutsy-proposed?
Version 2.2.6-4ubuntu1.1 is good, remember to indicate it addesses a SRU and use LP: #140464 (instead of Resolves bug #140464).
Also, check if #include <syslog.h> entry can be omitted (gutsy version built fine here: https://edge.launchpad.net/ubuntu/+source/ncpfs/2.2.6-4ubuntu1)

Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Any news on this? Since ncpfs in gutsy broke so many systems and we have a several people who can confirm fix is good, a SRU would be great. Is someone still interested in it? Otherwise, I'm going to manage an upload soon.

Changed in ncpfs:
importance: Undecided → High
Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Version 2.2.6-4ubuntu1.1 uploaded to gutsy-proposed, now waiting for an archive-admin to accept it.

Changed in ncpfs:
status: New → Confirmed
assignee: nobody → dktrkranz
Revision history for this message
Urschl (bigurschl) wrote :

I tested Lucas fix and it works great! Thank you so much!

Revision history for this message
Martin Pitt (pitti) wrote :

Accepted into gutsy-proposed, please test.

Changed in ncpfs:
status: Confirmed → Fix Committed
Revision history for this message
Michael Warburton (mwarburton) wrote :

Took me a while to get around to testing this. I can confirm this is working perfectly for me in Kubuntu Gutsy :)

Thanks guys, much appreciated.

Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Feedbacks are positive, marking verification-done.

Revision history for this message
Martin Pitt (pitti) wrote :

Copied to gutsy-updates.

Changed in ncpfs:
status: Fix Committed → Fix Released
Revision history for this message
trent g (geerdes) wrote :

Finally! Thanks for this fix. Works again.

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

I just upgraded to Jaunty (beta) and the problem occured again. Manually downloading, installing and pinning version 2.2.6-4ubuntu3 from http://de.archive.ubuntu.com/ubuntu/pool/universe/n/ncpfs/ fixed it.

The changelog for 2.2.6-6 (the version currently in jaunty) does not mention the fix while the changelog for 2.2.6-4ubuntu3 does.

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

I will see if I can fix the Jaunty one tonight and get an MOTU to look over it

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

After reviewing the NCPFS Jaunty source code, the previous fix is already applied to it. Holger, I believe your bug is not the same issue, and is probably a new one. Can you file a seperate bug report against it?

Revision history for this message
Luke Schlather (luke2760) wrote :
Revision history for this message
dkpw (dkpwatson) wrote :

Having just upgraded to Karmic, I can confirm that this fix - down grading to ncpfs_2.2.6-3_i386 from the default ncpfs_2.2.6-6_i386 still works, and is indeed necessary to avoid the -330 from ncpmount.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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