Re: Configuring SASL client

Dan White <[email protected]>
Newsgroups gmane.comp.security.cyrus.sasl
Message-ID <[email protected]>
On 05/27/15 13:05 -0700, Jordan Brown wrote:
>I'm sorry, I'm sure this is documented somewhere but I'm just not
>finding it.
>
>When a SASL server application calls
>    result = sasl_server_init(NULL, "myserver");
>the library reads configuration options from /usr/lib/sasl2/myserver.conf.
>
>When a SASL client application calls
>    result = sasl_client_init(NULL);
>there's no program name specified, so what file does it read?

I cannot find it documented either. The code indicates that a NULL
parameter is acceptible. My assumption would be that libsasl would function
as if there were a missing config file and use the defaults.

>(I know that the caller can supply a getopt callback and supply custom
>settings, but the particular caller that I'm interested in - OpenLDAP's
>client - passes in NULL.)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.