Searched defs:rdn (Results 1 - 17 of 17) sorted by relevance

/illumos-gate/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 ]; local
71 if (argc - optind == 3) /* accept as arguments: dn rdn newsuperior */
79 if (( rdn = strdup( argv[argc - 2] )) == NULL )
92 else if (argc - optind == 2) /* accept as arguments: dn rdn */
94 if (( rdn = strdup( argv[argc - 1] )) == NULL )
126 rc = domodrdn(ld, entrydn, rdn, L_newParent, remove_oldrdn);
135 * rdn
140 * rdn
163 rc = domodrdn(ld, entrydn, rdn, L_newParen
223 domodrdn( LDAP *ld, char *dn, char *rdn, char *newsuperior, int remove_oldrdn ) argument
[all...]
H A Dldaptest.c262 char passwd[64], dn[256], rdn[64], attr[64], value[256]; local
604 getaline( rdn, sizeof(rdn), stdin, "newrdn? " );
605 getaline( line, sizeof(line), stdin, "delete old rdn (0=>no, 1=>yes)?");
608 if ((err = ldap_rename(ld, dn, rdn, NULL, delrdn, NULL,NULL, &id)) != LDAP_SUCCESS){
615 if ( (id = ldap_modrdn( ld, dn, rdn, delrdn )) == -1 )
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dgetdn.c345 ldap_explode_rdn( const char *rdn, const int notypes ) argument
347 return( ldap_explode( rdn, notypes, LDAP_RDN ) );
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Drdn_parser.c435 KMF_X509_RDN rdn; local
443 rv = CreateRDN(ava, &rdn);
445 if (AddRDN(name, &rdn) != KMF_OK) goto loser;
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_proc.c307 rd_notify_t rdn; local
310 if ((err = rd_event_addr(dpr->dpr_rtld, event, &rdn)) != RD_OK) {
316 if (rdn.type != RD_NOTIFY_BPT) {
318 (int)dpr->dpr_pid, evname, rdn.type);
322 (void) dt_proc_bpcreate(dpr, rdn.u.bptaddr,
/illumos-gate/usr/src/lib/libnisdb/yptol/
H A Ddit_access_utils.c1505 * represented by the given 'rdn' will most likely belong to.
1510 getObjectClass(char *rdn) { argument
1516 for (p = rdn; *p == ' ' || *p == '\t'; p++);
1543 * Split 'dn' into rdn and parentdn based on the first
1544 * occurrence of unescaped 'comma' or 'semicolon'. rdn
1550 splitDN(char *dn, char **rdn, char **parentdn) { argument
1575 if (rdn)
1576 *rdn = name;
1770 char *parentdn = 0, *rdn = 0; local
1774 if (splitDN(dn, &rdn,
1883 char *value, *svalue, *rdn = NULL; local
[all...]
/illumos-gate/usr/src/uts/common/pcmcia/cs/
H A Dcs_stubs.c439 csx_RemoveDeviceNode(client_handle_t ch, remove_device_node_t *rdn) argument
445 return (CardServices(RemoveDeviceNode, ch, rdn));
H A Dcs.c7740 cs_remove_device_node(client_handle_t client_handle, remove_device_node_t *rdn) argument
7747 return (cs_make_device_node(client_handle, (make_device_node_t *)rdn));
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_common.c430 strlen(ns_def_map[i].rdn) + 1;
440 ns_def_map[i].rdn);
2227 * Although the name switch/ldap's rdn is in "cn=xx" or "cn=xx+..."
2240 char **rdn = NULL, **attrs = NULL, **values = NULL; local
2252 if ((rdn = ldap_explode_dn(values[0], 0)) == NULL ||
2253 rdn[0] == NULL)
2256 if ((attrs = ldap_explode_rdn(rdn[0], 0)) == NULL) {
2257 ldap_value_free(rdn);
2260 /* Assume the rdn is normalized */
2279 * match rdn valu
[all...]
H A Dns_writes.c71 * If the rdn is a mapped attr:
73 * If no mapped attr is found in the rdn:
642 __s_cvt_freeEntryRdn(ns_ldap_entry_t **entry, char **rdn) argument
648 if (*rdn != NULL) {
649 free(*rdn);
650 *rdn = NULL;
1525 __s_cvt_passwd(const void *data, char **rdn, argument
1543 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL)
1559 /* Create an appropriate rdn */
1561 *rdn
1667 __s_cvt_project(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument
1779 __s_cvt_shadow(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument
1903 __s_cvt_group(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument
2007 __s_cvt_hosts(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument
2141 __s_cvt_rpc(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument
2231 __s_cvt_protocols(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument
2319 __s_cvt_services(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument
2423 __s_cvt_networks(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument
2515 __s_cvt_netmasks(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument
2578 __s_cvt_netgroups(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument
2676 __s_cvt_bootparams(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument
2757 __s_cvt_ethers(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument
2830 modify_ethers_bootp( const char *service, const char *rdn, const char *fulldn, const ns_ldap_attr_t * const *attrlist, const ns_cred_t *cred, const int flags, ns_ldap_error_t **errorp) argument
2930 __s_cvt_publickey(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument
2993 __s_cvt_aliases(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument
3073 __s_cvt_auto_mount(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument
3176 __s_cvt_authattr(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument
3268 __s_cvt_execattr(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument
3379 __s_cvt_profattr(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument
3463 __s_cvt_userattr(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument
3545 __s_cvt_audituser(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument
3612 __s_cvt_tnrhtp(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument
3682 __s_cvt_tnrhdb(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument
3794 char *rdn = NULL, *fulldn = NULL; local
[all...]
H A Dns_reads.c105 * rdn: RDN
108 * the memory is allocated for the new rdn.
112 _cvtRDN(const char *service, const char *rdn) { argument
118 if ((attrs = ldap_explode_rdn(rdn, 0)) == NULL)
951 __s_api_remove_rdn_space(char *rdn) argument
956 if (strchr(rdn, SPACETOK) == NULL)
957 return (rdn);
960 eqsign = strchr(rdn, '=');
962 return (rdn);
964 tf = rdn;
[all...]
H A Dns_internal.h115 /* max rdn length in conversion routines used by __ns_ldap_addTypedEntry() */
328 * This structure maps service name to rdn components
343 char *rdn; member in struct:ns_service_map
/illumos-gate/usr/src/lib/libkmf/ber_der/common/
H A Dclasn1.c754 KMF_X509_RDN *rdn; local
766 rdn = &name->RelativeDistinguishedName[i];
767 attrtvpair = rdn->AttributeTypeAndValue;
769 if (rdn->numberOfPairs > 0) {
802 KMF_X509_RDN *rdn, *dstrdn; local
822 rdn = &srcname->RelativeDistinguishedName[i];
827 dstrdn->numberOfPairs = rdn->numberOfPairs;
845 srcav = &rdn->AttributeTypeAndValue[j];
/illumos-gate/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) {
/illumos-gate/usr/src/lib/libnisdb/
H A Dldap_op.c2623 char *rdn; local
2640 rdn = sdup(myself, T, dn);
2641 if (rdn == 0) {
2648 if (tolower(oldDn[i]) != tolower(rdn[j])) {
2650 * Terminate 'rdn' after this character in order
2652 * the same as the old DN. What remains in 'rdn'
2655 rdn[j+1] = '\0';
2660 stat = ldap_rename(lc->ld, oldDn, rdn, NULL, 1, NULL, NULL, &msgid);
2692 msgid = ldap_rename(lc->ld, oldDn, rdn, NULL, 1, NULL, NULL,
2719 myself, lc == NULL ? 0: lc->ld, NIL(oldDn), NIL(rdn),
[all...]
/illumos-gate/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,
884 bcopy((void *) &sha1_digest[0], (void *) &rdn[0], len);
866 emlxs_get_random_bytes( NODELIST *ndlp, uint8_t *rdn, uint32_t len) argument
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_proc.c468 rd_notify_t rdn; local
478 &rdn)) == RD_OK && rdn.type == RD_NOTIFY_BPT) {
479 (void) mdb_tgt_add_vbrkpt(t, rdn.u.bptaddr,
487 &rdn)) == RD_OK && rdn.type == RD_NOTIFY_BPT) {
488 (void) mdb_tgt_add_vbrkpt(t, rdn.u.bptaddr,
496 &rdn)) == RD_OK && rdn.type == RD_NOTIFY_BPT) {
497 (void) mdb_tgt_add_vbrkpt(t, rdn
[all...]

Completed in 124 milliseconds