mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Mark Craig
30.05.2011 3e8d28b7f837dd68ff1604c6da11e62233c96f32
Two more search examples with + and @
1 files modified
38 ■■■■■ changed files
opendj3/src/main/docbkx/admin-guide/chap-ldap-operations.xml 38 ●●●●● patch | view | raw | blame | history
opendj3/src/main/docbkx/admin-guide/chap-ldap-operations.xml
@@ -168,6 +168,44 @@
</screen>
  </example>
  <example xml:id="operational-attrs-search">
   <title>Search: Return Operational Attributes</title>
   <para>Use <literal>+</literal> in the attribute list after the filter
   to return all operational attributes. Alternatively, specify operational
   attributes by name.</para>
   <screen>$ ldapsearch -p 1389 -b dc=example,dc=com uid=bjensen +
dn: uid=bjensen,ou=People,dc=example,dc=com
numSubordinates: 0
structuralObjectClass: inetOrgPerson
pwdPolicySubentry: cn=Default Password Policy,cn=Password Policies,cn=config
subschemaSubentry: cn=schema
hasSubordinates: false
entryDN: uid=bjensen,ou=people,dc=example,dc=com
entryUUID: fc252fd9-b982-3ed6-b42a-c76d2546312c</screen>
  </example>
  <example xml:id="attr-desc-list-search">
   <title>Search: Return Attributes for an Object Class</title>
   <para>Use <literal>@<replaceable>objectClass</replaceable></literal> in the
   attribute list after the filter to return the attributes associated with
   a particular object class.</para>
   <screen>$ ldapsearch -p 1389 -b dc=example,dc=com uid=bjensen @person
dn: uid=bjensen,ou=People,dc=example,dc=com
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: top
cn: Barbara Jensen
cn: Babs Jensen
telephoneNumber: +1 408 555 1862
sn: Jensen</screen>
  </example>
 </section>
 
 <section xml:id="compare-ldap">