Home
last modified time | relevance | path

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

/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()
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()
316 strlen(ap->cred.unix_cred.userID)); in __ns_ldap_freeCred()
317 free(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.h149 char *userID; /* Unix ID number */ member
820 char **userID,
H A Dns_standalone.c1138 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()
H A Dns_config.c3395 ptr->userID = (char *)strdup(value); in SetDoorInfoToUnixCred()
/illumos-gate/usr/src/cmd/logins/
H A Dlogins.c371 uid_t userID; /* User ID */ member
399 displayhead->userID = (uid_t)-1; in initdisp()
459 new->userID = pwent->pw_uid; in adddisp()
476 if (current->userID > pwent->pw_uid) { in adddisp()
524 for (dp = displayhead->nextuid; dp && (dp->userID < pwent->pw_uid); in isuidindisp()
533 return (dp && (dp->userID == pwent->pw_uid)); in isuidindisp()
857 current->userID, in writeunformatted()
926 current->loginID, current->userID, in writeformatted()
/illumos-gate/usr/src/lib/pam_modules/ldap/
H A Dldap_utils.c111 credp->cred.unix_cred.userID = strdup(binddn); in authenticate()
113 if ((credp->cred.unix_cred.userID == NULL) || in authenticate()
/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()
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()
/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()
/illumos-gate/usr/src/cmd/ldap/ns_ldap/
H A Dldapaddent.c4167 if (authority.cred.unix_cred.userID == NULL || in dumptable()
4290 authority.cred.unix_cred.userID = NULL; in main()
4334 authority.cred.unix_cred.userID = strdup(optarg); in main()
4395 authority.cred.unix_cred.userID == NULL && in main()
4408 authority.cred.unix_cred.userID != NULL)) { in main()
4417 standalone_cfg.SA_BIND_DN = authority.cred.unix_cred.userID; in main()
4463 authority.cred.unix_cred.userID != NULL) { in main()
4476 authority.cred.unix_cred.userID = NULL; in main()
/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)
/illumos-gate/usr/src/lib/passwdutil/
H A Dldap_attr.c1006 credp->cred.unix_cred.userID = strdup(binddn); in ldap_replaceattr()