Lines Matching defs:attrname
78 if (ep->attr_pair[j]->attrname)
79 free(ep->attr_pair[j]->attrname);
394 apair[i]->attrname =
396 if (apair[i]->attrname == NULL) {
742 ap[0]->attrname = strdup("dn");
743 if (ap[0]->attrname == NULL)
861 if ((ap[j]->attrname = strdup(attr)) == NULL) {
873 ap[j]->attrname = strdup(attr);
876 ap[j]->attrname = strdup(mapping[0]);
878 if (ap[j]->attrname == NULL) {
886 free(ap[j]->attrname);
887 ap[j]->attrname = NULL;
971 (strcasecmp(ap[j]->attrname, "member") == 0 ||
972 strcasecmp(ap[j]->attrname, "uniquemember") == 0 ||
973 strcasecmp(ap[j]->attrname, "memberof") == 0)) ||
975 strcasecmp(ap[j]->attrname, "memberof") == 0)) {
1038 schema_mapping_existed && ap[j]->attrname &&
1039 strcasecmp(ap[j]->attrname, "objectclass") == 0) {
1156 ap[nAttrs]->attrname = strdup("gecos");
1157 if (ap[nAttrs]->attrname == NULL) {
1230 char *attrname;
1245 attrname = attr->mapped_name;
1247 attrname = attr->attr_and_range;
1249 attrname[attr->attr_len] = '\0';
1257 if (strcasecmp(attrname, eAttr->attrname) == 0) {
1258 free(eAttr->attrname);
1272 attrname[attr->attr_len] = ';';
5094 __ns_ldap_getAttr(const ns_ldap_entry_t *entry, const char *attrname)
5101 if (strcasecmp(entry->attr_pair[i]->attrname, attrname) == NULL)
5108 __ns_ldap_getAttrStruct(const ns_ldap_entry_t *entry, const char *attrname)
5115 if (strcasecmp(entry->attr_pair[i]->attrname, attrname) == NULL)