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 Login denied. 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): 2.2.6-1.2.1 How reproducible: Completly Steps to Reproduce: 1. /usr/bin/ncpmount -S FS1 -U pept.chp.uochb -P ********** /mnt/FS1 the asterikses are used instead of password 2. 3. Actual results: Expected results: Additional info:
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? http://people.redhat.com/stransky/ncpfs/ 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. OK, it works. Problem was removed. Thank you.
Created attachment 127604 [details] proposed patch fix for this issue, heads to rawhide....