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

Re: AW: modifyTimestamp

You have to specifically request the "modifyTimestamp" attribute to be
returned.  It is considered an "operational" attribute and is not returned
unless you specifically request it.  You must also have the appropriate
permission to view the attribute.

In OpenLDAP, you can ask for "+" to fetch all the operational attributes
for an entry.  That would look something like this:

    ldapsearch -LLL -W -D "cn=Manager,dc=example,dc=com" -b
    "cn=Christoph,ou=People,dc=dexample,dc=com" "(objectClass=*)" '+'

Or just ask for the "modifyTimestamp" attribute by name.  The "+" is
similar in concept to the "*" which returns all the non-operational

- Christoph

On Mon, 29 Jul 2002, Frank Swasey wrote:

> Today at 2:33pm, Manuel Vazquez wrote:
> > On my machine, it does! For every entry these attributes do exist! But not
> > for the whole thing, just for the entries.
> I'm running a 2.0.23 system and if I use ldapadd, those fields are
> created but if I use slapadd they are not....
> > I think you may have to manually put modifiersName, modifyTimestamp,
> > creatorsName and createTimestamp in the record for the user before it
> > will be used - I think this is stupid if, I think that you should just
> > put turn it on and it does everything for you!
> How are you adding/modifying users?  Are you using ldapadd/ldapmodify
> (or some kind of bind/modify communication with a running slapd) or are
> you using slapadd with the server shutdown?
> -- 
> Frank Swasey                    | http://www.uvm.edu/~fcs
> Systems Programmer              | Always remember: You are UNIQUE,
> University of Vermont           |    just like everyone else.
>                     === God Bless Us All ===