Hi Michael,

to your findings in the posts on this thread this is most likely a problem in 
Authen-SASL-Cyrus resp. authen-SASL-Cyrus-*server.

I do not know whether the maintainers of these modules follow the perl-ldap 
mailing list.
Maybe you should open a bug at CPAN to make them aware of the problem.

It might be a problem that happens only on 64-bit architectures (or even only 
on AMD64/EMT64) since both modules use private definitions of the XPUSH* 
macros.

CU
Peter







On Monday, 23. January 2006 19:04, Hirmke Michael wrote:
> I get an error message
>
> substr outside of string at /usr/lib/perl5/vendor_perl/5.8.5/
>   x86_64-linux-thread-multi/Authen/SASL/Cyrus/Security.pm line 82,
>   <DATA> line 576
>
> in $oLDAP->schema() when using SASL method "GSSAPI" for binding to an
> AD DC. Using a bind method without SASL works without giving any error
> messages.
>
> $oSASL looks like this:
>
> $VAR1 = bless( {
>                  'mechanism' => 'GSSAPI',
>                  'conn' => bless( do{\(my $o = 29773936)},
> 'Authen::SASL::Cyrus' ), 'callback' => {
>                                  'user' => ' '
>                                }
>                }, 'Authen::SASL' );
>
> $oLDAP has these contents:
>
> $VAR1 = bless( {
>                  'net_ldap_version' => 3,
>                  'net_ldap_debug' => 0,
>                  'net_ldap_socket' => \*Authen::SASL::Cyrus::GLOB,
>                  'net_ldap_host' => '<fqdn addc>',
>                  'net_ldap_uri' => '<fqdn addc>',
>                  'net_ldap_resp' => {},
>                  'net_ldap_mesg' => {},
>                  'net_ldap_async' => 0,
>                  'net_ldap_refcnt' => 1
>                }, 'Net::LDAP' );
>
>
> I use
> - perl 5.8.5 on a 64bit SuSE Linux 9.2
>   (standard perl from that distribution)
> - perl-ldap 0.3301
> - Authen-SASL 2.09
> - Authen-SASL-Cyrus 0.11
> - cyrus-sasl 2.1.19
>
> Any idea, what might cause these messages?
>
> TIA.
>
> Bye.
> Michael.

-- 
Peter Marschall
eMail: [EMAIL PROTECTED]

Reply via email to