svn rev #18824: branches/krb5-1-6/ src/plugins/kdb/ldap/ldap_util/ src/plugins/kdb/ldap/libkdb_ldap/
tlyu@MIT.EDU
tlyu at MIT.EDU
Thu Nov 16 16:18:41 EST 2006
Commit By: tlyu
Log Message:
ticket: 4772
version_fixed: 1.6
pull up r18813 from trunk
r18813 at cathode-dark-space: raeburn | 2006-11-15 19:51:21 -0500
ticket: new
subject: fix some warnings in ldap code
target_version: 1.6
tags: pullup
* libkdb_ldap/ldap_realm.c (ignore_duplicates, compare): Unused functions deleted.
(krb5_ldap_modify_realm, krb5_ldap_read_realm_params): Conditionalize declarations of
automatic variables that are only used for eDirectory.
* libkdb_ldap/ldap_service_stash.c (tohex): Use one sprintf call instead of two.
(dec_password): Use an unsigned type to fetch values with %x.
* libkdb_ldap/ldap_realm.h (ldap_filter_correct): Declare.
* libkdb_dlap/ldap_misc.c (my_strndup): Only define if HAVE_LDAP_STR2DN.
(populate_krb5_db_entry): Remove unused automatic variable.
* ldap_util/kdb5_ldap_util.c (cmd_table): Fix typo in preprocessing conditional.
* ldap_util/kdb5_ldap_realm.c (get_ticket_policy): Declarations first, then code.
* ldap_util/kdb5_ldap_services.c (kdb5_ldap_stash_service_password): On error, increment
exit_status; don't return a value.
* ldap_util/kdb5_ldap_services.h (kdb5_ldap_stash_service_password): Update decl.
Changed Files:
_U branches/krb5-1-6/
U branches/krb5-1-6/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_realm.c
U branches/krb5-1-6/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.c
U branches/krb5-1-6/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.h
U branches/krb5-1-6/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_util.c
U branches/krb5-1-6/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
U branches/krb5-1-6/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c
U branches/krb5-1-6/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.h
U branches/krb5-1-6/src/plugins/kdb/ldap/libkdb_ldap/ldap_service_stash.c
More information about the cvs-krb5
mailing list