[Date Prev][Date Next]
I am migrating our current LDAP directory to OpenLDAP 2.2.13
As part of this I am now storing a DN in the attribute roleoccupant (as one
should). The problem I have is that I don't seem to be able to search on
this attribute. For example using the Net::LDAP Perl module to do the
$filter = "(roleoccupant=employeenumber=1182,ou=people,o=bath.ac.uk)"
$result = $ldap->search (
base => $base,
scope => "sub",
filter => $filter
Seems to return all entries for which any attribute has the value
"employeenumber=1182,ou=people,o=bath.ac.uk" not just roleoccupant.
For example the following record is returned along with the expected one.
cn: Modern Pentathlon Association of Great Britain
I have defined "maintainer" as follows in the local schema file
attributetype ( BathAttributeType:31 NAME 'maintainer'
DESC 'Directory Maintainer'
ie with SUP roleoccupant, but I would not expect that to lead to the
The record I am searching for contains
Can anyone explain this behaviour?
Bath University Computing Services