Lines Matching defs:vals
2438 struct berval **vals;
2483 vals = ldap_get_values_len(sh->ldap, msg->msg, "objectClass");
2484 if (!vals) {
2492 for (i = 0; vals[i]; i++) {
2495 vals[i]->bv_val, vals[i]->bv_len) == 0) {
2524 ldap_value_free_len(vals);
2659 struct berval **vals = NULL;
2674 vals = ldap_get_values_len(sh->ldap, msg->msg,
2676 if (vals == NULL) {
2677 vals = ldap_get_values_len(sh->ldap, msg->msg,
2679 if (vals == NULL) {
2685 if (vals[0] == NULL) {
2691 strtouint32(vals[0]->bv_val, &endptr, 10);
2692 if (errno || *endptr || (vals[0]->bv_val == endptr)) {
2694 "POSIX attribute is not a number: %s\n", vals[0]->bv_val);
2699 ldap_value_free_len(vals);