Red Hat Bugzilla – Bug 186683
ncpmount needs downgrade to work properly
Last modified: 2016-03-27 10:28:46 EDT
Description of problem:
I have upgraded from Fedora Core 3 to Fedora Core 5. The programs ncpmount and
ncplogin are not able to connect to NetWare server. Command line parameters are
the same as in FC3, where it works without any problem.
The prgram reports following error:
ncpmount: Invalid server response (-330) in nds login
The solution of this problem was downgrade to package ncpfs-2.2.4-5.FC3.i386.rpm
then it works without problems.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. /usr/bin/ncpmount -S FS1 -U pept.chp.uochb -P ********** /mnt/FS1
the asterikses are used instead of password
Actually, the version 2.2.6-1.2.1 works if it's compiled from source rpm on FC4
using gcc-4.0.2-8. So, it seems more like gcc optimization bug to me. I didn't
try to use gcc-4.1.0 with -O0 though.
Good call Victor. I recompiled ncpfs-2.2.6-1.2.1 on FC5 with gcc-4.1.0-3
without gcc optimization (got rid of the -O2 parameter) and it fixed the problem
of "Invalid server response (-330) in nds login". Thanks !
To get rid of the -O2 I had to patch the configure file (-O2 seems hard coded
in there ?!) and remove the $RPM_OPT_FLAGS from the spec file. Couldn't find
where $RPM_OPT_FLAGS was picking its -O2 from ? There has to be an easier way
of doing it but I didn't have hours to spend.
Please, can someone with sufficient privileges change the component field to gcc?
Could you please check this package?
It has some debug output, please attach it after ncpmount failed.
Created attachment 126969 [details]
output of ncpmount from the test package
I released package w/o optimalization for FC5, you can check it. Unfortunately I
don't have any netware server handy so I can't track it down.
(In reply to comment #6)
> I released package w/o optimalization for FC5, you can check it. Unfortunately I
> don't have any netware server handy so I can't track it down.
it works. Problem was removed. Thank you.
Created attachment 127604 [details]
fix for this issue, heads to rawhide....