/osnet-11/usr/src/lib/nsswitch/ldap/common/ |
H A D | getprinter.c | 72 char **name, *attrname; local 135 if (strcasecmp(attr->attrname, "sun-printer-kvp") == 0) { 154 if (strcasecmp(attr->attrname, "printer-name") == 0 || 155 strcasecmp(attr->attrname, "dn") == 0 || 156 strcasecmp(attr->attrname, 158 strcasecmp(attr->attrname, 160 strcasecmp(attr->attrname, 163 if (strcasecmp(attr->attrname, "printer-name") == 0) 170 if (strcmp(attr->attrname, "sun-printer-bsdaddr") 172 attrname [all...] |
H A D | getgrent.c | 724 char *attrname; local 766 attrname = entry->attr_pair[j]->attrname; 767 if (strcasecmp(attrname, mapped_attr) == 0) { 768 if (strlen(attrname) < strlen(gr_attrs4[i])) { 769 free(attrname); 770 entry->attr_pair[j]->attrname = NULL; 771 attrname = strdup(gr_attrs4[i]); 772 if (attrname == NULL) { 776 entry->attr_pair[j]->attrname [all...] |
/osnet-11/usr/src/lib/libdiskmgt/common/ |
H A D | events.c | 378 char *attrname; local 386 attrname = nvpair_name(nvp); 390 (void) fprintf(stderr, "%s%s: %s\n", prefix, attrname, str); 395 (void) fprintf(stderr, "%s%s:\n", prefix, attrname); 403 (void) fprintf(stderr, "%s%s: %u\n", prefix, attrname, ui32); 409 (void) fprintf(stderr, "%s%s: %lu\n", prefix, attrname, ui64); 411 (void) fprintf(stderr, "%s%s: %llu\n", prefix, attrname, ui64); 417 (void) fprintf(stderr, "%s%s: true\n", prefix, attrname); 422 attrname);
|
/osnet-11/usr/src/lib/libsldap/common/ |
H A D | ns_confmgr.c | 828 char *attrname; local 870 attrname = attr->attrname; 871 if (attrname == NULL) 873 if (strcasecmp(attrname, "objectclass") == 0) { 897 attrname = attr->attrname; 898 if (attrname == NULL) 900 if (__s_api_get_profiletype(attrname, &index) != 0)
|
H A D | ns_writes.c | 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) argument 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) argument [all...] |
H A D | ns_sldap.h | 417 char *attrname; /* attribute name */ member in struct:ns_ldap_attr 957 const char *attrname); 961 const char *attrname);
|
H A D | ns_reads.c | 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 1230 char *attrname; local 5094 __ns_ldap_getAttr(const ns_ldap_entry_t *entry, const char *attrname) argument 5108 __ns_ldap_getAttrStruct(const ns_ldap_entry_t *entry, const char *attrname) argument [all...] |
/osnet-11/usr/src/lib/libkmf/libkmf/common/ |
H A D | policy.c | 490 newprop(xmlNodePtr node, char *attrname, char *src) argument 495 newattr = xmlNewProp(node, (const xmlChar *)attrname,
|
/osnet-11/usr/src/lib/auditd_plugins/syslog/ |
H A D | sysplugin.c | 201 fromleft(char *p, size_t avail, char *attrname, size_t attrlen, char *txt, argument 209 (void) memcpy(p, attrname, attrlen); 228 fromright(char *p, size_t avail, char *attrname, size_t attrlen, char *txt, argument 236 (void) memcpy(p, attrname, attrlen);
|
/osnet-11/usr/src/lib/libshare/common/ |
H A D | libshare_upgrade.c | 318 char *attrname, *str; local 322 attrname = nvpair_name(nvp); 326 salog_debug(0, "%*s%s: %s", ident, "", attrname, str); 329 attrname, str); 343 salog_debug(0, "%s: UNSUPPORTED TYPE\n", attrname); 346 attrname);
|
/osnet-11/usr/src/lib/libnisdb/ |
H A D | nis_db.cc | 51 nis_attr *attrname, entry_obj * newobj, 334 db_first_entry(char * table_name, int numattrs, nis_attr * attrname) argument 348 numattrs, attrname); 405 __db_list_entries(char * table_name, int numattrs, nis_attr * attrname, argument 420 numattrs, attrname); 436 db_list_entries(char *table_name, int numattrs, nis_attr *attrname) { argument 437 return (__db_list_entries(table_name, numattrs, attrname, TRUE)); 1581 db_add_entry_x(char * tab, int numattrs, nis_attr * attrname, argument 1600 numattrs, attrname); 1616 db_add_entry(char * tab, int numattrs, nis_attr * attrname, argument 1623 __db_add_entry_nolog(char * tab, int numattrs, nis_attr * attrname, entry_obj * newobj) argument 1630 __db_add_entry_nosync(char * tab, int numattrs, nis_attr * attrname, entry_obj * newobj) argument 1643 db_remove_entry_x(char * table_name, int num_attrs, nis_attr * attrname, int nosync) argument 1682 db_remove_entry(char * table_name, int num_attrs, nis_attr * attrname) argument 1688 __db_remove_entry_nosync(char * table_name, int num_attrs, nis_attr * attrname) argument [all...] |
/osnet-11/usr/src/lib/libadutils/common/ |
H A D | adutils.c | 1117 adutils_getattr(const adutils_entry_t *entry, const char *attrname) argument 1127 strcasecmp(ap->attr_name, attrname) == 0)
|
/osnet-11/usr/src/cmd/ldap/common/ |
H A D | ldapsearch.c | 45 static void write_string_attr_value( char *attrname, char *strval, 1092 write_string_attr_value( char *attrname, char *strval, unsigned long opts ) argument 1098 write_ldif_value( attrname, strval, strlen( strval ), 0 ); 1102 printf( "%s%s%s\n", attrname, sep, strval );
|
/osnet-11/usr/src/cmd/ldap/ns_ldap/ |
H A D | ldapaddent.c | 244 __s_add_attr(ns_ldap_entry_t *e, char *attrname, char *value) argument 252 a->attrname = strdup(attrname); 253 if (a->attrname == NULL) { 259 free(a->attrname); 267 free(a->attrname); 279 __s_add_attrlist(ns_ldap_entry_t *e, char *attrname, char **argv) argument 289 a->attrname = strdup(attrname); 290 if (a->attrname [all...] |
/osnet-11/usr/src/lib/libzonecfg/common/ |
H A D | libzonecfg.c | 2125 newprop(zone_dochandle_t handle, xmlNodePtr node, const xmlChar *attrname, argument 2136 err = can_set_prop(handle, dtd_to_rt(node->name), (char *)attrname, 2153 (char *)attrname, &fixed_val) != 0) { 2167 newattr = xmlNewProp(node, attrname, (xmlChar *)src); 7144 const char *attrname = arg; local 7150 return (strcmp(rctlname, attrname) == 0 ? 1 : 0);
|