Hi, param/loadparm.c triggers a severe compiler HP-UX PA-Risc issue in the latest compiler: All binaries get ridiculous large for instance smbd is 300 MB. It is a problem with non initializing all the struct entries of parm_table. AFAIK it is not neccesary to initialize all struct elements explicitly according to ANSI C, but it does not harm to do it and helps the compiler tremendously. Please apply in 3.4.x and upstream.
Created attachment 4831 [details] Explicitly initialize enum_list member of struct to zero
Looks good to me. We've just also added the ldap referral parameter, I think this suffers from the same problem. Volker
(In reply to comment #2) > Looks good to me. We've just also added the ldap referral parameter, I think > this suffers from the same problem. You're talking abaout the ldap ref follow parameter in "master"? Indeed the .special is missing there. But this parameter isn't available in 3.4.x I was in the impression I should submit patches for 3.4.x not master.
Sure, but you do not want to hit this exact problem in a years time again :-) Volker
Created attachment 4832 [details] Essentially the same patch relative to master
(In reply to comment #3) > (In reply to comment #2) > > Looks good to me. We've just also added the ldap referral parameter, I think > > this suffers from the same problem. > > You're talking abaout the ldap ref follow parameter in "master"? > > Indeed the .special is missing there. > > But this parameter isn't available in 3.4.x > > I was in the impression I should submit patches for 3.4.x not master. >
Oops, last comment was added by accident, sorry! Pushed patches to master, v3-5-test and v3-4-test. Closing out bug report. Thanks for providing the patch!