Am Thu, 28 May 2015 17:18:46 -0500 schrieb Dan White <dwhite@xxxxxxx>: > 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. man sasl_client_new(3) man sasl_client_init(3) > >(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.) -Dieter -- Dieter Klünter | Systemberatung http://sys4.de GPG Key ID: E9ED159B 53°37'09,95"N 10°08'02,42"E