Lines Matching defs:vals
610 char **vals;
612 vals = ldap_get_values(LDAPLMAP.ldap_ld, entry, attr);
613 if (vals == NULL)
638 if (vals[0] == NULL || vals[0][0] == '\0')
644 strlen(vals[0]) >= sizeof(user->mbdb_fullname))
647 sm_pwfullname(vals[0], name, user->mbdb_fullname,
654 strlen(vals[0]) >= sizeof(user->mbdb_homedir))
657 (void) sm_strlcpy(user->mbdb_homedir, vals[0],
664 strlen(vals[0]) >= sizeof(user->mbdb_shell))
667 (void) sm_strlcpy(user->mbdb_shell, vals[0],
678 for (p = vals[0]; *p != '\0'; p++)
681 if (p == vals[0] && *p == '-')
690 user->mbdb_uid = atoi(vals[0]);
700 for (p = vals[0]; *p != '\0'; p++)
703 if (p == vals[0] && *p == '-')
712 user->mbdb_gid = atoi(vals[0]);
717 ldap_value_free(vals);