Graham Barr <gb...@pobox.com> writes: > On Sep 22, 2009, at 4:35 AM, Dieter Kluenter wrote: > >> Hi, >> my ldap server is OpenLDAP-2.4.18 with sssvlv overlay configured. >> Running my perl script, which is in principle based on >> Net::LDAP::Control::VLV, I get following errors: >> >> slapd: >>> get_ctrls: oid="2.16.840.1.113730.3.4.9" (critical) >> <= get_ctrls: n=2 rc=2 err="vlv control value is absent" >> send_ldap_result: conn=0 op=2 p=3 > > can you call $ldap->debug(5); before your call to search and post the > output
OK, here it is: Net::LDAP=HASH(0xc93570) sending: 30 81 A2 02 01 03 63 4C 04 19 6F 75 3D 61 64 72 0.....cL..ou=adr 65 73 73 62 75 63 68 2C 6F 3D 61 76 63 69 2C 63 essbuch,o=avci,c 3D 64 65 0A 01 01 0A 01 02 02 01 00 02 01 00 01 =de............. 01 00 A3 1E 04 0B 6F 62 6A 65 63 74 43 6C 61 73 ......objectClas 73 04 0F 65 76 6F 6C 75 74 69 6F 6E 50 65 72 73 s..evolutionPers 6F 6E 30 00 A0 4F 30 2F 04 16 31 2E 32 2E 38 34 on0..O0/..1.2.84 30 2E 31 31 33 35 35 36 2E 31 2E 34 2E 34 37 33 0.113556.1.4.473 01 01 FF 04 12 30 10 30 0E 04 02 63 6E 80 08 32 .....0.0...cn..2 2E 35 2E 31 33 2E 33 30 1C 04 17 32 2E 31 36 2E .5.13.30...2.16. 38 34 30 2E 31 2E 31 31 33 37 33 30 2E 33 2E 34 840.1.113730.3.4 2E 39 01 01 FF __ __ __ __ __ __ __ __ __ __ __ .9... 0000 162: SEQUENCE { 0003 1: INTEGER = 3 0006 76: [APPLICATION 3] { 0008 25: STRING = 'ou=adressbuch,o=avci,c=de' 0023 1: ENUM = 1 0026 1: ENUM = 2 0029 1: INTEGER = 0 002C 1: INTEGER = 0 002F 1: BOOLEAN = FALSE 0032 30: [CONTEXT 3] { 0034 11: STRING = 'objectClass' 0041 15: STRING = 'evolutionPerson' 0052 : } 0052 0: SEQUENCE { 0054 : } 0054 : } 0054 79: [CONTEXT 0] { 0056 47: SEQUENCE { 0058 22: STRING = '1.2.840.113556.1.4.473' 0070 1: BOOLEAN = TRUE 0073 18: STRING 0075 : 30 10 30 0E 04 02 63 6E 80 08 32 2E 35 2E 31 33 0.0...cn..2.5.13 0085 : 2E 33 __ __ __ __ __ __ __ __ __ __ __ __ __ __ .3 0087 : } 0087 28: SEQUENCE { 0089 23: STRING = '2.16.840.1.113730.3.4.9' 00A2 1: BOOLEAN = TRUE 00A5 : } 00A5 : } 00A5 : } Net::LDAP=HASH(0xc93570) received: Fehlercode: 2 Fehlertext: Unrecognized version number or incorrect PDU structure Message: LDAP_PROTOCOL_ERROR -- Dieter Klünter | Systemberatung http://dkluenter.de GPG Key ID:8EF7B6C6 53°37'09,95"N 10°08'02,42"E