Home
last modified time | relevance | path

Searched refs:bvalues (Results 1 – 4 of 4) sorted by relevance

/titanic_50/usr/src/cmd/idmap/idmapd/
H A Dadutils.c350 idmap_bv_objclass2sidtype(BerValue **bvalues, int *sid_type) in idmap_bv_objclass2sidtype() argument
355 if (bvalues == NULL) in idmap_bv_objclass2sidtype()
363 for (cbval = bvalues; *cbval != NULL; cbval++) { in idmap_bv_objclass2sidtype()
388 BerValue **bvalues; in idmap_extract_object() local
406 bvalues = ldap_get_values_len(ld, res, OBJCLASS); in idmap_extract_object()
407 if (bvalues == NULL) { in idmap_extract_object()
415 ok = idmap_bv_objclass2sidtype(bvalues, &sid_type); in idmap_extract_object()
416 ldap_value_free_len(bvalues); in idmap_extract_object()
433 bvalues = ldap_get_values_len(ld, res, attr); in idmap_extract_object()
434 if (bvalues != NULL) { in idmap_extract_object()
[all …]
/titanic_50/usr/src/lib/libadutils/common/
H A Dadutils.c55 static char *adutils_sid_ber2str(BerValue *bvalues);
63 char *(*ber2str)(BerValue *bvalues);
1141 BerValue **bvalues = NULL; in make_entry() local
1212 bvalues = in make_entry()
1214 if (bvalues == NULL) in make_entry()
1216 ap->num_values = ldap_count_values_len(bvalues); in make_entry()
1218 ldap_value_free_len(bvalues); in make_entry()
1219 bvalues = NULL; in make_entry()
1230 binattrs[b].ber2str(bvalues[j]); in make_entry()
1234 ldap_value_free_len(bvalues); in make_entry()
[all …]
/titanic_50/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_principal2.c1251 krb5_decode_krbsecretkey(context, entries, bvalues) in krb5_decode_krbsecretkey() argument
1254 struct berval **bvalues;
1264 for (i=0; bvalues[i] != NULL; ++i) {
1270 if (bvalues[i]->bv_len == 0)
1272 in.length = bvalues[i]->bv_len;
1273 in.data = bvalues[i]->bv_val;
1304 ldap_value_free_len(bvalues);
H A Dldap_misc.c1973 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()