nmbd --port command will not be parsed. It gives unknown error.
Created attachment 6187 [details] fix
I've pushed that to autobuild
Cherry-picked to v3-6-test
Patch applies on v3-4-test and v3-5-test, too.
Comment on attachment 6187 [details] fix Looks good
Comment on attachment 6187 [details] fix Hm, does the bug description and commit message match the patch? It seems to me that the patch also modifies the behaviour of the --hosts parameter. I have to admit that I apparently don't really understand the "val" member of the struct poptOption yet... Ok, now I seem to start to understand... :-) It is meant to indicate via the return value of poptGetNextOpt(), which option was really parsed last. So in the case of nmbd, --hosts and --port yielded the "Invalid option" error messsage. The patch is correct, but it fixes more than the the bug report (and the commit message) actually list. Sorry for the gibberish, I needed it to understand.
==> Karolin
Pushed to v3-5-test and v3-4-test. Closing out bug report. Thanks!