Re: Quesiton about best way to index attributes

2012-02-29 Thread Emmanuel Lécharny
Le 2/29/12 7:50 PM, Kiran Ayyagari a écrit : On Wed, Feb 29, 2012 at 11:44 PM, wrote: Hi, We have apacheds 2.0-M5 db setup with all ~90k users under one OU. Yes, I know they should be stored with some hierarchy but that's not an option for this particular customer. Having 90K users in one si

Re: Quesiton about best way to index attributes

2012-02-29 Thread Kiran Ayyagari
On Wed, Feb 29, 2012 at 11:44 PM, wrote: > Hi, We have  apacheds 2.0-M5 db setup with all  ~90k users under one OU. Yes, > I know they should be stored with some hierarchy but that's not an option for > this > particular customer.  I want to optimize searching by lastname, (sn), > firstname (g

Quesiton about best way to index attributes

2012-02-29 Thread Carlo.Accorsi
Hi, We have apacheds 2.0-M5 db setup with all ~90k users under one OU. Yes, I know they should be stored with some hierarchy but that's not an option for this particular customer. I want to optimize searching by lastname, (sn), firstname (givenName) and displayName. I have created indexes unde

Re: ava.io.EOFException: ERR_00021 EOF encountered in middle of object; org.apache.directory.shared.asn1.der.ASN1InputStream.readFully

2012-02-29 Thread Emmanuel Lécharny
FYI, the decoded AS-REP message and KRB-ERROR messages, once decoded, are : AS-REP pvno : 5 msg-type : padata : PreAuthenticationData : { padata-type: null(0) padata-value:0x30 0x22 0x30 0x20 0xA0 0x03 0x02 0x01 0x11 0xA1 0x19 0x1B 0x17 0x43 0x52 0x59 0x50 0x54 0x4F 0x2E 0x43 0x53 0x2E

Re: ava.io.EOFException: ERR_00021 EOF encountered in middle of object; org.apache.directory.shared.asn1.der.ASN1InputStream.readFully

2012-02-29 Thread Emmanuel Lécharny
Your stringToHex method is borked. It returns 0xFF when it tries to transform '6B' to a byte. Le 2/29/12 6:16 PM, Wang, Xunhua - wangxx a écrit : import java.nio.ByteBuffer; import org.apache.directory.server.kerberos.shared.io.decoder.*; import org.apache.directory.server.kerberos.shared.mes

ava.io.EOFException: ERR_00021 EOF encountered in middle of object; org.apache.directory.shared.asn1.der.ASN1InputStream.readFully

2012-02-29 Thread Wang, Xunhua - wangxx
Hi, Hope I am posting to the right list. If not, please let me know. I am trying to use the org.apache.directory.server.kerberos.shared.io.decoder.KdcReplyDecoder and the ErrorMessageDecoder classes to parse an AS_REP message and an error message (In response to an AS_REQ request). However, i

[ANNOUNCE] Apache Directory Studio 2.0 M3 released

2012-02-29 Thread Pierre-Arnaud Marcelot
The Apache Directory Team is pleased to announce the release of Apache Directory Studio 2.0 M3, the third milestone release of the version 2.0 of its Eclipse based LDAP Browser and Directory client. You can download Apache Directory Studio 2.0 M3 as a standalone RCP application for Mac OS X, Linux

[ANNOUNCE] ApacheDS 2.0.0-M6 released

2012-02-29 Thread Pierre-Arnaud Marcelot
The Apache Directory team is pleased to announce the release of ApacheDS 2.0.0-M6, the sixth milestone toward a 2.0 version. ApacheDS is an extensible and embeddable directory server entirely written in Java, which has been certified LDAPv3 compatible by the Open Group. Besides LDAP it supports Ke

[ANNOUNCE] Apache Directory LDAP API 1.0.0-M11 released

2012-02-29 Thread Pierre-Arnaud Marcelot
The Apache Directory Team is proud to announce the availability of the 1.0.0-M11 version of the Apache Directory LDAP API. The Apache Directory LDAP client API is an ongoing effort to provide an enhanced LDAP API, as a replacement for JNDI and the existing LDAP API (jLdap and Mozilla LDAP API). T