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

Re: perl: Protocol Error

Take care about the syntax of your file ldif which contains the entry to add with ldapadd command

          dn: cn=Modify Me, o=University of Michigan, c=US
          changetype: modify
          replace: mail
          mail: modme@terminator.rs.itd.umich.edu
          add: title
          title: Grand Poobah
          add: jpegPhoto
          jpegPhoto: /tmp/modme.jpeg

From: felix k sheng <felix@deasil.com>
To: openldap-software@OpenLDAP.org
Subject: perl: Protocol Error
Date: Thu, 20 Apr 2000 16:29:47 -0400


I hope this is the right forum to discuss perldap (as I try and use it
in conjunction with OpenLDAP).  I installed everything and it was
working find (the stable openldap tree) and I started using perldap
and that was going well until I tried to add an entry.  When I did
that I got this error:

LDAP error: Protocol error

The entry itself seemed fine as before I try to add it, I called
printLDIF() on the entry, put that result into a file and using
ldapadd it went in without a hitch.

Does anyone have any idea on what this means?  Everything else seemed
to work, searching and even modifying worked.

Thanks for any help/pointers.


felix sheng                                           ... felix@deasil.com

PGP: <http://wwwkeys.us.pgp.net:11371/pks/lookup?op=get&search=0x2CA84A01>

________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com