I'm trying to make qmail-ldap-control patch working with openldap 2.0.x
so I've written a schema definition (included only needed attributes for
my setup).
The schema works for ldapadd/ldapsearch... but qmail-lspawn refuse to
start.
When I point ldapserver/ldapcontroldn to an openldap 1.2.x server/dn, it
will work just fine.
Is there some incompatibilities with ldap v3 or is it my schema ? Does
it need to be complete to work ?
Any help would be apreciated...
attributetype ( 1.3.6.1.4.1.7914.1.2.1.13 NAME 'ldapuid'
DESC 'Default UID of users on the mailsystem'
EQUALITY integerMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.36
SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.7914.1.2.1.14 NAME 'ldapgid'
DESC 'Default GID of users on the mailsystem'
EQUALITY integerMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.36
SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.7914.1.2.1.15 NAME 'dirmaker'
DESC 'Path to the maildir/mbox maker program on the mailsystem'
EQUALITY caseExactIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.7914.1.2.1.16 NAME 'defaultdomain'
DESC 'Default domain.'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.44
SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.7914.1.2.1.17 NAME 'locals'
DESC 'Local domains.'
EQUALITY caseIgnoreIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.44 )
attributetype ( 1.3.6.1.4.1.7914.1.2.1.18 NAME 'plusdomain'
DESC 'Plus domain.'
EQUALITY caseIgnoreIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.44
SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.7914.1.2.1.19 NAME 'rcpthosts'
DESC 'RCPT Hosts.'
EQUALITY caseIgnoreIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.44 )
attributetype ( 1.3.6.1.4.1.7914.1.2.1.20 NAME 'ldaprebind'
DESC 'Do auth by rebinding to LDAP'
EQUALITY integerMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.36
SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.7914.1.2.1.21 NAME 'ldapbasedn'
DESC 'Base DN for user lookups'
EQUALITY distinguishedNameMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.12
SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.7914.1.2.1.22 NAME 'ldapserver'
DESC 'LDAP server for user lookups'
EQUALITY caseIgnoreIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.44 )
attributetype ( 1.3.6.1.4.1.7914.1.2.1.23 NAME 'me'
DESC 'Mailsystem name.'
EQUALITY caseIgnoreIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.44
SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.7914.1.2.1.24 NAME 'defaulthost'
DESC 'Default host.'
EQUALITY caseIgnoreIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.44
SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.7914.1.2.1.25 NAME 'envnoathost'
DESC 'No at host.'
EQUALITY caseIgnoreIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.44
attributetype ( 1.3.6.1.4.1.7914.1.2.1.26 NAME 'percenthack'
DESC 'Percent hack.'
EQUALITY caseIgnoreIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.44 )
objectclass ( 1.3.6.1.4.1.7914.1.2.2.2 NAME 'qmailControl'
DESC 'QMail-LDAP Controls' SUP top AUXILIARY
MUST ( cn )
MAY ( me $ defaultdomain $ locals $ plusdomain $ rcpthosts $
ldapbasedn $ dirmaker $ ldapuid $ ldapgid $ defaulthost $
ldapserver $ ldaprebind $ percenthack $ envnoathost ) )