/netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/passwd/sha2/ |
H A D | slapd-sha2.c | 46 const struct berval *scheme, in hash_ssha256() 47 const struct berval *passwd, in hash_ssha256() 48 struct berval *hash, in hash_ssha256() 54 struct berval digest; in hash_ssha256() 55 struct berval salt; in hash_ssha256() 75 const struct berval *scheme, in hash_sha256() 76 const struct berval *passwd, in hash_sha256() 77 struct berval *hash, in hash_sha256() 82 struct berval digest; in hash_sha256() 94 const struct berval *scheme, in hash_ssha384() [all …]
|
/netbsd-src/external/bsd/openldap/dist/servers/slapd/back-monitor/ |
H A D | proto-back-monitor.h | 56 struct berval *ndn, 61 struct berval *ndn, 67 struct berval *ndn, 116 struct berval *ndn, 133 struct berval *pdn, 134 struct berval *pndn, 135 struct berval *rdn, 137 struct berval *create, 138 struct berval *modify )); 141 struct berval *ndn )); [all …]
|
H A D | back-monitor.h | 93 struct berval mi_startTime; /* don't free it! */ 94 struct berval mi_creatorsName; /* don't free it! */ 95 struct berval mi_ncreatorsName; /* don't free it! */ 251 struct berval mss_rdn; 252 struct berval mss_dn; 253 struct berval mss_ndn; 254 struct berval mss_desc[ 3 ]; 271 struct berval *ndn, Entry *, Entry ** ); 283 typedef int (monitor_cbfunc)( struct berval *ndn, monitor_callback_t *cb, 284 struct berval *base, int scope, struct berval *filter ); [all …]
|
/netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/rbac/ |
H A D | rbac.h | 38 struct berval attr; 110 struct berval sessid; 111 struct berval tenantid; 114 struct berval uid; 115 struct berval authtok; 117 struct berval role; 120 struct berval opname; 121 struct berval objname; 122 struct berval objid; 126 struct berval name; /* user name or role name */ [all …]
|
/netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/passwd/ |
H A D | apr1.c | 40 static const struct berval scheme_apr1 = BER_BVC("{APR1}"); 41 static const struct berval magic_apr1 = BER_BVC("$apr1$"); 45 static const struct berval scheme_bsdmd5 = BER_BVC("{BSDMD5}"); 46 static const struct berval magic_bsdmd5 = BER_BVC("$1$"); 63 const struct berval *passwd, in do_phk_hash() 64 const struct berval *salt, in do_phk_hash() 65 const struct berval *magic, in do_phk_hash() 123 const struct berval *magic, in chk_phk() 124 const struct berval *passwd, in chk_phk() 125 const struct berval *cred, in chk_phk() [all …]
|
/netbsd-src/external/bsd/openldap/dist/libraries/liblutil/ |
H A D | passwd.c | 82 struct berval name; 154 struct berval *scheme, in lutil_passwd_add() 197 struct berval bv; in get_scheme() 244 static struct berval *passwd_scheme( in passwd_scheme() 246 const struct berval * passwd, in passwd_scheme() 247 struct berval *bv, in passwd_scheme() 271 const struct berval *passwd, /* stored passwd */ in lutil_passwd() 272 const struct berval *cred, /* user cred */ in lutil_passwd() 290 struct berval x; in lutil_passwd() 291 struct berval *p = passwd_scheme( &(pws->s), in lutil_passwd() [all …]
|
/netbsd-src/external/bsd/openldap/dist/servers/slapd/ |
H A D | proto-slap.h | 53 Entry *e, AttributeDescription *desc, struct berval *val, 62 struct berval *val, 70 struct berval *val, 87 struct berval *list, 90 struct berval *bv )); 92 struct berval *subj, 95 struct berval *default_set_attribute )); 97 struct berval *newbuf, struct berval *pattern, 98 struct berval *dnmatch, struct berval *valmatch, AclRegexMatches *matches )); 115 LDAP_SLAPD_F (void) acl_unparse LDAP_P(( AccessControl*, struct berval* )); [all …]
|
H A D | aci.c | 96 static const struct berval aci_bv[] = { 139 struct berval *val ); 144 struct berval *val, 145 struct berval *out, 153 struct berval *val, 154 struct berval *out, 161 struct berval *list ) in aci_list_map_rights() 163 struct berval bv; in aci_list_map_rights() 216 struct berval *list, in aci_list_has_attr() 217 const struct berval *attr, in aci_list_has_attr() [all …]
|
H A D | dn.c | 152 struct berval *in ) in dnValidate() 189 struct berval *in ) in rdnValidate() 284 struct berval bv = BER_BVNULL; in LDAPRDN_rewrite() 336 : (struct berval *) &slap_empty_bv ); in LDAPRDN_rewrite() 351 : (struct berval *) &slap_empty_bv, in LDAPRDN_rewrite() 370 : (struct berval *) &slap_empty_bv, in LDAPRDN_rewrite() 426 struct berval *val, in dnNormalize() 427 struct berval *out, in dnNormalize() 482 struct berval *val, in rdnNormalize() 483 struct berval *out, in rdnNormalize() [all …]
|
H A D | slapcommon.h | 36 struct berval tv_sub_ndn; 39 struct berval tv_baseDN; 40 struct berval tv_authcDN; 41 struct berval tv_authzDN; 42 struct berval tv_authcID; 43 struct berval tv_authzID; 44 struct berval tv_mech; 46 struct berval tv_listener_url; 47 struct berval tv_peer_domain; 48 struct berval tv_peer_name; [all …]
|
H A D | schema_init.c | 224 struct berval *in ); 230 struct berval *in ); 236 struct berval *in ) in inValidate() 245 struct berval *in ) in blobValidate() 256 struct berval *in ) in sequenceValidate() 327 certificateValidate( Syntax *syntax, struct berval *in ) in certificateValidate() 403 checkTime( struct berval *in, struct berval *out ); 406 certificateListValidate( Syntax *syntax, struct berval *in ) in certificateListValidate() 415 struct berval bvdn, bvtu; in certificateListValidate() 484 struct berval issuer_dn = BER_BVNULL, thisUpdate; in certificateListValidate() [all …]
|
H A D | slap.h | 381 struct berval som_oid; 391 struct berval * in)); 395 struct berval * in, 396 struct berval * out, 401 struct berval * in )); 418 struct berval ssyn_bvoid; 473 struct berval * in, 474 struct berval * out, 482 struct berval *in, 483 struct berval *out, [all …]
|
/netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/passwd/totp/ |
H A D | slapd-totp.c | 103 static const struct berval scheme_totp1 = BER_BVC("{TOTP1}"); 104 static const struct berval scheme_totp256 = BER_BVC("{TOTP256}"); 105 static const struct berval scheme_totp512 = BER_BVC("{TOTP512}"); 106 static const struct berval scheme_totp1andpw = BER_BVC("{TOTP1ANDPW}"); 107 static const struct berval scheme_totp256andpw = BER_BVC("{TOTP256ANDPW}"); 108 static const struct berval scheme_totp512andpw = BER_BVC("{TOTP512ANDPW}"); 426 const struct berval *passwd, in chk_totp() 427 const struct berval *cred, in chk_totp() 521 const struct berval *scheme, in chk_totp_and_pw() 522 const struct berval *passwd, in chk_totp_and_pw() [all …]
|
/netbsd-src/external/bsd/openldap/dist/servers/slapd/overlays/ |
H A D | rwm.h | 50 struct berval m_src; 57 struct berval m_dst; 99 int rwm_dn_massage( dncookie *dc, struct berval *in, struct berval *dn ); 100 int rwm_dn_massage_pretty( dncookie *dc, struct berval *in, struct berval *pdn ); 101 int rwm_dn_massage_normalize( dncookie *dc, struct berval *in, struct berval *ndn ); 102 …rwm_dn_massage_pretty_normalize( dncookie *dc, struct berval *in, struct berval *pdn, struct berva… 109 void rwm_map ( struct ldapmap *map, struct berval *s, struct berval *m, 111 int rwm_mapping ( struct ldapmap *map, struct berval *s, 119 struct berval *f ); 156 struct berval *fstr ); [all …]
|
H A D | rwmdn.c | 52 struct berval *in, in rwm_dn_massage_normalize() 53 struct berval *ndn ) in rwm_dn_massage_normalize() 56 struct berval mdn = BER_BVNULL; in rwm_dn_massage_normalize() 85 struct berval *in, in rwm_dn_massage_pretty() 86 struct berval *pdn ) in rwm_dn_massage_pretty() 89 struct berval mdn = BER_BVNULL; in rwm_dn_massage_pretty() 121 struct berval *in, in rwm_dn_massage_pretty_normalize() 122 struct berval *pdn, in rwm_dn_massage_pretty_normalize() 123 struct berval *ndn ) in rwm_dn_massage_pretty_normalize() 126 struct berval mdn = BER_BVNULL; in rwm_dn_massage_pretty_normalize() [all …]
|
/netbsd-src/external/bsd/openldap/dist/include/ |
H A D | lutil.h | 73 struct berval; /* avoid pulling in lber.h */ 78 struct berval * )); 87 const struct berval *scheme, 88 const struct berval *passwd, 89 const struct berval *cred, 93 const struct berval *scheme, 94 const struct berval *passwd, 95 struct berval *hash, 100 struct berval *scheme, 112 const struct berval *passwd, /* stored password */ [all …]
|
H A D | ldap.h | 260 struct berval ldctl_value; /* encoded value of control */ 788 struct berval **modv_bvals; 883 struct berval *entryUUID, 964 struct berval ls_cookie; 1073 struct berval *value, 1124 struct berval *reqdata, 1133 struct berval *reqdata, 1137 struct berval **retdatap )); 1144 struct berval **retdatap, 1152 struct berval **retdatap, [all …]
|
H A D | lber.h | 214 typedef struct berval { struct 263 struct berval *bv )); 268 struct berval *bv )); 273 struct berval *bv )); 287 const struct berval *bv, 306 struct berval *bv, 317 struct berval **bv )); 354 struct berval *in, 355 struct berval *out )); 362 struct berval *in, [all …]
|
H A D | ldap_schema.h | 295 LDAP_F( struct berval * ) 297 LDAPStructureRule * sr, struct berval *bv )); 303 LDAP_F( struct berval * ) 305 LDAPNameForm * nf, struct berval *bv )); 311 LDAP_F( struct berval * ) 313 LDAPContentRule * cr, struct berval *bv )); 319 LDAP_F( struct berval * ) 321 LDAPObjectClass * oc, struct berval *bv )); 327 LDAP_F( struct berval * ) 329 LDAPAttributeType * at, struct berval *bv )); [all …]
|
/netbsd-src/external/bsd/openldap/dist/servers/slapd/back-sql/ |
H A D | back-sql.h | 280 int (*ba_dn2odbc)( Operation *op, SlapReply *rs, struct berval *dn ); 281 int (*ba_odbc2dn)( Operation *op, SlapReply *rs, struct berval *dn ); 299 struct berval bom_keytbl; 300 struct berval bom_keycol; 327 struct berval bam_from_tbls; 328 struct berval bam_join_where; 329 struct berval bam_sel_expr; 333 struct berval bam_sel_expr_u; 383 struct berval bb_val; 399 struct berval eid_id; [all …]
|
/netbsd-src/external/bsd/openldap/dist/libraries/liblber/ |
H A D | memory.c | 382 ber_bvfree_x( struct berval *bv, void *ctx ) in ber_bvfree_x() 398 ber_bvfree( struct berval *bv ) in ber_bvfree() 404 ber_bvecfree_x( struct berval **bv, void *ctx ) in ber_bvecfree_x() 426 ber_bvecfree( struct berval **bv ) in ber_bvecfree() 432 ber_bvecadd_x( struct berval ***bvec, struct berval *bv, void *ctx ) in ber_bvecadd_x() 435 struct berval **new; in ber_bvecadd_x() 443 *bvec = ber_memalloc_x( 2 * sizeof(struct berval *), ctx ); in ber_bvecadd_x() 466 new = ber_memrealloc_x( *bvec, (i+2) * sizeof(struct berval *), ctx); in ber_bvecadd_x() 481 ber_bvecadd( struct berval ***bvec, struct berval *bv ) in ber_bvecadd() 486 struct berval * [all …]
|
H A D | decode.c | 96 ber_tag_and_rest( const BerElement *ber, struct berval *bv ) in ber_tag_and_rest() 148 struct berval bv; in ber_get_tag() 157 ber_peek_element( const BerElement *ber, struct berval *bv ) in ber_peek_element() 230 ber_skip_element( BerElement *ber, struct berval *bv ) in ber_skip_element() 248 ber_skip_raw( BerElement *ber, struct berval *bv ) in ber_skip_raw() 266 struct berval bv; in ber_peek_tag() 276 struct berval bv; in ber_skip_tag() 291 struct berval bv; in ber_get_int() 302 ber_decode_int( const struct berval *bv, ber_int_t *num ) in ber_decode_int() 347 struct berval bv; in ber_get_stringb() [all …]
|
/netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/nssov/ |
H A D | nssov.h | 71 struct berval mi_base; 73 struct berval mi_filter0; 74 struct berval mi_filter; 75 struct berval *mi_attrkeys; 90 struct berval ni_pam_group_dn; 95 struct berval ni_pam_template; 96 struct berval ni_pam_defhost; 97 struct berval *ni_pam_sessions; 98 struct berval ni_pam_password_prohibit_message; 99 struct berval ni_pam_pwdmgr_dn; [all …]
|
H A D | passwd.c | 34 static struct berval passwd_filter = BER_BVC("(objectClass=posixAccount)"); 37 static struct berval passwd_keys[] = { 60 static struct berval default_passwd_userPassword = BER_BVC("*"); /* unmatchable */ 61 static struct berval default_passwd_homeDirectory = BER_BVC(""); 62 static struct berval default_passwd_loginShell = BER_BVC(""); 64 static struct berval shadow_passwd = BER_BVC("x"); 81 int isvalidusername(struct berval *bv) in NSSOV_INIT() 113 int nssov_dn2uid(Operation *op,nssov_info *ni,struct berval *dn,struct berval *uid) in nssov_dn2uid() 126 struct berval bv, rdn; in nssov_dn2uid() 154 struct berval *bv = op->o_callback->sc_private; in nssov_name2dn_cb() [all …]
|
/netbsd-src/external/bsd/openldap/dist/servers/slapd/back-meta/ |
H A D | back-meta.h | 57 struct berval src; 58 struct berval dst; 85 int ldap_back_dn_massage(dncookie *dc, struct berval *dn, 86 struct berval *res); 97 int ldap_back_mapping ( struct ldapmap *map, struct berval *s, 99 void ldap_back_map ( struct ldapmap *map, struct berval *s, struct berval *m, 107 struct berval *f, 122 struct berval *fstr, 129 struct berval *pvnc, 130 struct berval *nvnc, [all …]
|