Skip to content

Instantly share code, notes, and snippets.

@tbatchelli
Created January 13, 2011 23:49
Show Gist options
  • Save tbatchelli/778864 to your computer and use it in GitHub Desktop.
Save tbatchelli/778864 to your computer and use it in GitHub Desktop.
[tbatchelli@29785_1_103 ~]$ ldapsearch -w fred -D "cn=Manager,dc=gogrid,dc=com" -x -l 10 -s base -b cn=Monitor "(objectClass=*)" "@monitorServer"
# extended LDIF
#
# LDAPv3
# base <cn=Monitor> with scope baseObject
# filter: (objectClass=*)
# requesting: @monitorServer
#
# Monitor
dn: cn=Monitor
objectClass: monitorServer
cn: Monitor
description: This subtree contains monitoring/managing objects.
description: This object contains information about this server.
description: Most of the information is held in operational attributes, which
must be explicitly requested.
monitoredInfo: OpenLDAP: slapd 2.3.43 (Nov 29 2010 03:44:41)
# search result
search: 2
result: 0 Success
# numResponses: 2
# numEntries: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment