Searched refs:unix_cred (Results 1 – 15 of 15) sorted by relevance
378 struct authunix_parms *unix_cred; local384 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 …]
113 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()
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()[all …]
486 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 …]
1136 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()
169 UnixCred_t unix_cred; member
1231 cred->cred.unix_cred.passwd = modparamVal; in get_admin_passwd()
31 POFILE= unix_cred.po32 MSGFILES= unix_cred.c
28 OBJECTS= unix_cred.o
149 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 …]
601 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()
54 unix_cred \
4165 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 …]
1005 credp->cred.unix_cred.userID = strdup(binddn); in ldap_replaceattr()1006 credp->cred.unix_cred.passwd = strdup(pwd); in ldap_replaceattr()
1565 credp->cred.unix_cred.userID = strdup((char *)*paramVal);1567 if (credp->cred.unix_cred.userID == NULL)