Bugzilla – Bug 277
Can not compile 1.6.9p12 with Kerberos support on a Solaris 8 or 9.
Last modified: 2008-03-06 16:11:29 MST
Hello, When attempting to compile Sudo 1.6.9p12 with Kerberos support on a Solaris 8 or 9 server (see configure options below) using Kerberos 5 version 1.6.3 libraries I get the below error. Sudo 1.6.9p11 compiles, installs and authenticates against Kerberos perfectly given the same configure options, platform and Kerberos libraries. Please let me know if there is any other information I should provide. Mark Maynard mmaynard@newcorp.com ./configure --disable-shadow --without-passwd --sysconfdir=/usr/local/etc --with-kerb5=/usr/local make gcc -c -I. -I. -I/usr/local/include -O2 -D__EXTENSIONS__ -D_PATH_SUDOERS=\"/usr/local/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/usr/local/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440 ./auth/kerb5.c ./auth/kerb5.c: In function `kerb5_verify': ./auth/kerb5.c:221: warning: passing arg 1 of `krb5_get_init_creds_opt_free' from incompatible pointer type ./auth/kerb5.c:221: error: too few arguments to function `krb5_get_init_creds_opt_free' *** Error code 1 make: Fatal error: Command failed for target `kerb5.o'
Looks like some heimdal-specific things crept in.
Created attachment 219 [details] Avoid heimdal specific interfaces With the following patch sudo 1.6.9p12 compiles using MIT Kerberos 5.
The content of attachment 219 [details] has been deleted by Todd C Miller <Todd.Miller@courtesan.com> who provided the following reason: Included unrelated diffs The token used to delete this attachment was generated at 2008-02-13 17:07:59 EST5EDT.
Created attachment 220 [details] Avoid heimdal specific interfaces With the following patch sudo 1.6.9p12 compiles using MIT Kerberos 5.
Fixed in sudo 1.6.9p13