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

Undefined attribute type...



I'm a bit stuck...

I've created my own atrribute type and object to support some stuff i want
to do with Mailman (the mailing list software).

local.schema:
---------------------------------------------------------------
attributetype ( 1.3.6.1.4.1.9736.1.1 NAME 'MailmanSubscription'
        EQUALITY caseIgnoreMatch
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768} )

objectclass ( 1.3.6.1.4.1.9736.1  NAME 'MailmanSubscriptionObject' SUP top
STRUCTURAL
        MUST ( MailmanSubscription ) )

---------------------------------------------------------------

my example ldif to add the above:
---------------------------------------------------------------
dn: cn=huntd2,ou=RedGiant,o=DCU
changetype: add
add: objectClass
objectClass: MailmanSubscriptionObject

add: MailmanSubscription
MailmanSubscription: mailman-users@list.org
---------------------------------------------------------------

I've made sure that local.schema is included in slapd.conf, and slapd seems
to start up ok (i've run it in debug mode)...
But everytime i try to add the example ldif i get this:

---------------------------------------------------------------
adding new entry "cn=huntd2,ou=RedGiant,o=DCU"
ldap_add: Undefined attribute type
        additional info: attribute type undefined

ldif_record() = 17
---------------------------------------------------------------

even running ldapmodify in debug mode i can't seem to find anything more
than this? I'm obviously doing something wrong... Can someone point me in
the right direction please??

Thanks

Donal