Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/nsswitch/ldap/common/
H A Dgetexecattr.c126 ns_ldap_attr_t *attrptr; in _exec_ldap_exec2ent() local
142 attrptr = entry->attr_pair[i]; in _exec_ldap_exec2ent()
143 if (attrptr == NULL) { in _exec_ldap_exec2ent()
146 if (strcasecmp(attrptr->attrname, _EXEC_NAME) == 0) { in _exec_ldap_exec2ent()
147 if ((attrptr->attrvalue[0] == NULL) || in _exec_ldap_exec2ent()
148 (len = strlen(attrptr->attrvalue[0])) < 1) { in _exec_ldap_exec2ent()
156 (void) strcpy(exec->name, attrptr->attrvalue[0]); in _exec_ldap_exec2ent()
159 if (strcasecmp(attrptr->attrname, _EXEC_POLICY) == 0) { in _exec_ldap_exec2ent()
160 if ((attrptr->attrvalue[0] == NULL) || in _exec_ldap_exec2ent()
161 (len = strlen(attrptr->attrvalue[0])) < 1) { in _exec_ldap_exec2ent()
[all …]
/titanic_41/usr/src/cmd/ldap/ns_ldap/
H A Dldapaddent.c791 ns_ldap_attr_t *attrptr = NULL, in dump_hosts() local
801 attrptr = res->entry->attr_pair[i]; in dump_hosts()
802 if (strcasecmp(attrptr->attrname, "cn") == 0) in dump_hosts()
803 cn = attrptr; in dump_hosts()
804 else if (strcasecmp(attrptr->attrname, "iphostnumber") == 0) in dump_hosts()
805 iphostnumber = attrptr; in dump_hosts()
806 else if (strcasecmp(attrptr->attrname, "description") == 0) { in dump_hosts()
807 desc = attrptr; in dump_hosts()
1013 ns_ldap_attr_t *attrptr = NULL, *cn = NULL, *rpcnumber = NULL; in dump_rpc() local
1020 attrptr = res->entry->attr_pair[i]; in dump_rpc()
[all …]
/titanic_41/usr/src/lib/libsldap/common/
H A Dns_common.c2236 __s_api_get_canonical_name(ns_ldap_entry_t *entry, ns_ldap_attr_t *attrptr, in __s_api_get_canonical_name() argument
2244 if (entry == NULL || attrptr == NULL) in __s_api_get_canonical_name()
2266 if (strcasecmp(token, attrptr->attrname) == 0) { in __s_api_get_canonical_name()
2281 for (i = 0; i < attrptr->value_count; i++) { in __s_api_get_canonical_name()
2282 if (attrptr->attrvalue[i] && in __s_api_get_canonical_name()
2284 attrptr->attrvalue[i]) == 0) { in __s_api_get_canonical_name()
2286 value = attrptr->attrvalue[i]; in __s_api_get_canonical_name()
H A Dllib-lsldap199 ns_ldap_attr_t *attrptr,
H A Dns_internal.h932 ns_ldap_attr_t *attrptr, int case_ignore);