Mathieu Parent <math.par...@gmail.com> writes:

> On Wed, Sep 8, 2010 at 12:54 PM, Dieter Kluenter <die...@dkluenter.de> wrote:
>> Mathieu Parent <math.par...@gmail.com> writes:
>>
>>> On Mon, Sep 6, 2010 at 10:48 PM, Dieter Kluenter <die...@dkluenter.de> 
>>> wrote:
>>>> Hi,
>>>> after updating Authen::SASL to version 2.15 and Net::LDAP to version
>>>> 0.4001, running http://pastebin.de/9737
>>>>  I get following warnings
>>>>
>>>>   Use of uninitialized value in numeric gt (>) at
>>>>   /usr/lib/perl5/site_perl/5.10.0/Authen/SASL/Perl.pm line 179,
>>>> and
>>>>  Useless use of hash element in void context at
>>>>  /usr/lib/perl5/site_perl/5.10.0/Net/LDAP/Intermediate/SyncInfo.pm
>>>>  line 59,
>>> Hm, this is beyong my perl knowledge.
>>>
>>> Does doing a simple search works (without SyncRequest)?
>>
>> yes, a normal search without SyncRequest but with simple bind and
>> start_tls work without warnings.
>>
>>>
>>> Does removing line 61 of Net/LDAP/Intermediate/SyncInfo.pm
>>> ($self->{asn}{cookie};) suppress the second warning?
>>
>> OK, removing this line supressed the second warming.
>
> And do you still have the second warning without start_tls but with
> syncRequest? (add again line 61). If not, this is really strange...
> and should be investigated further.
>
> Possibly syncrequest corrupts TLS data. Can you set debug to 3 and
> attach the code and log for the following scenarii?
> - simple search without TLS
> - syncRepl search without TLS
> - simple search with TLS
> - syncRepl search with TLS

I still experience the sasl bind issue with syncRequest, here is the
ouput of syncRequest and sasl DIGEST-MD5 bind, the result is
comunication error from this snipped:

 elsif($message->code) {
    if ($message->code == 1) {
  die "Communication Error: disconnecting";
 }

and the bind process never finishes, due to disconnecting.

.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.--.--.-.--

Net::LDAP=HASH(0x85cbae4) sending:

30 1D 02 01 01 77 18 80 16 31 2E 33 2E 36 2E 31 0....w...1.3.6.1
2E 34 2E 31 2E 31 34 36 36 2E 32 30 30 33 37 __ .4.1.1466.20037

Net::LDAP=HASH(0x82998c4) received:

30 0C 02 01 01 78 07 0A 01 00 04 00 04 00 __ __ 0....x........

Net::LDAP=HASH(0x85cbae4) sending:

30 1A 02 01 02 60 15 02 01 03 04 00 A3 0E 04 0A 0....`..........
44 49 47 45 53 54 2D 4D 44 35 04 00 __ __ __ __ DIGEST-MD5..

Net::LDAP=HASH(0x85cbae4) sending:

30 81 96 02 01 03 63 30 04 0B 6F 3D 61 76 63 69 0.....c0..o=avci
2C 63 3D 64 65 0A 01 02 0A 01 02 02 01 00 02 01 ,c=de...........
00 01 01 00 87 0B 6F 62 6A 65 63 74 43 6C 61 73 ......objectClas
73 30 05 04 03 2A 2C 2B A0 5F 30 5D 04 18 31 2E s0...*,+._0]..1.
33 2E 36 2E 31 2E 34 2E 31 2E 34 32 30 33 2E 31 3.6.1.4.1.4203.1
2E 39 2E 31 2E 31 01 01 FF 04 3E 30 3C 0A 01 03 .9.1.1....>0<...
04 34 72 69 64 3D 30 39 39 2C 63 73 6E 3D 32 30 .4rid=099,csn=20
31 30 30 39 30 35 31 30 32 30 32 39 2E 37 35 30 100905102029.750
34 39 35 5A 23 30 30 30 30 30 30 23 30 30 30 23 495Z#000000#000#
30 30 30 30 30 30 01 01 00 __ __ __ __ __ __ __ 000000...

Net::LDAP=HASH(0x85cbae4) received:

30 81 E7 02 01 02 61 81 E1 0A 01 0E 04 00 04 1C 0.....a.........
53 41 53 4C 28 30 29 3A 20 73 75 63 63 65 73 73 SASL(0): success
66 75 6C 20 72 65 73 75 6C 74 3A 20 87 81 BB 6E ful result: ...n
6F 6E 63 65 3D 22 6E 4B 30 44 67 78 6B 64 75 37 once="nK0Dgxkdu7
2F 4F 55 44 63 35 31 45 44 4E 59 70 30 5A 4E 64 /OUDc51EDNYp0ZNd
70 48 31 41 45 37 4A 74 63 57 37 6A 4E 70 64 76 pH1AE7JtcW7jNpdv
4D 3D 22 2C 72 65 61 6C 6D 3D 22 6D 61 67 65 6E M=",realm="magen
74 61 2E 6C 34 62 2E 64 65 22 2C 71 6F 70 3D 22 ta.l4b.de",qop="
61 75 74 68 2C 61 75 74 68 2D 69 6E 74 2C 61 75 auth,auth-int,au
74 68 2D 63 6F 6E 66 22 2C 63 69 70 68 65 72 3D th-conf",cipher=
22 72 63 34 2D 34 30 2C 72 63 34 2D 35 36 2C 72 "rc4-40,rc4-56,r
63 34 2C 64 65 73 2C 33 64 65 73 22 2C 6D 61 78 c4,des,3des",max
62 75 66 3D 36 35 35 33 36 2C 63 68 61 72 73 65 buf=65536,charse
74 3D 75 74 66 2D 38 2C 61 6C 67 6F 72 69 74 68 t=utf-8,algorith
6D 3D 6D 64 35 2D 73 65 73 73 __ __ __ __ __ __ m=md5-sess

Net::LDAP=HASH(0x86fa0ec) sending:

30 82 01 17 02 01 04 60 82 01 10 02 01 03 04 00 0......`........
A3 82 01 07 04 0A 44 49 47 45 53 54 2D 4D 44 35 ......DIGEST-MD5
04 81 F8 63 68 61 72 73 65 74 3D 75 74 66 2D 38 ...charset=utf-8
2C 63 6E 6F 6E 63 65 3D 22 36 62 32 31 35 31 64 ,cnonce="6b2151d
36 35 37 37 30 36 31 37 37 62 66 61 62 32 32 33 657706177bfab223
38 30 39 62 37 65 32 34 37 22 2C 64 69 67 65 73 809b7e247",diges
74 2D 75 72 69 3D 22 6C 64 61 70 2F 31 32 37 2E t-uri="ldap/127.
30 2E 30 2E 31 22 2C 6E 63 3D 30 30 30 30 30 30 0.0.1",nc=000000
30 31 2C 6E 6F 6E 63 65 3D 22 6E 4B 30 44 67 78 01,nonce="nK0Dgx
6B 64 75 37 2F 4F 55 44 63 35 31 45 44 4E 59 70 kdu7/OUDc51EDNYp
30 5A 4E 64 70 48 31 41 45 37 4A 74 63 57 37 6A 0ZNdpH1AE7JtcW7j
4E 70 64 76 4D 3D 22 2C 71 6F 70 3D 61 75 74 68 NpdvM=",qop=auth
2D 69 6E 74 2C 72 65 61 6C 6D 3D 22 6D 61 67 65 -int,realm="mage
6E 74 61 2E 6C 34 62 2E 64 65 22 2C 72 65 73 70 nta.l4b.de",resp
6F 6E 73 65 3D 65 35 32 30 39 63 66 36 63 66 34 onse=e5209cf6cf4
61 31 34 66 31 66 36 62 31 65 66 61 66 36 35 31 a14f1f6b1efaf651
33 66 61 32 39 2C 75 73 65 72 6E 61 6D 65 3D 22 3fa29,username="
72 65 70 6C 69 63 61 74 6F 72 22 __ __ __ __ __ replicator"

Net::LDAP=HASH(0x85cbae4) received:

30 21 02 01 03 65 1C 0A 01 01 04 00 04 15 53 41 0!...e........SA
53 4C 20 62 69 6E 64 20 69 6E 20 70 72 6F 67 72 SL bind in progr
65 73 73 __ __ __ __ __ __ __ __ __ __ __ __ __ ess

<<Callback start
Communication Error: disconnecting at 
/home/dieter/Projekte/perlscripts/syncRequestTest-M.P.pl line 137, <DATA> line 
522.


-Dieter

-- 
Dieter Klünter | Systemberatung
sip: 7770...@sipgate.de 
http://www.dpunkt.de/buecher/2104.html
GPG Key ID:8EF7B6C6

Reply via email to