Home > Archive > LDAP > September 2006 > Net::SMTP && Authen::SASL::Perl::GSSAPI on Mac OS X 10.4.7
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Net::SMTP && Authen::SASL::Perl::GSSAPI on Mac OS X 10.4.7
|
|
| Nathan Herring 2006-09-20, 7:05 pm |
| I am trying to get GSSAPI authentication working with an SMTP server on fro=
m a Mac 10.4.7 client. I'm using the stock Perl installation (5.8.6), and I=
manually installed GSSAPI-0.23 & Authen-SASL-2.10. I made a minor edit to =
Net::SMTP to print out the $client->error contents (since it was failing), =
and I'm getting the following when the Debug option is used with Net::SMTP:
Net::SMTP=3DGLOB(0x1877e40)<<< 334 GSSAPI supported
Premature end of base64 data at /System/Library/Perl/5.8.6/Net/SMTP.pm line=
151.
Authen::SASL::Perl::GSSAPI=3DHASH(0x180e
690): GSSAPI Error : A token was in=
valid
No error
Net::SMTP=3DGLOB(0x1877e40)>>>
Net::SMTP=3DGLOB(0x1877e40)<<< 334 YGwGBisGAQUFAqBiMGCgMDAuBgkqhkiC9xIBAgIG
=
CSqGSIb3EgECAgYKKoZIhvcSAQICAwYKKwYBBAGC
NwICCqMsMCqgKBsmc2NmLWd3eS0wMSRAUkV=
ETU9ORC5DT1JQLk1JQ1JPU09GVC5DT00=3D
Authen::SASL::Perl::GSSAPI=3DHASH(0x180e
690): GSSAPI Error : A token was in=
valid
No error
Net::SMTP=3DGLOB(0x1877e40)>>>
Net::SMTP=3DGLOB(0x1877e40)<<< 535 5.7.3 Authentication unsuccessful.
Is this a known issue? Is there something I can do to debug this further? I=
cannot tell whether I'm having problems authenticating or it's having prob=
lems parsing the data... I can acquire the service ticket for "scf-gwy-01$@=
REDMOND.CORP.MICROSOFT.COM" via kvno, so I'm guessing it is some other issu=
e.
Please reply also to me, as I am not subscribed to this e-mail list.
Thanks in advance,
nh
| |
| Alexander Foken 2006-09-21, 4:15 am |
| Are you sure you wrote to the right mailing list? Perl-LDAP is for LDAP
problems, not for SASL or SMTP.
Regarding the error messages, some base64-encoded data is truncated.
Have a look at the source or copy-and-paste the error messages (not the
data or the addresses) into a www or news search engine.
Alexander
On 21.09.2006 01:52, Nathan Herring wrote:
> I am trying to get GSSAPI authentication working with an SMTP server on from a Mac 10.4.7 client. I'm using the stock Perl installation (5.8.6), and I manually installed GSSAPI-0.23 & Authen-SASL-2.10. I made a minor edit to Net::SMTP to print out the $
client->error contents (since it was failing), and I'm getting the following when the Debug option is used with Net::SMTP:
>
> Net::SMTP=GLOB(0x1877e40)<<< 334 GSSAPI supported
> Premature end of base64 data at /System/Library/Perl/5.8.6/Net/SMTP.pm line 151.
> Authen::SASL::Perl::GSSAPI=HASH(0x180e69
0): GSSAPI Error : A token was invalid
> No error
>
> Net::SMTP=GLOB(0x1877e40)>>>
> Net::SMTP=GLOB(0x1877e40)<<< 334 YGwGBisGAQUFAqBiMGCgMDAuBgkqhkiC9xIBAgIG
CSqGSIb3EgECAgYKKoZIhvcSAQICAwYKKwYBBAGC
NwICCqMsMCqgKBsmc2NmLWd3eS0wMSRAUkVETU9O
RC5DT1JQLk1JQ1JPU09GVC5DT00=
> Authen::SASL::Perl::GSSAPI=HASH(0x180e69
0): GSSAPI Error : A token was invalid
> No error
>
> Net::SMTP=GLOB(0x1877e40)>>>
> Net::SMTP=GLOB(0x1877e40)<<< 535 5.7.3 Authentication unsuccessful.
>
>
> Is this a known issue? Is there something I can do to debug this further? I cannot tell whether I'm having problems authenticating or it's having problems parsing the data... I can acquire the service ticket for "scf-gwy-01$@REDMOND.CORP.MICROSOFT.COM"
via kvno, so I'm guessing it is some other issue.
>
> Please reply also to me, as I am not subscribed to this e-mail list.
>
> Thanks in advance,
> nh
>
>
--
Alexander Foken
mailto:alexander@foken.de http://www.foken.de/alexander/
| |
| Simon Wilkinson 2006-09-21, 4:15 am |
|
On 21 Sep 2006, at 08:25, Alexander Foken wrote:
> Are you sure you wrote to the right mailing list? Perl-LDAP is for
> LDAP problems, not for SASL or SMTP.
No, as far as I'm aware, this list is the correct place for queries
about Authen::SASL - its certainly where I've posted all
of the revisions to my GSSAPI module.
> Regarding the error messages, some base64-encoded data is
> truncated. Have a look at the source or copy-and-paste the error
> messages (not the data or the addresses) into a www or news search
> engine.
Okay. I don't have time at the moment to experiment in detail, but
there is some additional debugging that would be useful.
Inside the while() loop on line 154 - it would be good to see what
the contents of ($self->message)[0] are before they are
passed to MIME::Base64::decode_base64()
If you can let me know (either on, or off, list) what that produces
I'll look in more detail this evening.
Cheers,
Simon.
| |
| Achim Grolms 2006-09-21, 4:15 am |
| On Thursday 21 September 2006 09:25, Alexander Foken wrote:
> Are you sure you wrote to the right mailing list? Perl-LDAP is for LDAP
> problems, not for SASL or SMTP.
perldoc Authen::SASL says:
"Please report any bugs, or post any suggestions, to the perl-ldap mailing
list <perl-ldap@perl.org>"
Achim
|
|
|
|
|