krb5-1.9-beta2 is available

Marcus Watts mdw at umich.edu
Tue Dec 7 04:23:09 EST 2010


Tom Yu <tlyu at mit.edu> wrote:
> MIT krb5-1.9-beta2 is now available for download from
...
> Please send comments to the krbdev list.  This is beta release
> intended to be the code freeze for the 1.9 release.  The final release
...

Things I noticed,
/1/
The fix for a memory leak on the client side when changing
passwords appears to be not quite complete.  The memory is actually
allocated inside a loop, but only the last iteration's memory is freed.
Here's a patch for the part that's missing from 1.9b2:
/afs/umich.edu/group/itd/build/mdw/krb5.15x/patches/krb5-1.9b2-chpw1.patch

/2/
typo fix "operaton"
/afs/umich.edu/group/itd/build/mdw/krb5.15x/patches/krb5-1.9b2-errmsg1.patch

/3/
"--with-hesiod" failed to build for me,

...
+ objlist=' ../kadm_err.so ../chpass_util_strings.so ../misc_free.so ../kadm_rpc_xdr.so ..
/chpass_util.so ../alt_prof.so ../str_conv.so ../logger.so
 pwqual.so pwqual_dict.so pwqual_empty.so pwqual_hesiod.so pwqual_princ.so kadm5_hook.so s
vr_policy.so svr_principal.so server_acl.so server_kdb.so server_misc.so server_init.so sv
r_iters.so svr_chpass_util.so adb_xdr.so'
+ gcc -shared -fPIC -Wl,-h,libkadm5srv_mit.so.8,--no-undefined -o libkadm5srv_mit.so.8.0 .
./kadm_err.so ../chpass_util_strings.so ../misc_free.so ../kadm_rpc_xdr.so ../chpass_util.
so ../alt_prof.so ../str_conv.so ../logger.so pwqual.so pwqual_dict.so pwqual_empty.so pwq
ual_hesiod.so pwqual_princ.so kadm5_hook.so svr_policy.so svr_principal.so server_acl.so s
erver_kdb.so server_misc.so server_init.so svr_iters.so svr_chpass_util.so adb_xdr.so -Wl,
--enable-new-dtags -Wl,-rpath -Wl,/usr/local/mit-k5-1.9beta2/lib -L../../../lib -lgssrpc -
lgssapi_krb5 -lkdb5 -lkrb5 -lk5crypto -lkrb5support -lcom_err -Wl,--version-script binutil
s.versions
pwqual_hesiod.so: In function `hesiod_check':
/home/mdw/src/kb19/lib/kadm5/srv/../../../../krb5-1.9-beta2/src/lib/kadm5/srv/pwqual_hesio
d.c:111: undefined reference to `hes_getpwnam'
collect2: ld returned 1 exit status
make[3]: *** [libkadm5srv_mit.so.8.0] Error 1
make[3]: Leaving directory `/home/mdw/src/kb19/lib/kadm5/srv'

Presumably there's a missing "$(HESIOD_LIBS)" somewhere in the makefile.
	Uh.
		Somewhere...

It also surprises me that it should need that library when building libkadm5srv_mit.
Surely the whole point of putting the hesiod logic into a plugin is, like,
to have it be a separate plugin?

				-Marcus Watts



More information about the krbdev mailing list