/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | bind.c | 37 * ldap_bind - bind to the ldap server. The dn and password 51 ldap_bind( LDAP *ld, const char *dn, const char *passwd, int authmethod ) argument 73 return( ldap_simple_bind( ld, dn, passwd ) ); 82 * ldap_bind_s - bind to the ldap server. The dn and password 97 ldap_bind_s( LDAP *ld, const char *dn, const char *passwd, int authmethod ) argument 105 return( ldap_simple_bind_s( ld, dn, passwd ) );
|
H A D | proxyauthctrl.c | 34 dn The dn used in the proxy auth 48 const char *dn, 64 if (NULL == dn) 66 dn = ""; 79 dn ) ) 104 e.g., dn:uid=bjensen,dc=example,dc=com 46 ldap_create_proxyauth_control( LDAP *ld, const char *dn, const char ctl_iscritical, LDAPControl **ctrlp ) argument
|
H A D | add.c | 44 * dn DN of the entry to add 57 * msgid = ldap_add( ld, dn, attrs ); 61 ldap_add( LDAP *ld, const char *dn, LDAPMod **attrs ) argument 67 if ( ldap_add_ext( ld, dn, attrs, NULL, NULL, &msgid ) 82 ldap_add_ext( LDAP *ld, const char *dn, LDAPMod **attrs, argument 117 if ( dn == NULL ) { 118 dn = ""; 128 if ( (rc = (ld->ld_cache_add)( ld, *msgidp, LDAP_REQ_ADD, dn, 143 if ( ber_printf( ber, "{it{s{", *msgidp, LDAP_REQ_ADD, dn ) 183 (char *) dn, be 190 ldap_add_s( LDAP *ld, const char *dn, LDAPMod **attrs ) argument 196 ldap_add_ext_s( LDAP *ld, const char *dn, LDAPMod **attrs, LDAPControl **serverctrls, LDAPControl **clientctrls ) argument [all...] |
H A D | cache.c | 41 ldap_cache_flush( LDAP *ld, const char *dn, const char *filter ) argument 47 if ( dn == NULL ) { 48 dn = ""; 51 return( (ld->ld_cache_flush)( ld, dn, filter ) ); 64 char *dn; local 84 dn = ldap_get_dn( ld, m ); 161 rc = (ld->ld_cache_add)( ld, -1, m->lm_msgtype, dn, mods );
|
H A D | delete.c | 40 * dn DN of the object to delete 43 * msgid = ldap_delete( ld, dn ); 47 ldap_delete( LDAP *ld, const char *dn ) 53 if ( ldap_delete_ext( ld, dn, NULL, NULL, &msgid ) == LDAP_SUCCESS ) { 62 ldap_delete_ext( LDAP *ld, const char *dn, LDAPControl **serverctrls, argument 84 if ( dn == NULL ) { 85 dn = ""; 96 dn )) != 0 ) { 110 if ( ber_printf( ber, "{its", *msgidp, LDAP_REQ_DELETE, dn ) 126 (char *)dn, be 140 ldap_delete_ext_s( LDAP *ld, const char *dn, LDAPControl **serverctrls, LDAPControl **clientctrls ) argument [all...] |
H A D | modify.c | 44 * dn DN of the object to modify 55 * msgid = ldap_modify( ld, dn, mods ); 59 ldap_modify( LDAP *ld, const char *dn, LDAPMod **mods ) argument 65 if ( ldap_modify_ext( ld, dn, mods, NULL, NULL, &msgid ) 75 ldap_modify_ext( LDAP *ld, const char *dn, LDAPMod **mods, argument 115 if ( dn == NULL ) { 116 dn = ""; 127 dn, mods )) != 0 ) { 141 if ( ber_printf( ber, "{it{s{", *msgidp, LDAP_REQ_MODIFY, dn ) 183 (char *)dn, be 190 ldap_modify_s( LDAP *ld, const char *dn, LDAPMod **mods ) argument 197 ldap_modify_ext_s( LDAP *ld, const char *dn, LDAPMod **mods, LDAPControl **serverctrls, LDAPControl **clientctrls ) argument [all...] |
H A D | sbind.c | 40 static int simple_bind_nolock( LDAP *ld, const char *dn, const char *passwd, 42 static int simple_bindifnot_s( LDAP *ld, const char *dn, const char *passwd ); 45 * ldap_simple_bind - bind to the ldap server. The dn and 56 ldap_simple_bind( LDAP *ld, const char *dn, const char *passwd ) argument 66 rc = simple_bind_nolock( ld, dn, passwd, 1 ); 73 simple_bind_nolock( LDAP *ld, const char *dn, const char *passwd, argument 95 if ( dn == NULL ) 96 dn = ""; 107 rc = (ld->ld_cache_bind)( ld, msgid, LDAP_REQ_BIND, dn, &bv, 124 NSLDAPI_LDAP_VERSION( ld ), dn, LDAP_AUTH_SIMPL 153 ldap_simple_bind_s( LDAP *ld, const char *dn, const char *passwd ) argument 182 simple_bindifnot_s( LDAP *ld, const char *dn, const char *passwd ) argument [all...] |
H A D | compare.c | 41 * ldap_compare - perform an ldap compare operation. The dn 50 ldap_compare( LDAP *ld, const char *dn, const char *attr, const char *value ) argument 60 if ( ldap_compare_ext( ld, dn, attr, &bv, NULL, NULL, &msgid ) 70 ldap_compare_ext( LDAP *ld, const char *dn, const char *attr, argument 100 if ( dn == NULL ) { 101 dn = ""; 112 LDAP_REQ_COMPARE, dn, attr, bvalue )) != 0 ) { 126 if ( ber_printf( ber, "{it{s{so}}", *msgidp, LDAP_REQ_COMPARE, dn, 143 (char *)dn, ber ); 150 ldap_compare_s( LDAP *ld, const char *dn, cons argument 163 ldap_compare_ext_s( LDAP *ld, const char *dn, const char *attr, const struct berval *bvalue, LDAPControl **serverctrls, LDAPControl **clientctrls ) argument [all...] |
H A D | rename.c | 44 * dn DN of the object to modify 57 * rc = ldap_rename( ld, dn, newrdn, newparent, deleteoldrdn, serverctrls, clientctrls, &msgid ); 63 const char *dn, 76 * A modify dn request looks like this: 120 LDAP_REQ_MODRDN, dn, newrdn, deleteoldrdn )) 131 LDAP_REQ_MODDN, dn, newrdn, newparent, 148 if ( ber_printf( ber, "{it{ssb", *msgidp, LDAP_REQ_MODDN, dn, 178 (char *) dn, ber ); 185 ldap_modrdn2( LDAP *ld, const char *dn, const char *newrdn, int deleteoldrdn ) argument 189 if ( ldap_rename( ld, dn, newrd 61 ldap_rename( LDAP *ld, const char *dn, const char *newrdn, const char *newparent, int deleteoldrdn, LDAPControl **serverctrls, LDAPControl **clientctrls, int *msgidp ) argument 198 ldap_modrdn( LDAP *ld, const char *dn, const char *newrdn ) argument 205 ldap_rename_s( LDAP *ld, const char *dn, const char *newrdn, const char *newparent, int deleteoldrdn, LDAPControl **serverctrls, LDAPControl **clientctrls ) argument 233 ldap_modrdn2_s( LDAP *ld, const char *dn, const char *newrdn, int deleteoldrdn ) argument 249 ldap_modrdn_s( LDAP *ld, const char *dn, const char *newrdn ) argument [all...] |
H A D | cram_md5.c | 66 char *dn, 77 if (dn == NULL){ 103 resp.bv_len = (strlen(dn) + 32 + 1); 108 sprintf(resp.bv_val, "%s %s", dn, theHDigest); 64 ldap_sasl_cram_md5_bind_s( LDAP *ld, char *dn, struct berval *cred, LDAPControl **serverctrls, LDAPControl **clientctrls ) argument
|
H A D | saslbind.c | 30 * ldap_sasl_bind - authenticate to the ldap server. The dn, mechanism, 48 const char *dn, 96 if ( dn == NULL ) 97 dn = ""; 101 if ( (rc = (ld->ld_cache_bind)( ld, msgid, LDAP_REQ_BIND, dn, 126 ldapversion, dn, LDAP_AUTH_SIMPLE, cred->bv_val, 132 LDAP_REQ_BIND, ldapversion, dn, LDAP_AUTH_SASL, 136 LDAP_REQ_BIND, ldapversion, dn, LDAP_AUTH_SASL, 156 (char *)dn, ber ); 163 * The dn, mechanis 46 ldap_sasl_bind( LDAP *ld, const char *dn, const char *mechanism, const struct berval *cred, LDAPControl **serverctrls, LDAPControl **clientctrls, int *msgidp ) argument 175 ldap_sasl_bind_s( LDAP *ld, const char *dn, const char *mechanism, const struct berval *cred, LDAPControl **serverctrls, LDAPControl **clientctrls, struct berval **servercredp ) argument [all...] |
H A D | getdn.c | 49 char *dn; local 64 if ( ber_scanf( &tmp, "{a", &dn ) == LBER_ERROR ) { 69 return( dn ); 74 ldap_dn2ufn( const char *dn ) 82 if ( dn == NULL ) { 83 dn = ""; 86 if ( ldap_is_dns_dn( dn ) || ( p = strchr( dn, '=' )) == NULL ) 87 return( nsldapi_strdup( (char *)dn )); 156 ldap_explode_dns( const char *dn ) 198 ldap_explode( const char *dn, const int notypes, const int nametype ) argument 338 ldap_explode_dn( const char *dn, const int notypes ) argument 376 char *dn = 0; local [all...] |
/illumos-gate/usr/src/cmd/tip/aculib/ |
H A D | dn11.c | 22 static int child = -1, dn; variable 33 if ((dn = open(acu, 1)) < 0) { 42 (void) close(dn); 56 nw = write(dn, num, lt = strlen(num)); 69 (void) close(dn); 73 (void) ioctl(dn, TCGETS, &buf); 75 (void) ioctl(dn, TCSETSF, &buf); 80 (void) close(dn); 119 if (dn > 0) 120 (void) close(dn); [all...] |
/illumos-gate/usr/src/cmd/devprop/ |
H A D | devprop.c | 49 di_node_t dn; local 120 if ((dn = di_init(path, DINFOPROP)) == DI_NODE_NIL) { 129 dn, argv[optind], &(val)); \ 161 di_fini(dn);
|
/illumos-gate/usr/src/lib/libresolv/ |
H A D | res_comp.c | 62 register u_char *cp, *dn; local 67 dn = exp_dn; 79 if (dn != exp_dn) { 80 if (dn >= eom) 82 *dn++ = '.'; 84 if (dn+n >= eom) 89 if (dn + n + 2 >= eom) 91 *dn++ = '\\'; 93 *dn++ = c; 119 *dn 143 register u_char *cp, *dn; local 251 register u_char *dn, *cp, **cpp; local [all...] |
/illumos-gate/usr/src/cmd/ldap/common/ |
H A D | ldapdelete.c | 51 static int dodelete( LDAP *ld, char *dn, LDAPControl **serverctrls ); 57 fprintf( stderr, gettext("usage: %s [options] [dn...]\n"), ldaptool_progname ); 161 dodelete( LDAP *ld, char *dn, LDAPControl **serverctrls ) argument 166 printf( gettext("%sdeleting entry %s\n"), ldaptool_not ? "!" : "", dn ); 170 } else if (( rc = ldaptool_delete_ext_s( ld, dn, serverctrls, NULL, 182 dodelete( LDAP *ld, char *dn, LDAPControl **serverctrls ) argument 190 printf( gettext("%sdeleting entry %s\n"), ldaptool_not ? "!" : "", dn ); 198 if ( (rc = ldap_search_s( ld, dn, LDAP_SCOPE_SUBTREE, my_filter, NULL, 0, &result )) != LDAP_SUCCESS ) { 203 if ( ( dn = ldap_get_dn( ld, e ) ) != NULL ) { 205 datalist->data = dn; [all...] |
H A D | ldapmodrdn.c | 23 static int domodrdn( LDAP *ld, char *dn, char *rdn, char *newsuperior, 29 fprintf(stderr, gettext("usage: %s [options] [dn newrdn [newsuperior]]\n"), ldaptool_progname); 71 if (argc - optind == 3) /* accept as arguments: dn rdn newsuperior */ 92 else if (argc - optind == 2) /* accept as arguments: dn rdn */ 134 * dn 139 * dn 223 domodrdn( LDAP *ld, char *dn, char *rdn, char *newsuperior, int remove_oldrdn ) argument 232 ldaptool_not ? "!" : "", dn ); 236 rc = ldap_rename_s( ld, dn, rdn, newsuperior, remove_oldrdn, NULL, NULL );
|
/illumos-gate/usr/src/boot/sys/boot/efi/boot1/ |
H A D | zfs_module.c | 98 dnode_phys_t dn; local 119 if ((err = zfs_lookup(&zfsmount, filepath, &dn)) != 0) { 130 if ((err = zfs_dnode_stat(spa, &dn, &st)) != 0) { 143 if ((err = dnode_read(spa, &dn, 0, buf, st.st_size)) != 0) {
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dmu_object.c | 41 dnode_t *dn = NULL; local 87 FTAG, &dn); 88 if (dn) 95 dnode_allocate(dn, ot, blocksize, 0, bonustype, bonuslen, tx); 96 dnode_rele(dn, FTAG); 108 dnode_t *dn; local 114 err = dnode_hold_impl(os, object, DNODE_MUST_BE_FREE, FTAG, &dn); 117 dnode_allocate(dn, ot, blocksize, 0, bonustype, bonuslen, tx); 118 dnode_rele(dn, FTAG); 128 dnode_t *dn; local 148 dnode_t *dn; local 195 dnode_t *dn; local 220 dnode_t *dn; local [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/ |
H A D | util.c | 70 get_pci_vpd_sn_pn(topo_mod_t *mp, di_node_t dn, char **serial, char **part) argument 82 if ((di_prom_prop_lookup_bytes(promtree, dn, "vpd-serial-number", 86 if ((di_prom_prop_lookup_bytes(promtree, dn, "vpd-part-number",
|
/illumos-gate/usr/src/lib/libdll/common/ |
H A D | dllscan.c | 93 int dn; local 113 if (!(dn = s - d)) 144 if (d && dn < sizeof(info.sibbuf)) 146 memcpy(info.sibbuf, d, dn);
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | ldap_ldap.c | 222 * If the item search triple is invalid, 'dn' must contain the DN(s) 235 char **dn, int numDN) { 326 dn = findDNs(myself, rvDN, nv, 0, &numDN); 328 if (dn == 0 || numDN <= 0) { 329 freeDNs(dn, numDN); 335 dn = locDN; 341 if (dn == 0 || numDN < 1) { 343 freeDNs(dn, numDN); 356 freeDNs(dn, numDN); 379 freeDNs(dn, numD 233 storeLDAP(__nis_mapping_item_t *item, int index, int numIndexes, __nis_value_t *val, __nis_object_dn_t *defDN, char **dn, int numDN) argument [all...] |
/illumos-gate/usr/src/lib/libkmf/mappers/kmf_mapper_cn/common/ |
H A D | mapper_cn.c | 91 char *dn; local 98 if ((rv = kmf_get_cert_subject_str(h, cert, &dn)) != KMF_OK) 101 if ((rv = kmf_dn_parser(dn, &x509name)) != KMF_OK)
|
/illumos-gate/usr/src/lib/libm/common/C/ |
H A D | log.c | 158 double *tb, dn, dn1, s, z, r, w; local 208 dn = (double)(n + ((ix >> 20) - 0x3ff)); 209 dn1 = dn * LN2HI; 215 dn = dn * LN2LO + tb[2]; 216 return (dn1 + (dn + ((B1 * s) * (B2 + s * (B3 + s))) *
|
/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | directory_provider_builtin.c | 208 char *dn; local 209 (void) asprintf(&dn, 213 const char *cdn = dn; 215 free(dn);
|