--Apple-Mail-19-845722018 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed
Le 25 f=E9vr. 07 =E0 17:40, Pierangelo Masarati a =E9crit :
[...]
Note that this "simpified" back-perl backend what working very well on OpenLDAP 2.2.xx branch... And the documentation doesn't seems to show some big changes in this part...
The question is: have you ever read RFC2849 (LDIF specs)? I know the answer: NO. The point is: you're developing code (back-perl =20 scripting is considered code development) and you don't even care to find out =20 what the specs say for a minimal detail like code interoperability! Have =20 you even looked at an LDIF example? How can you pretend to guess, by trial and error, when your LDIF formatting will be finally accepted by a =20 (decent) LDIF parser? The syntax (made easy) is clear:
<attribute name> (no space) : (space) <value>
that's it. Apparently you tried all combinations __except__ the =20 one that works, but looking, e.g., to the output of ldapsearch would have =20 put you in the right direction even without reading RFC 2849.
I am sorry *but* I have tried this combination :
We get a request for UID Looking for : (uid=3Dkiwi@oav.net) We get some results... Sending -> dn: uid=3Dkiwi@oav.net,ou=3Dmailboxes,dc=3Dkazar,dc=3Dnet objectClass: top objectClass: kazarPerson uid: kiwi@oav.net cn: Nom Prenom description: Sample description uidNumber: 10 gidNumber: 10 userPassword: Password homeDirectory: /home/test mailQuota: 50 CouriermailQuota: 50S
=3D> ldap_bv2dn(uid=3Dkiwi@oav.net,ou=3Dmailboxes,dc=3Dkazar,dc=3Dnet,0) <=3D ldap_bv2dn(uid=3Dkiwi@oav.net,ou=3Dmailboxes,dc=3Dkazar,dc=3Dnet)=3D0=
=3D> ldap_dn2bv(272) <=3D ldap_dn2bv(uid=3Dkiwi@oav.net,ou=3Dmailboxes,dc=3Dkazar,dc=3Dnet)=3D0=
=3D> ldap_dn2bv(272) <=3D ldap_dn2bv(uid=3Dkiwi@oav.net,ou=3Dmailboxes,dc=3Dkazar,dc=3Dnet)=3D0=
ldif_parse_line: missing ':' after <=3D str2entry: slap_str2undef_ad(): empty AttributeDescription str2entry(dn) failed send_ldap_result: err=3D0 matched=3D"" text=3D"" conn=3D0 op=3D1 SEARCH RESULT tag=3D101 err=3D0 nentries=3D0 text=3D daemon: select: listen=3D6 active_threads=3D0 tvp=3DNULL daemon: select: listen=3D7 active_threads=3D0 tvp=3DNULL daemon: activity on 1 descriptor daemon: activity on: 8r daemon: read activity on 8 connection_get(8) ber_dump: buf=3D0x08539150 ptr=3D0x08539150 end=3D0x08539155 len=3D5 0000: 02 01 03 42 00 ...B. conn=3D0 op=3D2 UNBIND daemon: removing 8 conn=3D0 fd=3D8 closed daemon: select: listen=3D6 active_threads=3D0 tvp=3DNULL daemon: select: listen=3D7 active_threads=3D0 tvp=3DNULL daemon: activity on 1 descriptor daemon: waked daemon: select: listen=3D6 active_threads=3D0 tvp=3DNULL daemon: select: listen=3D7 active_threads=3D0 tvp=3DNULL
Unless you can prove that back-perl LDIF parser doesn't work with =20 decently formatted LDIF, I'll consider this ITS closed.
It *is* buggy proove me the contrary and be not so arrogant.
/Xavier=
--Apple-Mail-19-845722018 Content-Transfer-Encoding: base64 Content-Type: application/pkcs7-signature; name=smime.p7s Content-Disposition: attachment; filename=smime.p7s
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIILJjCCAz8w ggKooAMCAQICAQ0wDQYJKoZIhvcNAQEFBQAwgdExCzAJBgNVBAYTAlpBMRUwEwYDVQQIEwxXZXN0 ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEaMBgGA1UEChMRVGhhd3RlIENvbnN1bHRpbmcx KDAmBgNVBAsTH0NlcnRpZmljYXRpb24gU2VydmljZXMgRGl2aXNpb24xJDAiBgNVBAMTG1RoYXd0 ZSBQZXJzb25hbCBGcmVlbWFpbCBDQTErMCkGCSqGSIb3DQEJARYccGVyc29uYWwtZnJlZW1haWxA dGhhd3RlLmNvbTAeFw0wMzA3MTcwMDAwMDBaFw0xMzA3MTYyMzU5NTlaMGIxCzAJBgNVBAYTAlpB MSUwIwYDVQQKExxUaGF3dGUgQ29uc3V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