Home
last modified time | relevance | path

Searched refs:userID (Results 1 – 12 of 12) sorted by relevance

/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()
273 if (ap->userID) { in __ns_ldap_freeUnixCred()
274 (void) memset(ap->userID, 0, strlen(ap->userID)); in __ns_ldap_freeUnixCred()
275 free(ap->userID); in __ns_ldap_freeUnixCred()
314 if (ap->cred.unix_cred.userID) { in __ns_ldap_freeCred()
315 (void) memset(ap->cred.unix_cred.userID, 0, in __ns_ldap_freeCred()
316 strlen(ap->cred.unix_cred.userID)); 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()
1584 if (AdminCred->userID == NULL) { in __s_api_getDefaultAuth()
1589 (*authp)->cred.unix_cred.userID = AdminCred->userID; in __s_api_getDefaultAuth()
1590 AdminCred->userID = NULL; 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()
2347 binddn = auth->cred.unix_cred.userID; in doSimpleBind()
2462 binddn = auth->cred.unix_cred.userID; in doSASLBind()
H A Dns_sldap.h148 char *userID; /* Unix ID number */ member
H A Dns_standalone.c1137 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()
H A Dns_config.c3398 ptr->userID = (char *)strdup(value); in SetDoorInfoToUnixCred()
/titanic_50/usr/src/cmd/logins/
H A Dlogins.c374 uid_t userID; /* User ID */ member
402 displayhead->userID = (uid_t)-1; in initdisp()
462 new->userID = pwent->pw_uid; in adddisp()
479 if (current->userID > pwent->pw_uid) { in adddisp()
527 for (dp = displayhead->nextuid; dp && (dp->userID < pwent->pw_uid); in isuidindisp()
536 return (dp && (dp->userID == pwent->pw_uid)); in isuidindisp()
860 current->userID, in writeunformatted()
929 current->loginID, current->userID, in writeformatted()
/titanic_50/usr/src/lib/pam_modules/ldap/
H A Dldap_utils.c113 credp->cred.unix_cred.userID = strdup(binddn); in authenticate()
115 if ((credp->cred.unix_cred.userID == NULL) || in authenticate()
/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()
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()
/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()
/titanic_50/usr/src/cmd/ldap/ns_ldap/
H A Dldapaddent.c4165 if (authority.cred.unix_cred.userID == NULL || in dumptable()
4288 authority.cred.unix_cred.userID = NULL; in main()
4332 authority.cred.unix_cred.userID = strdup(optarg); in main()
4393 authority.cred.unix_cred.userID == NULL && in main()
4406 authority.cred.unix_cred.userID != NULL)) { in main()
4415 standalone_cfg.SA_BIND_DN = authority.cred.unix_cred.userID; in main()
4461 authority.cred.unix_cred.userID != NULL) { in main()
4474 authority.cred.unix_cred.userID = NULL; in main()
/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)
/titanic_50/usr/src/lib/passwdutil/
H A Dldap_attr.c1005 credp->cred.unix_cred.userID = strdup(binddn); in ldap_replaceattr()