Thanks, the problem was in base64. Timeout for 1 sec. I use only for
testing.
2010/6/29 Steffen Kaiser
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On Tue, 29 Jun 2010, Неворотин Вадим wrote:
>
> my $base64 = encode_base64("\0$login\0$passwd");
>> $sock->send("AUTH\t1\tPLAIN\tservice=$
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Tue, 29 Jun 2010, Неворотин Вадим wrote:
my $base64 = encode_base64("\0$login\0$passwd");
$sock->send("AUTH\t1\tPLAIN\tservice=$service\tsecured\tresp=$base64\n") or
die "Can't write to $socket";
There is a wicked side effect of encode_base64()
Yes, but this module doesn't work with my dovecot)) So I've tried to
manually debug it - and it really does not work and has an error somewhere.
Dovecot 1.2.10 from Debian backports.
2010/6/29 Anton Dollmaier
> Hi,
>
>
>
> I've wrote such script:
>>
>
> use Authen::SASL::Authd, as suggested b
Hi,
I've wrote such script:
use Authen::SASL::Authd, as suggested by Steffen.
This code-snippet should help you:
http://search.cpan.org/~sasha/Authen-SASL-Authd-0.04/lib/Authen/SASL/Authd.pm
#!/usr/bin/perl
use Authen::SASL::Authd qw(auth_cyrus auth_dovecot);
$login = "test";
$passwd
-- Forwarded message --
From: Неворотин Вадим
Date: 2010/6/29
Subject: Re: [Dovecot] Work with auth socket
To: Steffen Kaiser
Hmm, I have some problems with realization of authentication throw dovecot
socket.
I've wrote such script:
#!/usr/bin/perl
$login = "test
Thank you!
2010/6/24 Steffen Kaiser
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
>
> On Thu, 24 Jun 2010, Неворотин Вадим wrote:
>
> I need to use Dovecot auth socket from my perl script to validate user's
>> passwords (for jabber server). Is there any information about how to
>> communi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Thu, 24 Jun 2010, Неворотин Вадим wrote:
I need to use Dovecot auth socket from my perl script to validate user's
passwords (for jabber server). Is there any information about how to
communicate with dovecot auth socket?
http://search.cpan.org/
I need to use Dovecot auth socket from my perl script to validate user's
passwords (for jabber server). Is there any information about how to
communicate with dovecot auth socket?