Lines Matching refs:unix_cred
222 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()
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()
321 (void) memset(ap->cred.unix_cred.passwd, 0, in __ns_ldap_freeCred()
322 strlen(ap->cred.unix_cred.passwd)); in __ns_ldap_freeCred()
323 free(ap->cred.unix_cred.passwd); in __ns_ldap_freeCred()
359 ((auth1->cred.unix_cred.userID == NULL) || in __s_api_is_auth_matched()
360 (auth1->cred.unix_cred.passwd == NULL) || in __s_api_is_auth_matched()
361 ((strcasecmp(auth1->cred.unix_cred.userID, in __s_api_is_auth_matched()
362 auth2->cred.unix_cred.userID) != 0)) || in __s_api_is_auth_matched()
363 ((strcmp(auth1->cred.unix_cred.passwd, in __s_api_is_auth_matched()
364 auth2->cred.unix_cred.passwd) != 0)))) in __s_api_is_auth_matched()