Lines Matching defs:cn

753 		    gettext("Adding entry : cn=%s+ipHostNumber=%s\n"),
765 gettext("Entry: cn=%s+ipHostNumber=%s "
771 gettext("Entry: cn=%s+ipHostNumber=%s"
791 *cn = NULL,
801 if (strcasecmp(attrptr->attrname, "cn") == 0)
802 cn = attrptr;
810 if (cn == NULL || cn->attrvalue == NULL || cn->attrvalue[0] == NULL ||
815 if ((name = __s_api_get_canonical_name(res->entry, cn, 1)) == NULL)
830 for (j = 0; j < cn->value_count; j++) {
831 if (cn->attrvalue[j]) {
832 if (strcasecmp(name, cn->attrvalue[j]) == 0)
835 (void) fprintf(stdout, "%s ", cn->attrvalue[j]);
1012 ns_ldap_attr_t *attrptr = NULL, *cn = NULL, *rpcnumber = NULL;
1020 if (strcasecmp(attrptr->attrname, "cn") == 0)
1021 cn = attrptr;
1026 if (cn == NULL || cn->attrvalue == NULL || cn->attrvalue[0] == NULL ||
1031 if ((name = __s_api_get_canonical_name(res->entry, cn, 1)) == NULL)
1045 for (j = 0; j < cn->value_count; j++) {
1046 if (cn->attrvalue[j]) {
1047 if (strcasecmp(name, cn->attrvalue[j]) == 0)
1050 (void) fprintf(stdout, "%s ", cn->attrvalue[j]);
1222 ns_ldap_attr_t *attrptr = NULL, *cn = NULL, *protocolnumber = NULL;
1230 if (strcasecmp(attrptr->attrname, "cn") == 0)
1231 cn = attrptr;
1237 if (cn == NULL || cn->attrvalue == NULL || cn->attrvalue[0] == NULL ||
1242 if ((name = __s_api_get_canonical_name(res->entry, cn, 1)) == NULL)
1255 for (j = 0; j < cn->value_count; j++) {
1256 if (cn->attrvalue[j]) {
1257 if (strcasecmp(name, cn->attrvalue[j]) == 0) {
1258 if (cn->value_count > 1)
1264 for (cp = cn->attrvalue[j]; *cp; cp++)
1267 (void) fprintf(stdout, "%s ", cn->attrvalue[j]);
1444 ns_ldap_attr_t *attrptr = NULL, *cn = NULL, *networknumber = NULL;
1452 if (strcasecmp(attrptr->attrname, "cn") == 0)
1453 cn = attrptr;
1459 if (cn == NULL || cn->attrvalue == NULL || cn->attrvalue[0] == NULL ||
1465 * cn can be a MUST attribute(RFC 2307) or MAY attribute(2307bis).
1471 if ((name = __s_api_get_canonical_name(res->entry, cn, 1)) == NULL)
1472 name = cn->attrvalue[0];
1483 for (j = 0; j < cn->value_count; j++) {
1484 if (cn->attrvalue[j]) {
1485 if (strcasecmp(name, cn->attrvalue[j]) == 0)
1488 (void) fprintf(stdout, "%s ", cn->attrvalue[j]);
1655 "Entry: cn=%s+ipServiceProtocol=%s"
1661 gettext("Entry: cn=%s+ipServiceProtocol=%s"
1680 ns_ldap_attr_t *attrptr = NULL, *cn = NULL, *port = NULL;
1686 * cn can have multiple values.(service name and its aliases)
1698 if (strcasecmp(attrptr->attrname, "cn") == 0)
1699 cn = attrptr;
1707 if (cn == NULL || cn->attrvalue == NULL || cn->attrvalue[0] == NULL ||
1713 if ((name = __s_api_get_canonical_name(res->entry, cn, 1)) == NULL)
1731 for (j = 0; j < cn->value_count; j++) {
1732 if (cn->attrvalue[j]) {
1733 if (strcasecmp(name, cn->attrvalue[j]) == 0)
1736 (void) fprintf(stdout, "%s ", cn->attrvalue[j]);
1914 value = __ns_ldap_getAttr(res->entry, "cn");
2062 value = __ns_ldap_getAttr(res->entry, "cn");
2446 value = __ns_ldap_getAttr(res->entry, "cn");
2795 value = __ns_ldap_getAttr(res->entry, "cn");
3890 value = __ns_ldap_getAttr(res->entry, "cn");
4036 filedbmline_comment, "iphost", "cn" },
4038 filedbmline_comment, "iphost", "cn" },
4040 filedbmline_comment, "oncrpc", "cn" },
4042 filedbmline_comment, "ipprotocol", "cn" },
4046 filedbmline_comment, "ipservice", "cn" },
4052 filedbmline_comment, "ieee802Device", "cn" },
4054 filedbmline_comment, "nisnetgroup", "cn" },
4056 filedbmline_comment, "bootableDevice", "cn" },
4058 filedbmline_comment, "niskeyobject", "cn" },
4064 filedbmline_plus, "mailGroup", "cn" },
4070 filedbmline_comment, "SolarisProfAttr", "cn" },
4072 filedbmline_comment, "SolarisExecAttr", "cn" },
4074 filedbmline_comment, "SolarisAuthAttr", "cn" },