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

/illumos-gate/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:__anon728
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;
/illumos-gate/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);
/illumos-gate/usr/src/lib/sasl_plugins/cram/
H A Dcram.c596 const char *authid; local
632 if (oparams->authid == NULL) {
633 auth_result=_plug_get_authid(params->utils, &authid, prompt_need);
692 result = params->canon_user(params->utils->conn, authid, 0,
714 maxsize = 32+1+strlen(oparams->authid)+30;
719 snprintf(text->out_buf, maxsize, "%s %s", oparams->authid, in16);
/illumos-gate/usr/src/lib/sasl_plugins/digestmd5/
H A Ddigestmd5.c180 char *authid; member in struct:reauth_entry
217 char *authid; member in struct:context
2269 if (text->authid) utils->free(text->authid);
2301 if (reauth->authid) utils->free(reauth->authid);
2820 text->authid = NULL;
3064 if (text->reauth->e[val].authid &&
3065 !strcmp(username, text->reauth->e[val].authid)) {
3523 text->reauth->e[val].authid
4612 const char *authid = NULL, *userid = NULL, *realm = NULL; local
[all...]
/illumos-gate/usr/src/lib/sasl_plugins/gssapi/
H A Dgssapi.c168 char *authid; /* hold the authid between steps - server */ member in struct:context
714 if (text->authid) { /* works for both client and server */
715 text->utils->free(text->authid);
716 text->authid = NULL;
1100 text->authid = strdup(name_without_realm.value);
1102 if (text->authid == NULL) {
1107 text->authid = strdup(name_token.value);
1109 if (text->authid == NULL) {
1117 &text->authid, NUL
[all...]
/illumos-gate/usr/src/lib/sasl_plugins/login/
H A Dlogin.c213 oparams->authid, oparams->alen,
454 *clientout = oparams->authid;
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dusersmtp.c956 /* no authid? copy uid */
967 /* no uid? copy authid */
995 ** GETSIMPLE -- callback to get userid or authid
1034 sm_syslog(LOG_DEBUG, NOQID, "AUTH authid '%s'",
1098 ** GETSIMPLE -- callback to get userid or authid
1123 char *authid = NULL; local
1133 ** plugins/cram.c free()s authid, plugings/digestmd5.c does not.
1175 ** Add realm to authentication id unless authid contains
1191 authid = h;
1199 authid
[all...]
/illumos-gate/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.c1208 if (! conn->oparams.authid)
1222 conn->oparams.authid,
1646 s_conn->base.oparams.authid, s_conn->base.oparams.alen,
1980 if(conn->oparams.user == NULL || conn->oparams.authid == NULL) {
1984 "and authid");
1988 "and authid");
2528 result = _sasl_auxprop_verify_apop(conn, conn->oparams.authid,
2534 conn->oparams.authid = NULL;
H A Dclient.c1058 if(conn->oparams.user == NULL || conn->oparams.authid == NULL) {
1061 "mech did not call canon_user for both authzid and authid");
1064 "mech did not call canon_user for both authzid and authid");
H A Dcommon.c781 if(! conn->oparams.authid)
784 *((const char **)pvalue) = conn->oparams.authid;
/illumos-gate/usr/src/lib/libsasl/include/
H A Dsaslplug.h189 const char *authid; /* canonicalized authentication id */ member in struct:sasl_out_params
192 unsigned alen; /* length of canonicalized authid */
272 * oparams the user, authid, ulen, alen, fields are
276 * responsible for setting user, ulen, authid, and alen in the oparams
286 * SASL_BADPROT -- invalid user/authid
513 * oparams the user, authid, ulen, alen, fields are
517 * responsible for setting user, ulen, authid, and alen in the oparams
527 * SASL_BADPROT -- invalid user/authid
540 * the "authid" (user whose credentials are used / authentication id)
542 * the "authid" i
[all...]
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_sasl.c221 ret = cred->authid;
H A Dns_internal.h725 char *authid; member in struct:ns_sasl_cb_param
H A Dns_connect.c2573 sasl_param.authid = NULL;

Completed in 101 milliseconds