Previous Topic: rem-entry-req Command—Delete an Entry

Next Topic: search-req Command—Find Entries

read-req Command—Read an Entry

Use the read-req command to get information about an entry.

The command has the following format:

read-req entry = DN 
	[no-info-return | attrs-only | attr-and-val]
	[all-attrs | attrs = attribute[,attribute...] ]
	[ all-extra-attrs | extra-attrs = attribute[,attribute...] ]
	[common-args]
	;

Example: Get Information About the Democorp Entry

The following command returns all the attribute values for the Democorp entry:

read-req entry = <countryName "AU"><organizationName "Democorp"> ;

Example: Read Selected Attributes and Values

The following command returns the selected attribute values for the Corporate entry:

read-req
	entry = <c "AU"><o "Democorp"><ou "Corporate">
	attrs = facsimileTelephoneNumber, telephoneNumber;

Example: Read an Alias Object, not the Entry that the Alias Points To

read-req
	entry = <countryName "AU">
		<organizationName "Democorp">
		<commonName "Brendan Randall">
		common-args = {dont-deref-aliases } ;


Copyright © 2009 CA. All rights reserved. Email CA about this topic