Lines Matching defs:sa_conf
2029 * sa_conf - a structure describing where and in which way to obtain all
2035 __ns_ldap_initStandalone(const ns_standalone_conf_t *sa_conf,
2049 if (sa_conf->SA_BIND_DN == NULL && sa_conf->SA_BIND_PWD != NULL ||
2050 sa_conf->SA_BIND_DN != NULL && sa_conf->SA_BIND_PWD == NULL) {
2063 switch (sa_conf->type) {
2065 if (sa_conf->SA_BIND_DN != NULL) {
2066 user_cred.cred.unix_cred.userID = sa_conf->SA_BIND_DN;
2070 if (sa_conf->SA_BIND_PWD != NULL) {
2071 user_cred.cred.unix_cred.passwd = sa_conf->SA_BIND_PWD;
2074 if (sa_conf->SA_AUTH != NULL) {
2075 user_cred.auth.type = sa_conf->SA_AUTH->type;
2076 user_cred.auth.tlstype = sa_conf->SA_AUTH->tlstype;
2077 user_cred.auth.saslmech = sa_conf->SA_AUTH->saslmech;
2078 user_cred.auth.saslopt = sa_conf->SA_AUTH->saslopt;
2081 if (sa_conf->SA_CERT_PATH != NULL) {
2082 user_cred.hostcertpath = sa_conf->SA_CERT_PATH;
2086 &sa_conf->ds_profile.server,
2101 if (sa_conf->SA_CERT_PATH != NULL) {
2119 sa_conf->SA_CERT_PATH,
2126 if (sa_conf->SA_BIND_DN != NULL &&
2127 sa_conf->SA_BIND_PWD != NULL) {
2153 sa_conf->SA_BIND_DN,
2161 sa_conf->SA_BIND_PWD,