directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <elecha...@gmail.com>
Subject Re: getAttributes( nm, null ) returns empty Attributes if replication enabled?
Date Mon, 18 Feb 2008 15:55:43 GMT
Hi Simon,

it sounds very much like a bug ! You can fill a JIRA.

Thanks !

Simon.Temple@saaconsultants.com wrote:
> A simple test with an embedded DS:
> public String testNullAttributeGet() throws NamingException {
>      
>      Name nm = new LdapName( "uid=admin,ou=system" );
>      Attributes atts = new InitialDirContext( createContextEnv(  ) ).getAttributes( nm,
null );
>      return atts.toString();
> }
>   
> Without replication:
> Attribute id : 'sn',  Values : ['administrator']
> Attribute id : 'objectClass',  Values : ['person', 'organizationalPerson', 'inetOrgPerson',
'top']
> Attribute id : 'cn',  Values : ['system administrator']
> Attribute id : 'creatorsName',  Values : ['uid=admin,ou=system']
> Attribute id : 'createTimestamp',  Values : ['20080218150419Z']
> Attribute id : 'userPassword',  Values : [0x73 0x65 0x63 0x72 0x65 0x74 ]
> Attribute id : 'uid',  Values : ['admin']
> Attribute id : 'displayName',  Values : ['Directory Superuser']
> With replication:
> <empty>
> Is this a bug in the replication inteceptor?  Shall I open a JIRA entry?
> Regards
> Simon Temple
> DS 1.5.2-SNAPSHOT
> JDK 1.5.1_11
> Win 2003 Server


-- 
--
cordialement, regards,
Emmanuel L├ęcharny
www.iktek.com
directory.apache.org



Mime
View raw message