Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-13-2006, 10:29 AM
Trained Alumni
 
Posts: 127
Default ldap attribute modifyTimestamp

Hi

I need to compare the Active directory user attribute "whenChanged" with the zimbra one, In ldap browser I can see modifyTimestamp, but I wasn't able to find
the attribute to query from perl can you help me ?

thank you

Bye

Last edited by lfasci; 09-13-2006 at 10:30 AM.. Reason: errors
Reply With Quote
  #2 (permalink)  
Old 09-13-2006, 10:44 AM
Zimbra Employee
 
Posts: 228
Default

How are you requesting the attributes from Perl? modifyTimestamp is a "operational attribute" and won't be returned unless you either explicitely ask for it, or request the special "+" attribute, which will return operational attributes. If you want all attributes, you'll need + and *. For example:

Code:
ldapsearch  -LLL -x -D uid=zimbra,cn=admins,cn=zimbra -w zimbra   '(objectclass=*)' + '*'
The man page on ldapsearch explains this behavior.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #3 (permalink)  
Old 04-23-2009, 12:45 AM
Member
 
Posts: 12
Default

I have somehow similar problem:

I am trying to get the modifiedTimestamp (whenChanged) using zmprov.

I try it like that:
Code:
zmprov ga evsta@domain.eu whenChanged
Code:
zmprov ga evsta@domain.eu modifiedTimestamp
and I get this:
Code:
# name evsta@domain.eu
when I ask for something 'normal' like sn it works fine.

Is it possible to get this attribute using zmprov?
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.