Searched refs:credp (Results 1 - 11 of 11) sorted by relevance

/osnet-11/usr/src/lib/libproc/common/
H A Dproc_set.c39 Psetcred(struct ps_prochandle *Pr, const prcred_t *credp) argument
48 if (Pr == NULL || credp == NULL)
51 ngrp = credp->pr_ngroups;
56 (void) memcpy(&ctlp->cred, credp, ctlsize);
H A Dproc_get_info.c49 * credp = malloc(sizeof (prcred_t) + (ngroups - 1) * sizeof (gid_t));
52 proc_get_cred(pid_t pid, prcred_t *credp, int ngroups) argument
57 ssize_t minsize = sizeof (*credp) - sizeof (gid_t);
63 if (read(fd, credp, size) >= minsize)
H A Dllib-lproc336 int proc_get_cred(pid_t pid, prcred_t *credp, int ngroups);
/osnet-11/usr/src/lib/pam_modules/ldap/
H A Dldap_utils.c94 ns_cred_t *credp; local
97 if ((credp = (ns_cred_t *)calloc(1, sizeof (ns_cred_t))) == NULL)
109 credp->cred.unix_cred.userID = strdup(binddn);
110 credp->cred.unix_cred.passwd = strdup(pwd);
111 if ((credp->cred.unix_cred.userID == NULL) ||
112 (credp->cred.unix_cred.passwd == NULL)) {
128 credp->hostcertpath = strdup(*certpath);
129 if (credp->hostcertpath == NULL) {
172 credp->auth.type = authp->type;
173 credp
[all...]
H A Dldap_authenticate.c60 ns_cred_t *credp = NULL; local
110 result = authenticate(&credp, user, password, NULL);
133 if (credp != NULL)
134 (void) __ns_ldap_freeCred(&credp);
H A Dldap_acct_mgmt.c256 ns_cred_t *credp = NULL; local
300 result = authenticate(&credp, user,
345 if (credp != NULL)
346 (void) __ns_ldap_freeCred(&credp);
/osnet-11/usr/src/lib/passwdutil/
H A Dldap_attr.c1062 ns_cred_t *credp; local
1067 if ((credp = (ns_cred_t *)calloc(1, sizeof (ns_cred_t))) == NULL)
1075 credp->cred.unix_cred.userID = strdup(binddn);
1076 credp->cred.unix_cred.passwd = strdup(pwd);
1086 credp->hostcertpath = *certpath;
1127 credp->auth.type = authp->type;
1128 credp->auth.tlstype = authp->tlstype;
1129 credp->auth.saslmech = authp->saslmech;
1130 credp->auth.saslopt = authp->saslopt;
1134 credp, flag
[all...]
/osnet-11/usr/src/lib/libsldap/common/
H A Dns_common.c342 __ns_ldap_freeUnixCred(UnixCred_t ** credp) argument
349 if (credp == NULL || *credp == NULL)
352 ap = *credp;
364 *credp = NULL;
377 __ns_ldap_freeCred(ns_cred_t ** credp) argument
384 if (credp == NULL || *credp == NULL)
387 ap = *credp;
413 *credp
[all...]
H A Dns_sldap.h936 ns_cred_t **credp);
H A Dns_connect.c71 extern int __ns_ldap_freeUnixCred(UnixCred_t **credp);
/osnet-11/usr/src/cmd/ldap/common/
H A Dcommon.c1926 get_rebind_credentials( LDAP *ld, char **whop, char **credp, argument
1931 *credp = passwd;

Completed in 48 milliseconds