Lines Matching defs:attrname
375 attr[k]->attrname);
388 attr[k]->attrname);
392 mods[i]->mod_type = strdup(attr[k]->attrname);
437 strcasecmp(attr[k]->attrname, "gecos") == 0 &&
1611 __s_add_attr(ns_ldap_entry_t *e, char *attrname, char *value)
1619 a->attrname = strdup(attrname);
1620 if (a->attrname == NULL) {
1626 free(a->attrname);
1633 free(a->attrname);
1645 __s_add_attrlist(ns_ldap_entry_t *e, char *attrname, char **argv)
1655 a->attrname = strdup(attrname);
1656 if (a->attrname == NULL) {
1667 free(a->attrname);
1676 free(a->attrname);
3064 new_attrlist[0]->attrname = "objectclass";
3097 if ((strcasecmp(aptr2->attrname, "cn") != 0) &&
3098 (strcasecmp(aptr2->attrname,
4271 strcasecmp(a->attrname, "objectclass") == 0))
4302 if (a->attrname == NULL || a->attrvalue == NULL ||
4311 strcasecmp(a->attrname, "objectclass") == 0)
4315 * For each value, write the attrname + attrvalue
4321 ao += strlen(a->attrname) + 1;
4325 (void) strlcpy(ap, a->attrname, bufsize);