[Date Prev][Date Next]
Re: (ITS#4643) please don't use hpux getpass()
At 12:43 PM 8/17/2006, firstname.lastname@example.org wrote:
>On 8/17/06, Pierangelo Masarati <email@example.com> wrote:
>Thank you for responding.
>> firstname.lastname@example.org wrote:
>> > On HP-UX B.11.23 ia64, openldap 2.3.24 decides to use getpass(). This causes
>> > problems, because our passwords are longer than 8 characters. Thus, users with
>> > passwords longer than 8 cannot use the password prompt.
>> Having passwords consistently limited to 8 chars by consistently using
>> system-provided facilities may be considered a feature rather than a
>Within the context of ldapsearch, I don't follow that rationale.
>And anyway, what does openldap do automatically if it finds both
>getpass() and getpassphrase(), and why?
getpassphrase(3) is favored over getpass(3) in environments that
provide both. It's assumed that the only difference between
the two is the maximum length of the password they can get,
with getpassphrase(3) able to get larger passwords.
>Shouldn't that same logic be followed consistently throughout?
We assume that getpassphrase(3) and getpass(3) are both generally
more robust than our built-in code and hence favor them over our