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

Re: Undefined attribute type...



Having run slapd in debug mode (slapd -d99) i got the following:

------------------------------------------------------------------------------
connection_get(9): got connid=0
connection_read(9): checking for input on id=0
ber_get_next
ldap_read: want=1, got=1
  0000:  30                                                 0
ldap_read: want=1, got=1
  0000:  2e                                                 .
ldap_read: want=46, got=46
  0000:  02 01 01 60 29 02 01 03  04 1c 63 6e 3d 4d 61 6e  
...`).....cn=Man
  0010:  61 67 65 72 2c 6f 75 3d  52 65 64 47 69 61 6e 74  
ager,ou=RedGiant
  0020:  2c 6f 3d 44 43 55 80 06  73 65 63 72 65 74         ,o=DCU..secret
ber_get_next: tag 0x30 len 46 contents:
ber_get_next
ldap_read: want=1 error=Resource temporarily unavailable
ber_get_next on fd 9 failed errno=11 (Resource temporarily unavailable)
do_bind
ber_scanf fmt ({iat) ber:
ber_scanf fmt (o}) ber:
------------------------------------------------------------------------------

You can see that I'm getting a "Resource temporarily unavailable" message. 
I'm only starting out with LDAP, but this would seem to point to a
configuration error... I also see that Miguel is having a similar problem. 
Miguel - do you get the above message too??? 

I'm running openldap-2.0.7, if that makes any difference to things...

Regards

Donal
aka donal.hunt@dcu.ie
aka donal.hunt2@mail.dcu.ie

donal.hunt2@mail.dcu.ie wrote:
> 
> 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