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

Possible slapd bug (ITS#529)



Full_Name: Kevin Konowalec
Version: 1.2.9, 1.2.10
OS: solaris
URL: 
Submission from: (NULL) (129.128.153.50)


Hello all!

I'm not sure if this is a bug or if I'm just making a mistake but I'll describe
it 
in hopes that I can avoid being driven insane by it...

I'm using Perldap to create a web-based front end to slapd.  Everything works
fine 
until I try and commit my changes.  Sometimes it works, other times I get a 
"protocol error" (whatever the heck that means).  Let me just break here and 
say that if there's anything that needs improving it's the logging... the logs 
that exist now (level 65535) are so cryptic that it's near impossible to trace a

problem.  Anyway, it's an intermittant problem in that it doesn't always give me

that error.


For example, here is a snippet of the logs that shows what happens when I try to

add an attribute 'mailbox' with value 'jgolinow@ualberta.ca' to my entry:

activity on: 5r
read activity on 5
ber_get_next
ber_get_next: tag 0x30 len 221 contents:
ber_dump: buf 0x99c92c0, ptr 0x99c92c0, end 0x99c939d
          current len 221, contents:
        02 01 03  f 81 d7 04 20  c  n  s  i  d  =  z  w
         e  b  y  d  e  m  ,  d  c  =  u  a  l  b  e  r
         t  a  ,  d  c  =  c  a  0 81 b2  0 10 0a 01 02
         0 0b 04 07  f  a  c  u  l  t  y  1 00  0 10 0a
        01 02  0 0b 04 07  p  r  o  g  r  a  m  1 00  0
        10 0a 01 02  0 0b 04 07  l  e  t  t  e  r  s  1
        00  0  & 0a 01 02  0  ! 04 07  m  a  i  l  b  o
         x  1 16 04 14  j  g  o  l  i  n  o  w  @  u  a
         l  b  e  r  t  a  .  c  a  0 11 0a 01 02  0 0c
        04 08  g  r  a  d  d  a  t  e  1 00  0 13 0a 01
        02  0 0e 04 0a  d  e  p  a  r  t  m  e  n  t  1
        00  0 16 0a 01 02  0 11 04 0d  d  e  g  r  e  e
         p  r  o  g  r  a  m  1 00  0 12 0a 01 02  0 0d
        04 09  m  a  i  l  a  l  i  a  s  1 00 
do_modify
listening for connections on 3, activity on:do_modify: dn
(cnsid=zwebydem,dc=ualberta,dc=ca)
 5rsend_ldap_result 2::no values given


The values are clearly there (in the packet) but it doesn't do anything with
them.  Why?  As I mentioned before, this isn't always an error... if I fill out
fields in my form above the one I'm working on first it usually will work. 
Here's what I am doing:


mod(mailbox);