I eventually traced it to ldap_search_s returning LDAP_CONNECT_ERROR (error code 91) around line 272 of Mozilla::LDAP::Conn.pm. If I change it to accept LDAP_SUCCESS or LDAP_CONNECT_ERROR, it works normally.
Has anyone seen this before? Is it because AD is not returning a success code or is returning a referral?
The same thing with ldapsearch works no problem. Also no problem searching Novell eDirectory with the perl script.
Solaris 9 Perl 5.8.2 Mozilla::LDAP::API 1.4.1 Netscape/iPlanet LDAP C SDK 5.08 binaries from Sun Active Directory 2000 SP4
Snoop output: 1216: 0000 0026 040b 7768 656e 4372 6561 7465 ...&..whenCreate 1232: 6431 8400 0000 1304 1132 3030 3331 3132 d1.......2003112 1248: 3430 3533 3830 352e 305a 3084 0000 0051 4053805.0Z0....Q 1264: 0201 0265 8400 0000 480a 0109 0400 0441 ...e....H......A 1280: 5265 6665 7272 616c 3a0a 6c64 6170 3a2f Referral:.ldap:/ 1296: 2f54 4553 5441 442e 4c4f 4341 4c2f 434e /TESTAD.LOCAL/CN 1312: 3d43 6f6e 6669 6775 7261 7469 6f6e 2c44 =Configuration,D 1328: 433d 5445 5354 4144 2c44 433d 4c4f 4341 C=TESTAD,DC=LOCA 1344: 4c L
_______________________________________________ mozilla-directory mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-directory
