heimdal 0.7rc1

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

heimdal 0.7rc1

Love Hörnquist Åstrand

Hi

With much help of David Love, Heimdal 0.7 is nearing completion. There are
some minor issue to clear out before release, but we are getting there.

Please test and provide feedback.

ftp://ftp.pdc.kth.se/pub/heimdal/src/snapshots/heimdal-0.7rc1.tar.gz

Love


attachment0 (487 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: heimdal 0.7rc1

Dave Love
Apart from the solaris test failure, I think there are still some
potentially-significant type-related warnings, e.g. from the sunpro
compiler.  Kcm doesn't work on Solaris or Irix, at least, but I
haven't had a chance to try to debug it; the client gets broken pipe
errors.
Reply | Threaded
Open this post in threaded view
|

Re: heimdal 0.7rc1

Love Hörnquist Åstrand

Dave Love <[hidden email]> writes:

> Kcm doesn't work on Solaris or Irix, at least, but I haven't had a chance
> to try to debug it; the client gets broken pipe errors.

Kcm doesn't work because solaris is missing getpeereid, getpeerucred
(exists in Solaris 10), SCM_CREDS or something like it for unix sockets. I
could add support for doors, and that would solve the problem.

Love


attachment0 (487 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: heimdal 0.7rc1

Dave Love
Love Hörnquist Åstrand <[hidden email]> writes:

> Kcm doesn't work because solaris is missing getpeereid, getpeerucred
> (exists in Solaris 10), SCM_CREDS or something like it for unix sockets. I
> could add support for doors, and that would solve the problem.

Only on Solaris, though.  configure should probably check for whatever
it can use and build kcm depending on the result.  I don't see any of
those things on Irix, for instance.

Reply | Threaded
Open this post in threaded view
|

Re: heimdal 0.7rc1

Måns Nilsson
In reply to this post by Love Hörnquist Åstrand


--On måndag 23 maj 2005 17.15 +0200 Love Hörnquist Åstrand <[hidden email]>
wrote:

>
> Hi
>
> With much help of David Love, Heimdal 0.7 is nearing completion. There are
> some minor issue to clear out before release, but we are getting there.
>
> Please test and provide feedback.
>
> ftp://ftp.pdc.kth.se/pub/heimdal/src/snapshots/heimdal-0.7rc1.tar.gz

        (this is a repeat of things written in the swedish heimdal bbs at Stacken)

OS X: Good results from

./configure --without-krb4 --with-x --enable-shared --enable-static


64-bit Solaris 8:

CFLAGS=-m64 LDFLAGS=-m64 ./configure \
        --with-x \
        --without-krb4 \
        --with-openssl=/usr/local/ssl \
        --enable-shared \
        --with-gnu-ld=no

Works nicely. Thanks.

64-bit Solaris 9 is a bit troubly:

CFLAGS=-m64 LDFLAGS=-m64 ./configure \
        --with-x \
        --without-krb4 \
        --with-openssl=/usr/local/ssl \
        --enable-shared \
        --with-gnu-ld=no

Making all in otp
make[2]: Entering directory
`/afs/besserwisser.org/home/mansaxel/src/heimdal-0.7rc1/appl/otp'
gcc  -DHAVE_CONFIG_H -I. -I. -I../../include  -I../../include
-I../../lib/roken -I../../lib/roken -I/usr/local/ssl/include  -Wall
-Wmissing-prototypes -Wpointer-arith -Wbad-function-cast
-Wmissing-declarations -Wnested-externs -m64 -c otp.c
/bin/bash ../../libtool --mode=link gcc  -Wall -Wmissing-prototypes
-Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs
-m64  -m64 -o otp  otp.o ../../lib/otp/libotp.la -lresolv -lnsl -lsocket
-pthreads
mkdir .libs
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast
-Wmissing-declarations -Wnested-externs -m64 -m64 -o .libs/otp otp.o
../../lib/otp/.libs/libotp.so -L/usr/local/ssl/lib -lcrypto
/afs/besserwisser.org/home/mansaxel/src/heimdal-0.7rc1/lib/roken/.libs/libroken.so
-lresolv -lnsl -lsocket -pthreads -R/usr/heimdal/lib
Undefined                       first referenced
 symbol                             in file
print_version                       otp.o
ld: fatal: Symbol referencing errors. No output written to .libs/otp
collect2: ld returned 1 exit status
make[2]: *** [otp] Error 1
make[2]: Leaving directory
`/afs/besserwisser.org/home/mansaxel/src/heimdal-0.7rc1/appl/otp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/afs/besserwisser.org/home/mansaxel/src/heimdal-0.7rc1/appl'
make: *** [all-recursive] Error 1

Suggestions?

--
Måns Nilsson         Systems Specialist
+46 70 681 7204         KTHNOC
                        MN1334-RIPE

attachment0 (193 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: heimdal 0.7rc1

Love Hörnquist Åstrand

Måns Nilsson <[hidden email]> writes:

> Undefined                       first referenced
>  symbol                             in file
> print_version                       otp.o
> ld: fatal: Symbol referencing errors. No output written to .libs/otp
> collect2: ld returned 1 exit status
> make[2]: *** [otp] Error 1
> make[2]: Leaving directory
> `/afs/besserwisser.org/home/mansaxel/src/heimdal-0.7rc1/appl/otp'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/afs/besserwisser.org/home/mansaxel/src/heimdal-0.7rc1/appl'
> make: *** [all-recursive] Error 1
>
> Suggestions?
Don't forget to regenerate the makefile with automake.

Can you send me the textfile lib/otp/libotp.la privately ?

Love


--- appl/otp/Makefile.am 26 Aug 2004 11:55:17 -0000 1.12
+++ appl/otp/Makefile.am 29 May 2005 13:08:22 -0000 1.13
@@ -12,4 +12,5 @@
 man_MANS = otp.1  otpprint.1
 
 LDADD = \
- $(top_builddir)/lib/otp/libotp.la
+ $(top_builddir)/lib/otp/libotp.la \
+ $(LIB_roken)

attachment0 (487 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: heimdal 0.7rc1

Love Hörnquist Åstrand
In reply to this post by Dave Love

Dave Love <[hidden email]> writes:

> Apart from the solaris test failure, I think there are still some
> potentially-significant type-related warnings, e.g. from the sunpro
> compiler.

I fixed the string-to-key-test failure when using sunpro, it was a
un-initalized variable in DES_cbc_cksum(). Some of warning from sunpro
should be fixed, but requires some managleing of asn1 structures, so I'll
avoid those for now.

> Kcm doesn't work on Solaris or Irix, at least, but I
> haven't had a chance to try to debug it; the client gets broken pipe
> errors.

The snapshot generated tonight have doors support and should work all
version of solaris that have doors. It requires that you compile with
pthread support (since doors requires threads).

Love


bash-2.05$ uname -a
SunOS my.nada.kth.se 5.9 Generic_118558-05 sun4u sparc SUNW,Ultra-4
bash-2.05$ ./kcm/kcm --door-path=/tmp/love/.door --socket-path=/tmp/love/.socket &
bash-2.05$ env KRB5_CONFIG=/tmp/love/krb5.conf ./kuser/kinit -c KCM:913 [hidden email]
[hidden email]'s Password:
bash-2.05$ env KRB5_CONFIG=/tmp/love/krb5.conf ./kuser/klist -c KCM:913
Credentials cache: KCM:913
        Principal: [hidden email]

  Issued           Expires          Principal
May 29 18:39:32  May 30 04:39:32  krbtgt/[hidden email]
May 29 18:39:32  May 30 04:39:32  krbtgt/[hidden email]
May 29 18:39:32  May 30 04:39:32  [hidden email]
May 29 18:39:32  May 30 04:39:32  krbtgt/[hidden email]
May 29 18:39:33  May 30 04:39:32  [hidden email]
May 29 18:39:33  May 30 04:39:32  afs/[hidden email]


attachment0 (487 bytes) Download Attachment