Re: ldap_sasl_interactive_bind_s and LDAP_SASL_QUIET

Howard Chu <[email protected]> Thu, 25 Mar 2021 12:51:15 +0000
Newsgroups gmane.network.openldap.devel
Message-ID <[email protected]>
Jordan Brown wrote:
> Any comments on this?

No strong opinion. Generally, interact is only for prompts - messages that
expect input from the user in response. Informational messages that don't
require any response don't seem to apply.

> On 3/4/2021 4:05 PM, Jordan Brown wrote:
>> ldap_sasl_interactive_bind_s prints SASL-related messages on stderr by default, unless you specify LDAP_SASL_QUIET.
>>
>> This seems wrong.  The whole point of the "interact" function is to handle any required conversation with the user.  In particular, in a GUI application these
>> messages won't go to the user; more likely they will just clutter up some log.
>>
>> Would the OpenLDAP community be receptive to a patch that directs these messages through the "interact" function?
>>
>> (I think they have very little value and should just be dropped; that would be OK too.)
>>
>>     SASL username: [email protected]
>>     SASL SSF: 56
>>     SASL data security layer installed.
>>
>> -- 
>> Jordan Brown, Oracle ZFS Storage Appliance, Oracle Solaris
> 
> 
> -- 
> Jordan Brown, Oracle ZFS Storage Appliance, Oracle Solaris
> 


-- 
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/