Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_connect.c1502 UnixCred_t *AdminCred = NULL; in __s_api_getDefaultAuth() local
1570 AdminCred = calloc(1, sizeof (UnixCred_t)); in __s_api_getDefaultAuth()
1571 if (AdminCred == NULL) { in __s_api_getDefaultAuth()
1576 rc = requestAdminCred(&AdminCred, &errorp); in __s_api_getDefaultAuth()
1579 (void) __ns_ldap_freeUnixCred(&AdminCred); in __s_api_getDefaultAuth()
1584 if (AdminCred->userID == NULL) { in __s_api_getDefaultAuth()
1586 (void) __ns_ldap_freeUnixCred(&AdminCred); in __s_api_getDefaultAuth()
1589 (*authp)->cred.unix_cred.userID = AdminCred->userID; in __s_api_getDefaultAuth()
1590 AdminCred->userID = NULL; in __s_api_getDefaultAuth()
1611 (void) __ns_ldap_freeUnixCred(&AdminCred); in __s_api_getDefaultAuth()
[all …]