From: The Shell (samwun at hgcbroadband dot com)
Date: Thu Jun 03 2004 - 05:34:57 EDT
Hi,
I finally got GSSAPI compiled with SASL, but error occured when testing
the sample client and server.
The klist command of Heimdal Kerberos 5 shown the following priciples:
root at fbsd [5:13pm] [...cyrus-sasl-2.1.18/sample]# klist
Credentials cache: FILE:/tmp/krb5cc_0
Principal: sam at ROCK dot COM
Issued Expires Principal
Jun 3 17:17:53 Jun 3 23:57:53 krbtgt/ROCK dot COM at ROCK dot COM
Jun 3 17:18:53 Jun 3 23:57:53 host/fbsd dot rock dot com at ROCK dot COM
root at fbsd [5:31pm] [...cyrus-sasl-2.1.18/sample]#
Message from the sample server::
./sample-server -s host -p ../plugins/.libs
.......
got 'GSSAPI'
Sending response...
S:
YGwGCSqGSIb3EgECAgIAb10wW6ADAgEFoQMCAQ+iTzBNoAMCARCiRgREAEQM3hY7ovvFlIeYJwJOZzxv+NwWaQnhoHi6007SbsVDMiJfeHZpYU/PHelUTE6CwS46H8N10ObrvAAwKDzXXb2nIh0=
Waiting for client reply...
^C
root at fbsd [5:22pm] [...cyrus-sasl-2.1.18/sample]#
Message from sample client:
./sample-client -s host -n fbsd.rock.com -u root -p ../plugins/.libs
.....
C:
Waiting for server reply...
S:
YGwGCSqGSIb3EgECAgIAb10wW6ADAgEFoQMCAQ+iTzBNoAMCARCiRgREAEQM3hY7ovvFlIeYJwJOZzxv+NwWaQnhoHi6007SbsVDMiJfeHZpYU/PHelUTE6CwS46H8N10ObrvAAwKDzXXb2nIh0=
recieved 110 byte message
lt-sample-client: SASL Other: GSSAPI Error: A token was invalid
(Unknown error: 0)
lt-sample-client: Performing SASL negotiation: generic failure
root at fbsd [5:21pm] [...cyrus-sasl-2.1.18/sample]#
I m using the latest version of Cyrus-sasl, Heimdal Kerberos in FreeBSD
5.2.1
thanks
sam
|
|
|