/osnet-11/usr/src/cmd/ldap/common/ |
H A D | ldapmodrdn.c | 23 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 D | ldaptest.c | 262 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 )
|
/osnet-11/usr/src/lib/libldap4/common/ |
H A D | getdn.c | 329 ldap_explode_rdn( char *rdn, int notypes ) argument 337 rdnstart = rdn; 338 p = rdn-1;
|
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | getdn.c | 345 ldap_explode_rdn( const char *rdn, const int notypes ) argument 347 return( ldap_explode( rdn, notypes, LDAP_RDN ) );
|
/osnet-11/usr/src/lib/libkmf/libkmf/common/ |
H A D | rdn_parser.c | 435 KMF_X509_RDN rdn; local 443 rv = CreateRDN(ava, &rdn); 445 if (AddRDN(name, &rdn) != KMF_OK) goto loser;
|
/osnet-11/usr/src/lib/libsuri/common/ |
H A D | suri_aux.c | 171 char *dn, *out = NULL, *rdn = NULL, *tmp = NULL; local 181 if ((rdn = realpath(dn, NULL)) == NULL) { 195 free(rdn); 198 if (strcmp(rdn, "/") == 0) 201 n = asprintf(&out, "%s/%s", rdn, basename(tmp)); 222 if (rdn != NULL) 223 free(rdn);
|
/osnet-11/usr/src/lib/libnisdb/yptol/ |
H A D | dit_access_utils.c | 1510 * represented by the given 'rdn' will most likely belong to. 1515 getObjectClass(char *rdn) { argument 1521 for (p = rdn; *p == ' ' || *p == '\t'; p++); 1548 * Split 'dn' into rdn and parentdn based on the first 1549 * occurrence of unescaped 'comma' or 'semicolon'. rdn 1555 splitDN(char *dn, char **rdn, char **parentdn) { argument 1580 if (rdn) 1581 *rdn = name; 1775 char *parentdn = 0, *rdn = 0; local 1779 if (splitDN(dn, &rdn, 1888 char *value, *svalue, *rdn = NULL; local [all...] |
/osnet-11/usr/src/lib/libdtrace/common/ |
H A D | dt_proc.c | 303 rd_notify_t rdn; local 306 if ((err = rd_event_addr(dpr->dpr_rtld, event, &rdn)) != RD_OK) { 312 if (rdn.type != RD_NOTIFY_BPT) { 314 (int)dpr->dpr_pid, evname, rdn.type); 318 (void) dt_proc_bpcreate(dpr, rdn.u.bptaddr,
|
/osnet-11/usr/src/lib/libsldap/common/ |
H A D | ns_common.c | 510 strlen(ns_def_map[i].rdn) + 1; 520 ns_def_map[i].rdn); 2344 * Although the name switch/ldap's rdn is in "cn=xx" or "cn=xx+..." 2358 char **rdn = NULL, **attrs = NULL, **values = NULL; local 2370 if ((rdn = ldap_explode_dn(values[0], 0)) == NULL || 2371 rdn[0] == NULL) 2374 if ((attrs = ldap_explode_rdn(rdn[0], 0)) == NULL) { 2375 ldap_value_free(rdn); 2378 /* Assume the rdn is normalized */ 2397 * match rdn valu [all...] |
H A D | ns_writes.c | 124 * If the rdn is a mapped attr: 126 * If no mapped attr is found in the rdn: 696 __s_cvt_freeEntryRdn(ns_ldap_entry_t **entry, char **rdn) argument 702 if (*rdn != NULL) { 703 free(*rdn); 704 *rdn = NULL; 1720 __s_cvt_passwd(const void *data, char **rdn, argument 1738 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL) 1754 /* Create an appropriate rdn */ 1756 *rdn 1862 __s_cvt_project(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument 1974 __s_cvt_shadow(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument 2108 __s_cvt_group(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument 2212 __s_cvt_hosts(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument 2346 __s_cvt_rpc(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument 2436 __s_cvt_protocols(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument 2524 __s_cvt_services(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument 2628 __s_cvt_networks(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument 2720 __s_cvt_netmasks(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument 2783 __s_cvt_netgroups(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument 2881 __s_cvt_bootparams(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument 2962 __s_cvt_ethers(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument 3035 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 3135 __s_cvt_publickey(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument 3198 __s_cvt_aliases(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument 3278 __s_cvt_auto_mount(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument 3381 __s_cvt_authattr(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument 3473 __s_cvt_execattr(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument 3584 __s_cvt_profattr(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument 3668 __s_cvt_userattr(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument 3750 __s_cvt_audituser(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument 3817 __s_cvt_tnrhtp(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument 3887 __s_cvt_tnrhdb(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument 3999 char *rdn = NULL, *fulldn = NULL; local [all...] |
H A D | ns_internal.h | 114 /* max rdn length in conversion routines used by __ns_ldap_addTypedEntry() */ 331 * This structure maps service name to rdn components 346 char *rdn; member in struct:ns_service_map
|
H A D | ns_reads.c | 61 static char *__s_api_remove_rdn_space(char *rdn); 120 * rdn: RDN 124 * the memory is allocated for the new rdn. 128 _cvtRDN(const char *service, const char *rdn, boolean_t map_attr) argument 136 if ((attrs = ldap_explode_rdn(rdn, 0)) == NULL) 1543 __s_api_remove_rdn_space(char *rdn) argument 1548 if (strchr(rdn, SPACETOK) == NULL) 1549 return (rdn); 1552 eqsign = strchr(rdn, '='); 1554 return (rdn); [all...] |
/osnet-11/usr/src/lib/libnisdb/ |
H A D | ldap_op.c | 2639 char *rdn; local 2656 rdn = sdup(myself, T, dn); 2657 if (rdn == 0) { 2664 if (tolower(oldDn[i]) != tolower(rdn[j])) { 2666 * Terminate 'rdn' after this character in order 2668 * the same as the old DN. What remains in 'rdn' 2671 rdn[j+1] = '\0'; 2676 stat = ldap_rename(lc->ld, oldDn, rdn, NULL, 1, NULL, NULL, &msgid); 2708 msgid = ldap_rename(lc->ld, oldDn, rdn, NULL, 1, NULL, NULL, 2735 myself, lc == NULL ? 0: lc->ld, NIL(oldDn), NIL(rdn), [all...] |
/osnet-11/usr/src/lib/libkmf/ber_der/common/ |
H A D | clasn1.c | 89 free_rdn_data(KMF_X509_RDN *rdn) argument 92 for (i = 0; i < rdn->numberOfPairs; i++) { 93 free_av_data(&rdn->AttributeTypeAndValue[i]); 95 free(rdn->AttributeTypeAndValue); 96 rdn->numberOfPairs = 0; 97 rdn->AttributeTypeAndValue = NULL; 772 KMF_X509_RDN *rdn; local 784 rdn = &name->RelativeDistinguishedName[i]; 785 for (j = 0; j < rdn->numberOfPairs; j++) { 786 attrtvpair = &rdn 820 KMF_X509_RDN *rdn, *dstrdn; local 899 add_new_avpair(KMF_X509_RDN *rdn, KMF_X509_TYPE_VALUE_PAIR *avpair) argument [all...] |
/osnet-11/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | ldap_misc.c | 1687 char *rdn; local 1689 rdn = strndup(policy_dn, len2 - len1 - 1); /* 1 character for ',' */ 1691 if (ldap_str2dn (rdn, &dn, LDAP_DN_FORMAT_LDAPV3 | LDAP_DN_PEDANTIC) != 0) {
|