[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#3630) [JLDAP] GetBindID extended operation gives ClassCastException when used on AD
Modification of the lines around 144 to be:
public final ASN1Enumerated getResultCode()
{
Object o = get(0);
System.out.println("get(0) returns " + o);
return (ASN1Enumerated)o;
}
gives:
get(0) returns [UNIVERSAL 16] SEQUENCE: { [UNIVERSAL 10] ENUMERATED: 2,
[UNIVERSAL 4] OCTET STRING: , [UNIVERSAL 4] OCTET STRING: }
Exception in thread "Thread-7" java.lang.ClassCastException:
com.novell.ldap.asn1.ASN1Sequence
at
com.novell.ldap.rfc2251.RfcExtendedResponse.getResultCode(RfcExtendedResponse.java:146)
at com.novell.ldap.Message.putReply(Message.java:305)
at
com.novell.ldap.Connection$ReaderThread.run(Connection.java:1201)
at java.lang.Thread.run(Thread.java:595)
--
Russell Howe
russell_howe@wreckage.org
Today's Nemi: http://www.metro.co.uk/img/pix/nemi_apr4.jpg