Lines Matching refs:attrname
70 char **name, *attrname; in _nss_ldap_printers2str() local
133 if (strcasecmp(attr->attrname, "sun-printer-kvp") == 0) { in _nss_ldap_printers2str()
151 if (strcasecmp(attr->attrname, "printer-name") == 0 || in _nss_ldap_printers2str()
152 strcasecmp(attr->attrname, "dn") == 0 || in _nss_ldap_printers2str()
153 strcasecmp(attr->attrname, in _nss_ldap_printers2str()
155 strcasecmp(attr->attrname, in _nss_ldap_printers2str()
157 strcasecmp(attr->attrname, in _nss_ldap_printers2str()
160 if (strcasecmp(attr->attrname, "printer-name") == 0) in _nss_ldap_printers2str()
167 if (strcmp(attr->attrname, "sun-printer-bsdaddr") in _nss_ldap_printers2str()
169 attrname = "bsdaddr"; in _nss_ldap_printers2str()
171 else if (strcmp(attr->attrname, "printer-info") in _nss_ldap_printers2str()
173 attrname = "description"; in _nss_ldap_printers2str()
174 else if (strcmp(attr->attrname, "sunwpr-support") in _nss_ldap_printers2str()
176 attrname = "itopssupported"; in _nss_ldap_printers2str()
177 else if (strncmp(attr->attrname, PRINTER_PREFIX, plen) in _nss_ldap_printers2str()
179 attrname = attr->attrname + plen; in _nss_ldap_printers2str()
180 else if (strncmp(attr->attrname, SUNWPR_PREFIX, slen) in _nss_ldap_printers2str()
182 attrname = attr->attrname + slen; in _nss_ldap_printers2str()
185 attrname = attr->attrname; in _nss_ldap_printers2str()
191 len = snprintf(buffer, buflen, ":%s=", attrname); in _nss_ldap_printers2str()