From a975f8ad18e973aa3bfb1e6efddd15e85da1e112 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Sat, 28 Oct 2017 01:43:47 +0100 Subject: [PATCH] etc/profile.d/ldap.sh --- etc/profile.d/ldap.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/etc/profile.d/ldap.sh b/etc/profile.d/ldap.sh index 1d1fc1b6..1be5f3d7 100644 --- a/etc/profile.d/ldap.sh +++ b/etc/profile.d/ldap.sh @@ -11,3 +11,7 @@ ldap_cn() { ldap_dbs() { slapcat -b cn=config | grep "^dn: olcDatabase=" } + +ldap_objectclasses() { + ldapsearch -x -s base -b "cn=subschema" objectclasses +} -- 2.47.3