[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Does OpenLDAP support Change Tracking/UniqueObjectIds/Zombie entries?



Hi Quannah,

Thanks for your message. (I was out of town for a few days so couldn't
reply earlier)

I should have been more specific. What you have listed is the access
mechanism for this attribute through one of teh OpenLDAP command line
tools. However, I need to access this attribute value using JLDAP
(Java LDAP). THe JLDAP apis provide an option to add returnable
attributes to an ldap search (by default no attributes are returned).
However, if I add "entryUUID" to the list of attributes to be returned
on the search results, I still don't see it being returned.

Would you know how I could access this attribute value through JLDAP?

Thanks,
Safdar


On 6/16/05, Quanah Gibson-Mount <quanah@stanford.edu> wrote:
> 
> 
> --On Thursday, June 16, 2005 2:00 PM -0700 Safdar Kureishy
> <safdar.kureishy@gmail.com> wrote:
> 
> > Hi Quanah,
> >
> > This is a follow-up to your answers below about the entryUUID
> > attribute. You mentioned the entryUUID attribute should work on all
> > OpenLDAP 2.2 versions.
> >
> > However, I'm using version 2.2.19 on Windows and when I create
> > entries, there doesn't seem to be an "entryUUID" attribute anywhere on
> > the entry. Do you know if there is a flag to be set for this attribute
> > to be automatically created etc.? Or if this attribute is hidden, is
> > there a flag to unhide it so I can include it in exports?
> 
> See comments below from my original reply to you:
> 
> >> BTW, the UUID attribute is operational, you have to ask an ldapsearch to
> >> return the UUID attribute if you are searching for it using the "+"
> >> operator.
> 
> Here's an example:
> 
> tribes:~> ldapsearch -LLL -Q -h ldap -b "dc=stanford,dc=edu" uid=quanah +
> dn: uid=quanah,cn=Accounts,dc=Stanford,dc=edu
> structuralObjectClass: suAccount
> creatorsName: cn=manager,dc=stanford,dc=edu
> createTimestamp: 20030529234623Z
> entryUUID: 1d9a7fc4-019e-1028-8bad-89d9a09c6a42
> entryCSN: 20050613090208Z#000001#00#000000
> modifiersName:
> cn=slog-accounts,cn=service,cn=applications,dc=stanford,dc=edu
> modifyTimestamp: 20050613090208Z
> subschemaSubentry: cn=Subschema
> hasSubordinates: FALSE
> 
> 
> 
> If it isn't showing up when you do a slapcat, that would be particularly
> odd.
> 
> --Quanah
> 
> --
> Quanah Gibson-Mount
> Principal Software Developer
> ITSS/Shared Services
> Stanford University
> GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html
> 
> "These censorship operations against schools and libraries are stronger
> than ever in the present religio-political climate. They often focus on
> fantasy and sf books, which foster that deadly enemy to bigotry and blind
> faith, the imagination." -- Ursula K. Le Guin
> 
>