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

Re: AW: modifyTimestamp



On Tuesday 30 July 2002 10:02 am, Jan-Piet Mens wrote:
> On Tue, 30 Jul 2002, Andrew McCall wrote:
> ...
>
> > > 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?
>
> Andrew already answered the question. Furthermore, the manual for
> ldapsearch ALSO answers the question!
>
>        If ldapsearch finds one or more  entries,  the  attributes
>        specified by attrs are returned.  If * is listed, all user
>        attributes are returned.  If + is listed, all  operational
>        attributes  are  returned.   If  no  attrs are listed, all
>        attributes are  returned.   If  only  1.1  is  listed,  no
>        attributes will be returned.

Well in that case, this is broken here.

If I don't include a * or a + then I get the same as what I would if I just did a * - and that doesn't include any operational attributes.

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