Home
last modified time | relevance | path

Searched refs:unix_cred (Results 1 – 14 of 14) sorted by relevance

/illumos-gate/usr/src/lib/pam_modules/ldap/
H A Dldap_utils.c111 credp->cred.unix_cred.userID = strdup(binddn); in authenticate()
112 credp->cred.unix_cred.passwd = strdup(pwd); in authenticate()
113 if ((credp->cred.unix_cred.userID == NULL) || in authenticate()
114 (credp->cred.unix_cred.passwd == NULL)) { in authenticate()
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_common.c222 if (authp->cred.unix_cred.userID) { in __ns_ldap_dupAuth()
223 ap->cred.unix_cred.userID = in __ns_ldap_dupAuth()
225 if (ap->cred.unix_cred.userID == NULL) { in __ns_ldap_dupAuth()
230 if (authp->cred.unix_cred.passwd) { in __ns_ldap_dupAuth()
231 ap->cred.unix_cred.passwd = in __ns_ldap_dupAuth()
314 if (ap->cred.unix_cred.userID) { in __ns_ldap_freeCred()
316 strlen(ap->cred.unix_cred.userID)); in __ns_ldap_freeCred()
317 free(ap->cred.unix_cred.userID); in __ns_ldap_freeCred()
320 if (ap->cred.unix_cred.passwd) { in __ns_ldap_freeCred()
322 strlen(ap->cred.unix_cred.passwd)); in __ns_ldap_freeCred()
[all …]
H A Dns_connect.c486 if (cred->cred.unix_cred.userID) in printCred()
488 t, cred->cred.unix_cred.userID); in printCred()
489 if (cred->cred.unix_cred.passwd) in printCred()
491 t, cred->cred.unix_cred.passwd); in printCred()
1605 (*authp)->cred.unix_cred.userID = in __s_api_getDefaultAuth()
1609 if ((*authp)->cred.unix_cred.userID == NULL) { in __s_api_getDefaultAuth()
1658 (*authp)->cred.unix_cred.passwd = modparamVal; in __s_api_getDefaultAuth()
2347 binddn = auth->cred.unix_cred.userID; in doSimpleBind()
2348 passwd = auth->cred.unix_cred.passwd; in doSimpleBind()
2462 binddn = auth->cred.unix_cred.userID; in doSASLBind()
[all …]
H A Dns_standalone.c1137 default_cred.cred.unix_cred.passwd = NULL; in __ns_ldap_getConnectionInfoFromDUA()
1138 default_cred.cred.unix_cred.userID = NULL; in __ns_ldap_getConnectionInfoFromDUA()
2008 user_cred.cred.unix_cred.userID = sa_conf->SA_BIND_DN; in __ns_ldap_initStandalone()
2013 user_cred.cred.unix_cred.passwd = sa_conf->SA_BIND_PWD; in __ns_ldap_initStandalone()
H A Dns_sldap.h170 UnixCred_t unix_cred; member
H A Dns_writes.c1233 cred->cred.unix_cred.passwd = modparamVal; in get_admin_passwd()
/illumos-gate/usr/src/lib/pam_modules/unix_cred/
H A DMakefile29 POFILE= unix_cred.po
30 MSGFILES= unix_cred.c
H A DMakefile.com28 OBJECTS= unix_cred.o
/illumos-gate/usr/src/cmd/idmap/idmap/
H A Dnamemaps.c149 nsc->cred.unix_cred.userID = strdup(user); in strings2cred()
150 if (nsc->cred.unix_cred.userID == NULL) in strings2cred()
155 nsc->cred.unix_cred.passwd = strdup(passwd); in strings2cred()
156 if (nsc->cred.unix_cred.passwd == NULL) { in strings2cred()
157 free(nsc->cred.unix_cred.userID); in strings2cred()
335 if (p->nsc.cred.unix_cred.userID != NULL) { in idmap_fini_namemaps()
336 free(p->nsc.cred.unix_cred.userID); in idmap_fini_namemaps()
339 if (p->nsc.cred.unix_cred.passwd != NULL) { in idmap_fini_namemaps()
341 (void) memset(p->nsc.cred.unix_cred.passwd, 0, in idmap_fini_namemaps()
342 strlen(p->nsc.cred.unix_cred.passwd)); in idmap_fini_namemaps()
[all …]
/illumos-gate/usr/src/cmd/keyserv/
H A Dchkey_common.c592 credp->cred.unix_cred.userID = strdup(bindDN); in update_ldap_attr()
594 credp->cred.unix_cred.userID = strdup(dn); in update_ldap_attr()
596 if (credp->cred.unix_cred.userID == NULL) { in update_ldap_attr()
602 credp->cred.unix_cred.passwd = strdup(bindPasswd); in update_ldap_attr()
605 credp->cred.unix_cred.passwd = strdup(passwd); in update_ldap_attr()
615 credp->cred.unix_cred.passwd = ldap_pw; in update_ldap_attr()
619 if (credp->cred.unix_cred.passwd == NULL) { in update_ldap_attr()
/illumos-gate/usr/src/lib/pam_modules/
H A DMakefile54 unix_cred \
/illumos-gate/usr/src/cmd/ldap/ns_ldap/
H A Dldapaddent.c4167 if (authority.cred.unix_cred.userID == NULL || in dumptable()
4168 authority.cred.unix_cred.passwd == NULL) in dumptable()
4289 authority.cred.unix_cred.passwd = NULL; in main()
4290 authority.cred.unix_cred.userID = NULL; in main()
4337 if (authority.cred.unix_cred.passwd) { in main()
4357 free(authority.cred.unix_cred.passwd); in main()
4395 authority.cred.unix_cred.userID == NULL && in main()
4405 authority.cred.unix_cred.passwd == NULL && in main()
4412 authority.cred.unix_cred.passwd = strdup(ps); in main()
4475 authority.cred.unix_cred.passwd = NULL; in main()
[all …]
/illumos-gate/usr/src/lib/passwdutil/
H A Dldap_attr.c1006 credp->cred.unix_cred.userID = strdup(binddn); in ldap_replaceattr()
1007 credp->cred.unix_cred.passwd = strdup(pwd); in ldap_replaceattr()
/illumos-gate/usr/src/cmd/ldapcachemgr/
H A Dcachemgr.c1563 credp->cred.unix_cred.userID = strdup((char *)*paramVal);
1565 if (credp->cred.unix_cred.userID == NULL)