Searched defs:attrname (Results 1 - 18 of 18) sorted by relevance

/illumos-gate/usr/src/lib/nsswitch/ldap/common/
H A Dgetprinter.c72 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...]
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Devents.c382 char *attrname; local
390 attrname = nvpair_name(nvp);
394 (void) fprintf(stderr, "%s%s: %s\n", prefix, attrname, str);
399 (void) fprintf(stderr, "%s%s:\n", prefix, attrname);
407 (void) fprintf(stderr, "%s%s: %u\n", prefix, attrname, ui32);
413 (void) fprintf(stderr, "%s%s: %lu\n", prefix, attrname, ui64);
415 (void) fprintf(stderr, "%s%s: %llu\n", prefix, attrname, ui64);
421 (void) fprintf(stderr, "%s%s: true\n", prefix, attrname);
426 attrname);
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_confmgr.c825 char *attrname; local
867 attrname = attr->attrname;
868 if (attrname == NULL)
870 if (strcasecmp(attrname, "objectclass") == 0) {
894 attrname = attr->attrname;
895 if (attrname == NULL)
897 if (__s_api_get_profiletype(attrname, &index) != 0)
H A Dns_writes.c323 attr[k]->attrname);
336 attr[k]->attrname);
340 mods[i]->mod_type = strdup(attr[k]->attrname);
385 strcasecmp(attr[k]->attrname, "gecos") == 0 &&
1435 __s_add_attr(ns_ldap_entry_t *e, char *attrname, char *value) argument
1443 a->attrname = strdup(attrname);
1444 if (a->attrname == NULL)
1461 __s_add_attrlist(ns_ldap_entry_t *e, char *attrname, char **argv) argument
1471 a->attrname
[all...]
H A Dns_reads.c67 if (ep->attr_pair[j]->attrname)
68 free(ep->attr_pair[j]->attrname);
414 if ((ap[0]->attrname = strdup("dn")) == NULL) {
493 if ((ap[j]->attrname = strdup(attr)) == NULL) {
511 ap[j]->attrname = strdup(attr);
514 ap[j]->attrname = strdup(mapping[0]);
516 if (ap[j]->attrname == NULL) {
641 schema_mapping_existed && ap[j]->attrname &&
642 strcasecmp(ap[j]->attrname, "objectclass") == 0) {
766 ap[nAttrs]->attrname
4103 __ns_ldap_getAttr(const ns_ldap_entry_t *entry, const char *attrname) argument
4117 __ns_ldap_getAttrStruct(const ns_ldap_entry_t *entry, const char *attrname) argument
[all...]
H A Dns_sldap.h393 char *attrname; /* attribute name */ member in struct:ns_ldap_attr
859 const char *attrname);
863 const char *attrname);
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dpolicy.c490 newprop(xmlNodePtr node, char *attrname, char *src) argument
495 newattr = xmlNewProp(node, (const xmlChar *)attrname,
/illumos-gate/usr/src/lib/auditd_plugins/syslog/
H A Dsysplugin.c228 fromleft(char *p, size_t avail, char *attrname, size_t attrlen, char *txt, argument
236 (void) memcpy(p, attrname, attrlen);
255 fromright(char *p, size_t avail, char *attrname, size_t attrlen, char *txt, argument
263 (void) memcpy(p, attrname, attrlen);
/illumos-gate/usr/src/cmd/idmap/idmapd/
H A Dadutils.c817 const char *attrname; local
820 attrname = (is_user) ?
822 if (attrname == NULL)
831 is_wuser ? "user" : "group", attrname, s_unixname);
843 if ((*attr = strdup(attrname)) == NULL)
866 const char *attrname; local
871 attrname = UIDNUMBER;
874 attrname = GIDNUMBER;
884 if ((*attr = strdup(attrname)) == NULL)
/illumos-gate/usr/src/cmd/chmod/
H A Dchmod.c148 sec_args_t *secp, attr_name_t *attrname);
920 * attrname. Build an nvlist of attribute names and values and call setattrat()
926 set_file_attrs(char *file, char *attrname, nvlist_t *attr_nvlist) argument
931 if (attrname != NULL) {
932 filename = attrname;
953 (attrname == NULL) ? "" : gettext("attribute "),
954 (attrname == NULL) ? "" : attrname,
955 (attrname == NULL) ? "" : gettext(" of "),
998 set_named_attrs(char *file, int parentfd, char *attrname, nvlist_ argument
[all...]
/illumos-gate/usr/src/cmd/ldap/common/
H A Dldapsearch.c46 static void write_string_attr_value( char *attrname, char *strval,
1093 write_string_attr_value( char *attrname, char *strval, unsigned long opts ) argument
1099 write_ldif_value( attrname, strval, strlen( strval ), 0 );
1103 printf( "%s%s%s\n", attrname, sep, strval );
/illumos-gate/usr/src/lib/libadutils/common/
H A Dadutils.c1110 adutils_getattr(const adutils_entry_t *entry, const char *attrname) argument
1120 strcasecmp(ap->attr_name, attrname) == 0)
/illumos-gate/usr/src/lib/libnisdb/
H A Dnis_db.cc56 nis_attr *attrname, entry_obj * newobj,
339 db_first_entry(char * table_name, int numattrs, nis_attr * attrname) argument
353 numattrs, attrname);
410 __db_list_entries(char * table_name, int numattrs, nis_attr * attrname, argument
425 numattrs, attrname);
441 db_list_entries(char *table_name, int numattrs, nis_attr *attrname) { argument
442 return (__db_list_entries(table_name, numattrs, attrname, TRUE));
1587 db_add_entry_x(char * tab, int numattrs, nis_attr * attrname, argument
1606 numattrs, attrname);
1622 db_add_entry(char * tab, int numattrs, nis_attr * attrname, argument
1629 __db_add_entry_nolog(char * tab, int numattrs, nis_attr * attrname, entry_obj * newobj) argument
1636 __db_add_entry_nosync(char * tab, int numattrs, nis_attr * attrname, entry_obj * newobj) argument
1649 db_remove_entry_x(char * table_name, int num_attrs, nis_attr * attrname, int nosync) argument
1688 db_remove_entry(char * table_name, int num_attrs, nis_attr * attrname) argument
1694 __db_remove_entry_nosync(char * table_name, int num_attrs, nis_attr * attrname) argument
[all...]
/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_backup_reader.c650 char *attrname; local
676 attrname = ndmp_malloc(TLM_MAX_PATH_NAME);
678 if (attrname == NULL || snapname == NULL) {
734 (void) snprintf(attrname, TLM_MAX_PATH_NAME, "/dev/null/%s",
736 (void) output_file_header(attrname, "", tlm_acls, 0,
832 free(attrname);
/illumos-gate/usr/src/cmd/ldap/ns_ldap/
H A Dldapaddent.c245 __s_add_attr(ns_ldap_entry_t *e, char *attrname, char *value) argument
253 a->attrname = strdup(attrname);
254 if (a->attrname == NULL) {
260 free(a->attrname);
268 free(a->attrname);
280 __s_add_attrlist(ns_ldap_entry_t *e, char *attrname, char **argv) argument
290 a->attrname = strdup(attrname);
291 if (a->attrname
[all...]
/illumos-gate/usr/src/cmd/cpio/
H A Dcpio.c198 char *attrname, char typeflag, struct Lnk *linkinfo, int *rlen);
1778 char *attrname; local
1782 attrname = Gen.g_attrnam_p;
1783 if (attrname) {
1793 (attrname == NULL) ? "" : gettext(" attribute "),
1794 (attrname == NULL) ? "" : attrname,
1795 (attrname == NULL) ? fromname : newname,
1796 (attrname == NULL) ? "" : gettext(" attribute "),
1797 (attrname
3861 verify_attr(char *attrname, char *attrparent, int arc_rwsysattr, int *rw_sysattr) argument
4087 open_attr_dir(char *attrname, char *dirp, int cwd, char *attr_parent, int *attr_parentfd, int *rw_sysattr) argument
[all...]
/illumos-gate/usr/src/cmd/tar/
H A Dtar.c407 char attrname[MAXNAM+1]; member in struct:linkbuf
1720 * Verify the attribute, attrname, is an attribute we want to restore.
1728 * attrname - attribute file name
1733 verify_attr(char *attrname, char *attrparent, int arc_rwsysattr, argument
1740 if ((attr_supported = sysattr_type(attrname)) == _RO_SATTR) {
1751 if (*rw_sysattr = is_sysattr(attrname)) {
2794 * containing the specified attribute, attrname, is opened.
2802 * attrname = '.'
2805 * attrname = <attr> | <sys_attr>
2810 * attrname
2841 open_attr_dir(char *attrname, char *dirp, int cwd, attr_data_t *attrinfo) argument
7730 prepare_xattr( char **attrbuf, char *filename, char *attrname, char typeflag, struct linkbuf *linkinfo, int *rlen) argument
[all...]
/illumos-gate/usr/src/lib/libzonecfg/common/
H A Dlibzonecfg.c1642 newprop(xmlNodePtr node, const xmlChar *attrname, char *src) argument
1646 newattr = xmlNewProp(node, attrname, (xmlChar *)src);
6046 const char *attrname = arg; local
6052 return (strcmp(rctlname, attrname) == 0 ? 1 : 0);

Completed in 119 milliseconds