[Date Prev][Date Next] [Chronological] [Thread] [Top]

How to say not to use a particular objectClass for a dn



Hi,
How to say not to use a particular objectClass for a dn.

For example,
harish@openSUSE:~> ldapsearch -x -b 'dc=my-domain,dc=com'  '(objectclass=*)' 
# extended LDIF
#
# LDAPv3
# base <dc=my-domain,dc=com> with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#

# my-domain.com
dn: dc=my-domain,dc=com
objectClass: dcObject
objectClass: organization
dc: my-domain
o: Example Corporation

# Manager, my-domain.com
dn: cn=Manager,dc=my-domain,dc=com
objectClass: organizationalRole
cn: Manager
description: Directory Manager

# search result
search: 2
result: 0 Success

Here, we see that dn: dc=my-domain,dc=com uses objectClass: organization
I want to say not to use objectClass: organization.

How to do this?

Thanks,
Harish Pathangay