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 …]
485 if (cred->cred.unix_cred.userID) in printCred()487 t, cred->cred.unix_cred.userID); in printCred()488 if (cred->cred.unix_cred.passwd) in printCred()490 t, cred->cred.unix_cred.passwd); in printCred()1587 (*authp)->cred.unix_cred.userID = AdminCred->userID; in __s_api_getDefaultAuth()1603 (*authp)->cred.unix_cred.userID = in __s_api_getDefaultAuth()1607 if ((*authp)->cred.unix_cred.userID == NULL) { in __s_api_getDefaultAuth()1656 (*authp)->cred.unix_cred.passwd = modparamVal; in __s_api_getDefaultAuth()2345 binddn = auth->cred.unix_cred.userID; in doSimpleBind()2346 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()2009 user_cred.cred.unix_cred.userID = sa_conf->SA_BIND_DN; in __ns_ldap_initStandalone()2014 user_cred.cred.unix_cred.passwd = sa_conf->SA_BIND_PWD; in __ns_ldap_initStandalone()
169 UnixCred_t unix_cred; member
1230 cred->cred.unix_cred.passwd = modparamVal; in get_admin_passwd()
31 POFILE= unix_cred.po32 MSGFILES= unix_cred.c
32 OBJECTS= unix_cred.o
148 nsc->cred.unix_cred.userID = strdup(user); in strings2cred()149 if (nsc->cred.unix_cred.userID == NULL) in strings2cred()154 nsc->cred.unix_cred.passwd = strdup(passwd); in strings2cred()155 if (nsc->cred.unix_cred.passwd == NULL) { in strings2cred()156 free(nsc->cred.unix_cred.userID); in strings2cred()334 if (p->nsc.cred.unix_cred.userID != NULL) { in idmap_fini_namemaps()335 free(p->nsc.cred.unix_cred.userID); in idmap_fini_namemaps()338 if (p->nsc.cred.unix_cred.passwd != NULL) { in idmap_fini_namemaps()340 (void) memset(p->nsc.cred.unix_cred.passwd, 0, in idmap_fini_namemaps()341 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()
51 unix_cred \
4166 if (authority.cred.unix_cred.userID == NULL || in dumptable()4167 authority.cred.unix_cred.passwd == NULL) in dumptable()4288 authority.cred.unix_cred.passwd = NULL; in main()4289 authority.cred.unix_cred.userID = NULL; in main()4333 authority.cred.unix_cred.userID = strdup(optarg); in main()4336 if (authority.cred.unix_cred.passwd) { in main()4349 authority.cred.unix_cred.passwd = strdup(optarg); in main()4352 if (authority.cred.unix_cred.passwd != NULL) { in main()4356 free(authority.cred.unix_cred.passwd); in main()4358 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)