Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/rexd/
H A Drpc.rexd.c378 struct authunix_parms *unix_cred; local
384 unix_cred = &au;
386 unix_cred->aup_gids = (gid_t *)stuff;
388 unix_cred->aup_machname = "";
393 &(unix_cred->aup_uid),
394 &(unix_cred->aup_gid),
395 (int *)&(unix_cred->aup_len),
396 unix_cred->aup_gids) == FALSE)
399 return (unix_cred);
413 struct authunix_parms *unix_cred; local
[all …]
/titanic_50/usr/src/lib/pam_modules/ldap/
H A Dldap_utils.c113 credp->cred.unix_cred.userID = strdup(binddn); in authenticate()
114 credp->cred.unix_cred.passwd = strdup(pwd); in authenticate()
115 if ((credp->cred.unix_cred.userID == NULL) || in authenticate()
116 (credp->cred.unix_cred.passwd == NULL)) { in authenticate()
/titanic_50/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()
224 strdup(authp->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()
232 strdup(authp->cred.unix_cred.passwd); in __ns_ldap_dupAuth()
233 if (ap->cred.unix_cred.passwd == NULL) { in __ns_ldap_dupAuth()
314 if (ap->cred.unix_cred.userID) { in __ns_ldap_freeCred()
315 (void) memset(ap->cred.unix_cred.userID, 0, 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()
1589 (*authp)->cred.unix_cred.userID = AdminCred->userID; in __s_api_getDefaultAuth()
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()
[all …]
H A Dns_standalone.c1136 default_cred.cred.unix_cred.passwd = NULL; in __ns_ldap_getConnectionInfoFromDUA()
1137 default_cred.cred.unix_cred.userID = NULL; in __ns_ldap_getConnectionInfoFromDUA()
2007 user_cred.cred.unix_cred.userID = sa_conf->SA_BIND_DN; in __ns_ldap_initStandalone()
2012 user_cred.cred.unix_cred.passwd = sa_conf->SA_BIND_PWD; in __ns_ldap_initStandalone()
H A Dns_sldap.h169 UnixCred_t unix_cred; member
H A Dns_writes.c1231 cred->cred.unix_cred.passwd = modparamVal; in get_admin_passwd()
/titanic_50/usr/src/lib/pam_modules/unix_cred/
H A DMakefile31 POFILE= unix_cred.po
32 MSGFILES= unix_cred.c
H A DMakefile.com28 OBJECTS= unix_cred.o
/titanic_50/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 …]
/titanic_50/usr/src/cmd/keyserv/
H A Dchkey_common.c601 credp->cred.unix_cred.userID = strdup(bindDN); in update_ldap_attr()
603 credp->cred.unix_cred.userID = strdup(dn); in update_ldap_attr()
605 if (credp->cred.unix_cred.userID == NULL) { in update_ldap_attr()
611 credp->cred.unix_cred.passwd = strdup(bindPasswd); in update_ldap_attr()
614 credp->cred.unix_cred.passwd = strdup(passwd); in update_ldap_attr()
624 credp->cred.unix_cred.passwd = ldap_pw; in update_ldap_attr()
628 if (credp->cred.unix_cred.passwd == NULL) { in update_ldap_attr()
/titanic_50/usr/src/lib/pam_modules/
H A DMakefile54 unix_cred \
/titanic_50/usr/src/cmd/ldap/ns_ldap/
H A Dldapaddent.c4165 if (authority.cred.unix_cred.userID == NULL || in dumptable()
4166 authority.cred.unix_cred.passwd == NULL) in dumptable()
4287 authority.cred.unix_cred.passwd = NULL; in main()
4288 authority.cred.unix_cred.userID = NULL; in main()
4332 authority.cred.unix_cred.userID = strdup(optarg); in main()
4335 if (authority.cred.unix_cred.passwd) { in main()
4348 authority.cred.unix_cred.passwd = strdup(optarg); in main()
4351 if (authority.cred.unix_cred.passwd != NULL) { in main()
4355 free(authority.cred.unix_cred.passwd); in main()
4357 authority.cred.unix_cred.passwd = readPwd(optarg); in main()
[all …]
/titanic_50/usr/src/lib/passwdutil/
H A Dldap_attr.c1005 credp->cred.unix_cred.userID = strdup(binddn); in ldap_replaceattr()
1006 credp->cred.unix_cred.passwd = strdup(pwd); in ldap_replaceattr()
/titanic_50/usr/src/cmd/ldapcachemgr/
H A Dcachemgr.c1565 credp->cred.unix_cred.userID = strdup((char *)*paramVal);
1567 if (credp->cred.unix_cred.userID == NULL)