Skip to content

Instantly share code, notes, and snippets.

@georgegoh
Created June 19, 2019 04:55
Show Gist options
  • Select an option

  • Save georgegoh/532ba197e38ccc6e873b4ad4727b1628 to your computer and use it in GitHub Desktop.

Select an option

Save georgegoh/532ba197e38ccc6e873b4ad4727b1628 to your computer and use it in GitHub Desktop.
LDAPsearch
ldapsearch -x -H "ldap://<ldaphost>" -b "cn=groups,cn=accounts,dc=xxx,dc=internal - basedn" -D "uid=ocp.app,cn=users,cn=accounts,dc=xxx,dc=internal -w password -s sub "(objectclass=posixgroup)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment