Home
last modified time | relevance | path

Searched refs:rdn (Results 1 – 20 of 20) sorted by relevance

/titanic_41/usr/src/lib/libsldap/common/
H A Dns_writes.c642 __s_cvt_freeEntryRdn(ns_ldap_entry_t **entry, char **rdn) in __s_cvt_freeEntryRdn() argument
648 if (*rdn != NULL) { in __s_cvt_freeEntryRdn()
649 free(*rdn); in __s_cvt_freeEntryRdn()
650 *rdn = NULL; in __s_cvt_freeEntryRdn()
1525 __s_cvt_passwd(const void *data, char **rdn, in __s_cvt_passwd() argument
1543 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL) in __s_cvt_passwd()
1561 *rdn = strdup(trdn); in __s_cvt_passwd()
1562 if (*rdn == NULL) { in __s_cvt_passwd()
1571 __s_cvt_freeEntryRdn(entry, rdn); in __s_cvt_passwd()
1576 __s_cvt_freeEntryRdn(entry, rdn); in __s_cvt_passwd()
[all …]
H A Dns_common.c430 strlen(ns_def_map[i].rdn) + 1; in __s_api_getDNs()
440 ns_def_map[i].rdn); in __s_api_getDNs()
2240 char **rdn = NULL, **attrs = NULL, **values = NULL; in __s_api_get_canonical_name() local
2252 if ((rdn = ldap_explode_dn(values[0], 0)) == NULL || in __s_api_get_canonical_name()
2253 rdn[0] == NULL) in __s_api_get_canonical_name()
2256 if ((attrs = ldap_explode_rdn(rdn[0], 0)) == NULL) { in __s_api_get_canonical_name()
2257 ldap_value_free(rdn); in __s_api_get_canonical_name()
2292 ldap_value_free(rdn); in __s_api_get_canonical_name()
H A Dns_reads.c112 _cvtRDN(const char *service, const char *rdn) { in _cvtRDN() argument
118 if ((attrs = ldap_explode_rdn(rdn, 0)) == NULL) in _cvtRDN()
951 __s_api_remove_rdn_space(char *rdn) in __s_api_remove_rdn_space() argument
956 if (strchr(rdn, SPACETOK) == NULL) in __s_api_remove_rdn_space()
957 return (rdn); in __s_api_remove_rdn_space()
960 eqsign = strchr(rdn, '='); in __s_api_remove_rdn_space()
962 return (rdn); in __s_api_remove_rdn_space()
964 tf = rdn; in __s_api_remove_rdn_space()
967 vl = rdn + strlen(rdn) - 1; in __s_api_remove_rdn_space()
H A Dns_internal.h343 char *rdn; member
/titanic_41/usr/src/cmd/ldap/common/
H A Dldapmodrdn.c23 static int domodrdn( LDAP *ld, char *dn, char *rdn, char *newsuperior,
41 char *myname, *entrydn, *rdn, buf[ 4096 ]; in main() local
79 if (( rdn = strdup( argv[argc - 2] )) == NULL ) in main()
94 if (( rdn = strdup( argv[argc - 1] )) == NULL ) in main()
126 rc = domodrdn(ld, entrydn, rdn, L_newParent, remove_oldrdn); in main()
163 rc = domodrdn(ld, entrydn, rdn, L_newParent, remove_oldrdn); in main()
168 if (( rdn = strdup( buf )) == NULL ) in main()
191 rc = domodrdn(ld, entrydn, rdn, NULL, remove_oldrdn); in main()
198 rc = domodrdn(ld, entrydn, rdn, NULL, remove_oldrdn); in main()
223 domodrdn( LDAP *ld, char *dn, char *rdn, char *newsuperior, int remove_oldrdn ) in domodrdn() argument
[all …]
H A Dldaptest.c262 char passwd[64], dn[256], rdn[64], attr[64], value[256]; in main() local
604 getaline( rdn, sizeof(rdn), stdin, "newrdn? " ); in main()
608 if ((err = ldap_rename(ld, dn, rdn, NULL, delrdn, NULL,NULL, &id)) != LDAP_SUCCESS){ in main()
615 if ( (id = ldap_modrdn( ld, dn, rdn, delrdn )) == -1 ) in main()
/titanic_41/usr/src/lib/libnisdb/yptol/
H A Ddit_access_utils.c1510 getObjectClass(char *rdn) { in getObjectClass() argument
1516 for (p = rdn; *p == ' ' || *p == '\t'; p++); in getObjectClass()
1550 splitDN(char *dn, char **rdn, char **parentdn) { in splitDN() argument
1575 if (rdn) in splitDN()
1576 *rdn = name; in splitDN()
1770 char *parentdn = 0, *rdn = 0; in addParent() local
1774 if (splitDN(dn, &rdn, &parentdn) == -1) in addParent()
1777 sfree(rdn); in addParent()
1790 sfree(rdn); in addParent()
1805 sfree(rdn); in addParent()
[all …]
H A Ddit_access_utils.h74 extern const char *getObjectClass(char *rdn);
/titanic_41/usr/src/lib/libkmf/libkmf/common/
H A Drdn_parser.c435 KMF_X509_RDN rdn; in ParseDistinguishedName() local
443 rv = CreateRDN(ava, &rdn); in ParseDistinguishedName()
445 if (AddRDN(name, &rdn) != KMF_OK) goto loser; in ParseDistinguishedName()
/titanic_41/usr/src/lib/libldap5/sources/ldap/common/
H A Dgetdn.c345 ldap_explode_rdn( const char *rdn, const int notypes ) in ldap_explode_rdn() argument
347 return( ldap_explode( rdn, notypes, LDAP_RDN ) ); in ldap_explode_rdn()
H A Dllib-lldap153 char ** ldap_explode_rdn( const char *rdn, const int notypes );
/titanic_41/usr/src/lib/libdtrace/common/
H A Ddt_proc.c307 rd_notify_t rdn; in dt_proc_rdwatch() local
310 if ((err = rd_event_addr(dpr->dpr_rtld, event, &rdn)) != RD_OK) { in dt_proc_rdwatch()
316 if (rdn.type != RD_NOTIFY_BPT) { in dt_proc_rdwatch()
318 (int)dpr->dpr_pid, evname, rdn.type); in dt_proc_rdwatch()
322 (void) dt_proc_bpcreate(dpr, rdn.u.bptaddr, in dt_proc_rdwatch()
/titanic_41/usr/src/lib/libnisdb/
H A Dldap_op.c2625 char *rdn; in ldapChangeDN() local
2642 rdn = sdup(myself, T, dn); in ldapChangeDN()
2643 if (rdn == 0) { in ldapChangeDN()
2650 if (tolower(oldDn[i]) != tolower(rdn[j])) { in ldapChangeDN()
2657 rdn[j+1] = '\0'; in ldapChangeDN()
2662 stat = ldap_rename(lc->ld, oldDn, rdn, NULL, 1, NULL, NULL, &msgid); in ldapChangeDN()
2694 msgid = ldap_rename(lc->ld, oldDn, rdn, NULL, 1, NULL, NULL, in ldapChangeDN()
2721 myself, lc == NULL ? 0: lc->ld, NIL(oldDn), NIL(rdn), in ldapChangeDN()
2725 myself, lc == NULL ? 0: lc->ld, NIL(oldDn), NIL(rdn), in ldapChangeDN()
2739 sfree(rdn); in ldapChangeDN()
/titanic_41/usr/src/lib/libkmf/ber_der/common/
H A Dclasn1.c754 KMF_X509_RDN *rdn; in encode_rdn() local
766 rdn = &name->RelativeDistinguishedName[i]; in encode_rdn()
767 attrtvpair = rdn->AttributeTypeAndValue; in encode_rdn()
769 if (rdn->numberOfPairs > 0) { in encode_rdn()
802 KMF_X509_RDN *rdn, *dstrdn; in CopyRDN() local
822 rdn = &srcname->RelativeDistinguishedName[i]; in CopyRDN()
827 dstrdn->numberOfPairs = rdn->numberOfPairs; in CopyRDN()
845 srcav = &rdn->AttributeTypeAndValue[j]; in CopyRDN()
/titanic_41/usr/src/cmd/mdb/common/mdb/
H A Dmdb_proc.c468 rd_notify_t rdn; in pt_post_attach() local
478 &rdn)) == RD_OK && rdn.type == RD_NOTIFY_BPT) { in pt_post_attach()
479 (void) mdb_tgt_add_vbrkpt(t, rdn.u.bptaddr, in pt_post_attach()
487 &rdn)) == RD_OK && rdn.type == RD_NOTIFY_BPT) { in pt_post_attach()
488 (void) mdb_tgt_add_vbrkpt(t, rdn.u.bptaddr, in pt_post_attach()
496 &rdn)) == RD_OK && rdn.type == RD_NOTIFY_BPT) { in pt_post_attach()
497 (void) mdb_tgt_add_vbrkpt(t, rdn.u.bptaddr, in pt_post_attach()
/titanic_41/usr/src/uts/common/pcmcia/cs/
H A Dcs_stubs.c439 csx_RemoveDeviceNode(client_handle_t ch, remove_device_node_t *rdn) in csx_RemoveDeviceNode() argument
445 return (CardServices(RemoveDeviceNode, ch, rdn)); in csx_RemoveDeviceNode()
H A Dcs.c7740 cs_remove_device_node(client_handle_t client_handle, remove_device_node_t *rdn)
7747 return (cs_make_device_node(client_handle, (make_device_node_t *)rdn));
/titanic_41/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_misc.c1792 char *rdn; local
1794 rdn = strndup(policy_dn, len2 - len1 - 1); /* 1 character for ',' */
1796 if (ldap_str2dn (rdn, &dn, LDAP_DN_FORMAT_LDAPV3 | LDAP_DN_PEDANTIC) != 0) {
/titanic_41/usr/src/head/
H A Dldap.h544 char **LDAP_CALL ldap_explode_rdn(const char *rdn,
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_dhchap.c87 static void emlxs_get_random_bytes(NODELIST *ndlp, uint8_t *rdn,
868 uint8_t *rdn, in emlxs_get_random_bytes() argument
884 bcopy((void *) &sha1_digest[0], (void *) &rdn[0], len); in emlxs_get_random_bytes()