Searched refs:authid (Results 1 - 16 of 16) sorted by relevance

/osnet-11/usr/src/cmd/ldap/common/
H A Dldaptool-sasl.h15 void *ldaptool_set_sasl_defaults ( LDAP *ld, char *mech, char *authid, char *username, char *passwd, char *realm );
H A Dldaptool-sasl.c31 char *authid; member in struct:__anon54
41 ldaptool_set_sasl_defaults ( LDAP *ld, char *mech, char *authid, char *username, argument
54 if (authid)
55 defaults->authid = authid;
57 ldap_get_option(ld, LDAP_OPT_X_SASL_AUTHCID, &defaults->authid);
105 defvalue = defaults->authid;
/osnet-11/usr/src/lib/sasl_plugins/plain/
H A Dplain.c192 oparams->authid, oparams->alen,
312 const char *user = NULL, *authid = NULL; local
335 /* try to get the authid */
336 if (oparams->authid == NULL) {
337 auth_result = _plug_get_authid(params->utils, &authid, prompt_need);
413 result = params->canon_user(params->utils->conn, authid, 0,
421 result = params->canon_user(params->utils->conn, authid, 0,
438 memcpy(text->out_buf + oparams->ulen + 1, oparams->authid, oparams->alen);
/osnet-11/usr/src/lib/sasl_plugins/cram/
H A Dcram.c594 const char *authid; local
630 if (oparams->authid == NULL) {
631 auth_result=_plug_get_authid(params->utils, &authid, prompt_need);
690 result = params->canon_user(params->utils->conn, authid, 0,
712 maxsize = 32+1+strlen(oparams->authid)+30;
717 snprintf(text->out_buf, maxsize, "%s %s", oparams->authid, in16);
/osnet-11/usr/src/lib/libfedfs/common/
H A Dnsdb_primitives.c40 char *authid; member in struct:cb_param
63 ret = cred->authid;
183 sasl_param.authid = dn;
190 sasl_param.authid = digest_md5_name;
197 sasl_param.authid = digest_md5_name;
/osnet-11/usr/src/lib/sasl_plugins/digestmd5/
H A Ddigestmd5.c181 char *authid; member in struct:reauth_entry
218 char *authid; member in struct:context
2274 if (text->authid) utils->free(text->authid);
2306 if (reauth->authid) utils->free(reauth->authid);
2825 text->authid = NULL;
3069 if (text->reauth->e[val].authid &&
3070 !strcmp(username, text->reauth->e[val].authid)) {
3528 text->reauth->e[val].authid
4625 const char *authid = NULL, *userid = NULL, *realm = NULL; local
[all...]
/osnet-11/usr/src/lib/sasl_plugins/gssapi/
H A Dgssapi.c167 char *authid; /* hold the authid between steps - server */ member in struct:context
713 if (text->authid) { /* works for both client and server */
714 text->utils->free(text->authid);
715 text->authid = NULL;
1099 text->authid = strdup(name_without_realm.value);
1101 if (text->authid == NULL) {
1106 text->authid = strdup(name_token.value);
1108 if (text->authid == NULL) {
1116 &text->authid, NUL
[all...]
/osnet-11/usr/src/cmd/sendmail/src/
H A Dusersmtp.c964 /* no authid? copy uid */
975 /* no uid? copy authid */
1003 ** GETSIMPLE -- callback to get userid or authid
1042 sm_syslog(LOG_DEBUG, NOQID, "AUTH authid '%s'",
1106 ** GETSIMPLE -- callback to get userid or authid
1131 char *authid = NULL; local
1141 ** plugins/cram.c free()s authid, plugings/digestmd5.c does not.
1183 ** Add realm to authentication id unless authid contains
1199 authid = h;
1207 authid
[all...]
/osnet-11/usr/src/lib/libsasl/lib/
H A Dcanonusr.c199 * the buffer for the authzid from the buffer for the authid */
206 oparams->authid = conn->authid_buf;
218 oparams->authid, oparams->alen);
H A Dserver.c1219 if (! conn->oparams.authid)
1233 conn->oparams.authid,
1677 s_conn->base.oparams.authid, s_conn->base.oparams.alen,
2011 if(conn->oparams.user == NULL || conn->oparams.authid == NULL) {
2015 "and authid");
2019 "and authid");
2559 result = _sasl_auxprop_verify_apop(conn, conn->oparams.authid,
2565 conn->oparams.authid = NULL;
H A Dclient.c1102 if(conn->oparams.user == NULL || conn->oparams.authid == NULL) {
1105 "mech did not call canon_user for both authzid and authid");
1108 "mech did not call canon_user for both authzid and authid");
H A Dcommon.c795 if(! conn->oparams.authid)
798 *((const char **)pvalue) = conn->oparams.authid;
/osnet-11/usr/src/lib/libsasl/include/
H A Dsaslplug.h186 const char *authid; /* canonicalized authentication id */ member in struct:sasl_out_params
189 unsigned alen; /* length of canonicalized authid */
269 * oparams the user, authid, ulen, alen, fields are
273 * responsible for setting user, ulen, authid, and alen in the oparams
283 * SASL_BADPROT -- invalid user/authid
510 * oparams the user, authid, ulen, alen, fields are
514 * responsible for setting user, ulen, authid, and alen in the oparams
524 * SASL_BADPROT -- invalid user/authid
537 * the "authid" (user whose credentials are used / authentication id)
539 * the "authid" i
[all...]
/osnet-11/usr/src/lib/libsldap/common/
H A Dns_sasl.c302 ret = cred->authid;
H A Dns_internal.h829 char *authid; member in struct:ns_sasl_cb_param
H A Dns_connect.c2762 sasl_param.authid = NULL;

Completed in 79 milliseconds