[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: About storing java object
Hello,
I'm sorry.
I'm using openLDAP0.9.6a..(^^;)
At 12:28 午後 01/07/12 +0900, MidoriOkuno wrote:
> Hi all.
>
> I use openSSL0.9.6a on Solaris2.6.
>
> I want to store java object as attribute(serialize object) .
>
> I added java.schema in slapd.conf.
>
> And I tried ....
>
> I wrote following LDIF file.
>
> dn: cn=Java test,ou=test,dc=aaa, dc=aa, dc=ccc
> javaClassName: TestObject
> objectclass: javaSerializedObject
> javaSerializedData: /usr/local/testLDAP/contents/test32743
>
> This result is OK.
>
> And I tested.
>
> ldapsearch -x -b 'cn=Java test,ou=test,dc=aaa, dc=bb, dc=cc'
> '(objectclass=*)'
>
> The resurt is as follows,
>
> version: 2
>
> #
> # filter: (objectclass=*)
> # requesting: ALL
> #
>
> # Java test,test,dc=aaa, dc=bb, dc=cc
> dn: cn=Java test,ou=test,dc=aaa, dc=or, bb=cc
> objectClass: javaSerializedObject
> javaClassName: TestObject
> javaSerializedData: /usr/local/testLDAP/contents/test32743
>
> # search result
> search: 2
> result: 0 Success
>
> # numResponses: 2
> # numEntries: 1
>
> ***************************
>
> I want to get object, not path.
>
> If anyone knows about this, please advice me.
>
> Thanks.
>
>
> //midori@foresee.or.jp
>
//midori@foresee.or.jp