directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Juergen Weber" <webe...@gmail.com>
Subject cleartext baseName in search
Date Thu, 08 Mar 2007 22:25:06 GMT
Hi,

when I tried a custom partition I saw that search is called with a
basename value of

0.9.2342.19200300.100.1.25=jwi,0.9.2342.19200300.100.1.25=de

How do I map that to a cleartext dn like  dc=jwi,dc=de which is my suffix?

I tried the code below but it throws

javax.naming.NamingException: OID '0.9.2342.19200300.100.1.25' was not
found within the OID registry

which is kind of strange as the server itself translated my suffix into oids.

String[] parts = baseName.toString().split(",");
		
		for (int i=0; i<parts.length;i++)
		{
			String[] s = parts[i].split("=");
			String id = oidRegistry.getPrimaryName( s[0] );
		}

Thanks,
Juergen

Mime
View raw message