When doing setup in Advanced mode, the installer asks if you want to install them sample entries, then asks "Type the full path and filename, the word suggest, or the word none". No matter what you type there, it goes back and asks to install the sample entries again, then gets stuck in a loop.
Created attachment 140498 [details] diffs There were a couple of problems. The first problem is that askPopulate is not a YesNo dialog, it is just a general Input dialog. The second problem is that askPopulateSetup sets the input buffer size greater than the static buffer used to hold the input in the Dialog class, which is defined as char _buf[MED_BUF]. So the solution is to set the InputLen to be MED_BUF-1, which allows for the trailing null as well.
Looks good.
*** Bug 214007 has been marked as a duplicate of this bug. ***
Reviewed by: nhosoi (Thanks!) Files: see diff Branch: HEAD Fix Description: There were a couple of problems. The first problem is that askPopulate is not a YesNo dialog, it is just a general Input dialog. The second problem is that askPopulateSetup sets the input buffer size greater than the static buffer used to hold the input in the Dialog class, which is defined as char _buf[MED_BUF]. So the solution is to set the InputLen to be MED_BUF-1, which allows for the trailing null as well. Platforms tested: FC5 Flag Day: no Doc impact: no Checking in ux-dialog.cc; /cvs/dirsec/ldapserver/ldap/cm/newinst/ux-dialog.cc,v <-- ux-dialog.cc new revision: 1.10; previous revision: 1.9 done Checking in ux-dialog.h; /cvs/dirsec/ldapserver/ldap/cm/newinst/ux-dialog.h,v <-- ux-dialog.h new revision: 1.5; previous revision: 1.4 done
Tested with the following packages. Custom installation works fine. Changed status to VERIFIED. 1196462481 redhat-ds-console-8.0.0-8.el5dsrv Fri Nov 30 2007 1196462482 redhat-admin-console-8.0.0-9.el5dsrv Fri Nov 30 2007 1196462482 redhat-idm-console-1.0.0-15.el5idm Fri Nov 30 2007