Skip to content

Instantly share code, notes, and snippets.

@chenrui333
Created September 2, 2015 20:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chenrui333/212ba25fd253aa05abdf to your computer and use it in GitHub Desktop.
Save chenrui333/212ba25fd253aa05abdf to your computer and use it in GitHub Desktop.
find LDAP server version
ldapsearch -H ldaps://xxx.harvard.edu:3131 -s base -D "cn=xxx" "(objectclass=*)" vendorversion objectClass isGlobalCatalogReady vendorname
# extended LDIF
#
# LDAPv3
# base <> (default) with scope baseObject
# filter: (objectclass=*)
# requesting: vendorversion objectClass isGlobalCatalogReady vendorname
#
#
dn:
objectclass: top
# 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