(prof_get_integer_def, prof_get_string_def): New functions: check specified
authorKen Raeburn <raeburn@mit.edu>
Tue, 5 Sep 2006 21:54:47 +0000 (21:54 +0000)
committerKen Raeburn <raeburn@mit.edu>
Tue, 5 Sep 2006 21:54:47 +0000 (21:54 +0000)
commit4297011023b26ae7d6a15e4d736657010676f0f8
treec5f842b53d7355501b3277e833974fe517e29d3e
parentb85776bd3398d250a226803c0bc56c411f445dae
(prof_get_integer_def, prof_get_string_def): New functions: check specified
config section in the profile, then the default section, then fall back to
passed default value (for integer only).  Set error string on error.
(krb5_ldap_read_server_params): Use them, instead of explicitly doubling each
profile_get call.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18562 dc483132-0cff-0310-8789-dd5450dbe970
src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c