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

Re: AW: modifyTimestamp



On Monday 29 July 2002 7:31 pm, Christoph Neumann wrote:
> 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
> attributes.
>
> - Christoph

Ahhhhh....

That works fine now :)

Is there  a way of getting a complete dump of a user with both the operational 
and non-operational attributes?


> 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 ===

-- 
Thanks

Andrew McCall
Internet System Administrator
I.C.T. Division
Oldham MBC
Civic Centre
West Street
Oldham
OL1 1UU

Tel : 0161 911 3990
Fax : 0161 911 3998
Email : it.andrew.mccall@oldham.gov.uk


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.oldham.gov.uk
**********************************************************************