[Date Prev][Date Next] [Chronological] [Thread] [Top]

ldapsearch problem on W2K



Hello,

Please excuse me if this is not the correct list to post this question.

I have a problem with ldapsearch on W2K. I am trying to download a binary
CRL from a public LDAP repository but the file I get is corrupted. However
the equivalent command on Linux works just fine. I have tested several
versions of openldap on W2K and I have the same problem with all of them.

Any help is very much appreciated. Thanks in advance,
Jose Palao

*  *  *

OUTPUT ON LINUX RH9:
[root@www5 openldap]# rpm -q openldap openldap-2.0.27-8

[root@www5 openldap]# ldapsearch -tt -L -x -v -T "/root/openldap" -b 
"cn=CRL375,ou=FNMT Clase 2 CA,o=FNMT,c=ES" -h ldap.cert.fnmt.es -p 389 -s 
base "(objectclass=*)" "certificateRevocationList;binary"
ldap_init( ldap.cert.fnmt.es, 389 )
filter: (objectclass=*)
requesting: certificateRevocationList;binary
version: 1

#
# filter: (objectclass=*)
# requesting: certificateRevocationList;binary
#

# CRL375, FNMT Clase 2 CA, fnmt, es
dn: cn=CRL375,ou=FNMT Clase 2 CA,o=fnmt,c=es
certificateRevocationList;binary:< file:///root/openldap/ldapsearch-certifica
 teRevocationList;binary-JugHR0

# search result

# numResponses: 2
# numEntries: 1

[root@www5 openldap]# openssl md5 
"ldapsearch-certificateRevocationList;binary-JugHR0"
MD5(ldapsearch-certificateRevocationList;binary-JugHR0)= 
f17383038e331f7ba3bcfd06ea6cb31c


OUTPUT ON W2K:

E:\openldap>ldapsearch -VV
ldapsearch: @(#) $OpenLDAP: ldapsearch 2.1.17 (Jun  1 2003 23:13:57) $
        admin@WIN2000WKS E:/openldap3/openldap-2.1.17/clients/tools
        (LDAP library: OpenLDAP 0)

E:\openldap>ldapsearch -tt -x -v -L -T "./" -b "cn=CRL375,ou=FNMT Clase 2 CA,o=F
NMT,c=ES" -h ldap.cert.fnmt.es -p 389 -s base "(objectclass=*)" "certificateRevo
cationList;binary"
ldap_init( ldap.cert.fnmt.es, 389 )
filter: (objectclass=*)
requesting: certificateRevocationList;binary
version: 1

#
# LDAPv3
# base <cn=CRL375,ou=FNMT Clase 2 CA,o=FNMT,c=ES> with scope base
# filter: (objectclass=*)
# requesting: certificateRevocationList;binary
#

# CRL375, FNMT Clase 2 CA, fnmt, es
dn: cn=CRL375,ou=FNMT Clase 2 CA,o=fnmt,c=es
certificateRevocationList;binary:< file:///.//ldapsearch-certificateRevocatio
 nList;binary-a01492

# search result

# numResponses: 2
# numEntries: 1


E:\openldap>openssl md5 "ldapsearch-certificateRevocationList;binary-a01492"
MD5(ldapsearch-certificateRevocationList;binary-a01492)= fffd060583f171fbfa0ac71
353d31161