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

cannot find an object in request



i defined this objectclass:

# LiS.2.6 lisLdapCapabilities
# 
objectclass ( 1.3.6.1.4.1.8990.42.2.6 NAME 'lisLdapCapabilities' SUP top STRUCTURAL
	DESC 'Descriptions of LDAP directory structure'
	MUST ( cn )
	MAY ( capability ) )

with this ripp-off of memberId (from posixGroup)

# LiS.1.11  capability
#
attributetype ( 1.3.6.1.4.1.8990.42.1.11 NAME 'capability'
	EQUALITY caseExactIA5Match
	SUBSTR caseExactIA5SubstringsMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

doing a slapcat i see this:

dn: cn=capabilities,ou=Variables,dc=skole,dc=skolelinux,dc=no
objectClass: lisLdapCapabilities
objectClass: top
cn: capabilities
structuralObjectClass: lisLdapCapabilities
capability: nextID 1
capability: groupType 1
capability: ageGroup 1
capability: capabilities 1
entryUUID: 751468e6-c382-1027-93fc-e80813823dd7
creatorsName: cn=admin,ou=people,dc=skole,dc=skolelinux,dc=no
modifiersName: cn=admin,ou=people,dc=skole,dc=skolelinux,dc=no
createTimestamp: 20031215194144Z
modifyTimestamp: 20031215194144Z
entryCSN: 2003121519:41:44Z#0x0016#0#0000

and this (among many others) is the search i do:

    my $base   = "ou=Variables," . $g{basedn};
    my $filter = "(&(structuralObjectClass=lisLdapCapabilities)(cn=capabilities))";
    my $result = $g{ldap}->search( base => $base, filter => $filter );

with $base resulting in 'ou=Variables,dc=skole,dc=skolelinux,dc=no'.

question on the side: does SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 allow for spaces in the field or do i need to mime encode the fields?

in any case (i fiddled with the search base and filter quite a bit) i allways get this error when searching:

'No capabilities found:The server cannot find an object specified in the request'

what am i doing wrong?