Searched refs:bvalues (Results 1 – 4 of 4) sorted by relevance
/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | adutils.c | 352 idmap_bv_objclass2sidtype(BerValue **bvalues, int *sid_type) in idmap_bv_objclass2sidtype() argument 357 if (bvalues == NULL) in idmap_bv_objclass2sidtype() 365 for (cbval = bvalues; *cbval != NULL; cbval++) { in idmap_bv_objclass2sidtype() 390 BerValue **bvalues; in idmap_extract_object() local 408 bvalues = ldap_get_values_len(ld, res, OBJCLASS); in idmap_extract_object() 409 if (bvalues == NULL) { in idmap_extract_object() 417 ok = idmap_bv_objclass2sidtype(bvalues, &sid_type); in idmap_extract_object() 418 ldap_value_free_len(bvalues); in idmap_extract_object() 435 bvalues = ldap_get_values_len(ld, res, attr); in idmap_extract_object() 436 if (bvalues != NULL) { in idmap_extract_object() [all …]
|
/illumos-gate/usr/src/lib/libadutils/common/ |
H A D | adutils.c | 56 static char *adutils_sid_ber2str(BerValue *bvalues); 64 char *(*ber2str)(BerValue *bvalues); 1143 BerValue **bvalues = NULL; in make_entry() local 1214 bvalues = in make_entry() 1216 if (bvalues == NULL) in make_entry() 1218 ap->num_values = ldap_count_values_len(bvalues); in make_entry() 1220 ldap_value_free_len(bvalues); in make_entry() 1221 bvalues = NULL; in make_entry() 1232 binattrs[b].ber2str(bvalues[j]); in make_entry() 1236 ldap_value_free_len(bvalues); in make_entry() [all …]
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | ldap_principal2.c | 1249 krb5_decode_krbsecretkey(context, entries, bvalues) in krb5_decode_krbsecretkey() argument 1252 struct berval **bvalues; 1262 for (i=0; bvalues[i] != NULL; ++i) { 1268 if (bvalues[i]->bv_len == 0) 1270 in.length = bvalues[i]->bv_len; 1271 in.data = bvalues[i]->bv_val; 1302 ldap_value_free_len(bvalues);
|
H A D | ldap_misc.c | 1973 struct berval **bvalues = NULL; in populate_krb5_db_entry() local 2111 if ((bvalues=ldap_get_values_len(ld, ent, "krbprincipalkey")) != NULL) { in populate_krb5_db_entry() 2113 if ((st=krb5_decode_krbsecretkey(context, entry, bvalues)) != 0) in populate_krb5_db_entry()
|