Lines Matching refs:cn

754 		    gettext("Adding entry : cn=%s+ipHostNumber=%s\n"),
766 gettext("Entry: cn=%s+ipHostNumber=%s "
772 gettext("Entry: cn=%s+ipHostNumber=%s"
792 *cn = NULL,
802 if (strcasecmp(attrptr->attrname, "cn") == 0)
803 cn = attrptr;
811 if (cn == NULL || cn->attrvalue == NULL || cn->attrvalue[0] == NULL ||
816 if ((name = __s_api_get_canonical_name(res->entry, cn, 1)) == NULL)
831 for (j = 0; j < cn->value_count; j++) {
832 if (cn->attrvalue[j]) {
833 if (strcasecmp(name, cn->attrvalue[j]) == 0)
836 (void) fprintf(stdout, "%s ", cn->attrvalue[j]);
1013 ns_ldap_attr_t *attrptr = NULL, *cn = NULL, *rpcnumber = NULL;
1021 if (strcasecmp(attrptr->attrname, "cn") == 0)
1022 cn = attrptr;
1027 if (cn == NULL || cn->attrvalue == NULL || cn->attrvalue[0] == NULL ||
1032 if ((name = __s_api_get_canonical_name(res->entry, cn, 1)) == NULL)
1046 for (j = 0; j < cn->value_count; j++) {
1047 if (cn->attrvalue[j]) {
1048 if (strcasecmp(name, cn->attrvalue[j]) == 0)
1051 (void) fprintf(stdout, "%s ", cn->attrvalue[j]);
1223 ns_ldap_attr_t *attrptr = NULL, *cn = NULL, *protocolnumber = NULL;
1231 if (strcasecmp(attrptr->attrname, "cn") == 0)
1232 cn = attrptr;
1238 if (cn == NULL || cn->attrvalue == NULL || cn->attrvalue[0] == NULL ||
1243 if ((name = __s_api_get_canonical_name(res->entry, cn, 1)) == NULL)
1256 for (j = 0; j < cn->value_count; j++) {
1257 if (cn->attrvalue[j]) {
1258 if (strcasecmp(name, cn->attrvalue[j]) == 0) {
1259 if (cn->value_count > 1)
1265 for (cp = cn->attrvalue[j]; *cp; cp++)
1268 (void) fprintf(stdout, "%s ", cn->attrvalue[j]);
1445 ns_ldap_attr_t *attrptr = NULL, *cn = NULL, *networknumber = NULL;
1453 if (strcasecmp(attrptr->attrname, "cn") == 0)
1454 cn = attrptr;
1460 if (cn == NULL || cn->attrvalue == NULL || cn->attrvalue[0] == NULL ||
1466 * cn can be a MUST attribute(RFC 2307) or MAY attribute(2307bis).
1472 if ((name = __s_api_get_canonical_name(res->entry, cn, 1)) == NULL)
1473 name = cn->attrvalue[0];
1484 for (j = 0; j < cn->value_count; j++) {
1485 if (cn->attrvalue[j]) {
1486 if (strcasecmp(name, cn->attrvalue[j]) == 0)
1489 (void) fprintf(stdout, "%s ", cn->attrvalue[j]);
1656 "Entry: cn=%s+ipServiceProtocol=%s"
1662 gettext("Entry: cn=%s+ipServiceProtocol=%s"
1681 ns_ldap_attr_t *attrptr = NULL, *cn = NULL, *port = NULL;
1687 * cn can have multiple values.(service name and its aliases)
1699 if (strcasecmp(attrptr->attrname, "cn") == 0)
1700 cn = attrptr;
1708 if (cn == NULL || cn->attrvalue == NULL || cn->attrvalue[0] == NULL ||
1714 if ((name = __s_api_get_canonical_name(res->entry, cn, 1)) == NULL)
1732 for (j = 0; j < cn->value_count; j++) {
1733 if (cn->attrvalue[j]) {
1734 if (strcasecmp(name, cn->attrvalue[j]) == 0)
1737 (void) fprintf(stdout, "%s ", cn->attrvalue[j]);
1915 value = __ns_ldap_getAttr(res->entry, "cn");
2063 value = __ns_ldap_getAttr(res->entry, "cn");
2447 value = __ns_ldap_getAttr(res->entry, "cn");
2796 value = __ns_ldap_getAttr(res->entry, "cn");
3891 value = __ns_ldap_getAttr(res->entry, "cn");
4037 filedbmline_comment, "iphost", "cn" },
4039 filedbmline_comment, "iphost", "cn" },
4041 filedbmline_comment, "oncrpc", "cn" },
4043 filedbmline_comment, "ipprotocol", "cn" },
4047 filedbmline_comment, "ipservice", "cn" },
4053 filedbmline_comment, "ieee802Device", "cn" },
4055 filedbmline_comment, "nisnetgroup", "cn" },
4057 filedbmline_comment, "bootableDevice", "cn" },
4059 filedbmline_comment, "niskeyobject", "cn" },
4065 filedbmline_plus, "mailGroup", "cn" },
4071 filedbmline_comment, "SolarisProfAttr", "cn" },
4073 filedbmline_comment, "SolarisExecAttr", "cn" },
4075 filedbmline_comment, "SolarisAuthAttr", "cn" },