[phpldapadmin] [ phpldapadmin-Bugs-3161571 ] Error 0x02 " A protocol error was detected "
"SourceForge.net" <[email protected]> Tue, 26 Apr 2011 02:07:20 +0000
| Newsgroups | gmane.comp.ldap.davedap |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #3161571, was opened at 2011-01-19 20:42
Message generated for change (Comment added) made by wurley
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498546&aid=3161571&group_id=61828
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Anonymous (mystogan)
Assigned to: Nobody/Anonymous (nobody)
Summary: Error 0x02 " A protocol error was detected "
Initial Comment:
Hi all,
first:
PhpLDAPadmin : 1.2.0.5
slapd : 2.4.23-7
Apache2 2.2.16-6
Php5 5..3.3-7
Debian Lenny 5.0.7
I'm performing a work placement on a small company, they already got a windows server 2008 with an Active Directory running. They asked me to build a mail & share calendar server from open source, i choose E-groupware.
The problem is that E-groupware need to connect at a LDAP, and i never build one so i'm lost. After research documentation about LDAP i try to install slapd and to get a better view of what i was doing i use phpladpadmin host by an apache server. Fine, this run.
But when i try to import my AD (exported previously with the ldifde command from Windows Server) phpldapadmin return me this error:
"
You found a non-fatal phpLDAPadmin bug!
Error: Undefined offset;0 (E_NOTICE)
File: import_functions.php line 188, caller cmd.php
Versions: PLA: 1.2.0.5, PHP 5.3.3-7, SAPl: apache2handler
Web server: Apache/2.2.16 (Debian)
Could not add the object to the LDAP server.
LDAP said: Protocol error
Error number: 0x02 ()
Description
LDIF text import
Could not add object
LDAP said: Protocol error
Error number: 0x02 ()
Description
"
So... what happens ? I search into the pla and ldap logs and here this is what it found:
in the slapd log running in debug mode ( slapd -d 256 )
"
conn=1000 op=1 ADD dn=""
conn=1000 op=1 RESULT tag=105 err=2 text=no attributes provided
"
and this in the pla_debug_log:
"
functions(0124-001): app_error_handler: Entered (2|ldap_add(): Add: Protocol error|/usr/share/phpldapadmin/lib/ds_ldap_pla.php|335|a:5:{s:2:"dn";N;s:11:"entry_array";a:0:{}s:6:"method";N;s:5:"fargs";a:2:{i:0;N;i:1;a:0:{}}s:6:"result";b:0;})
"
If someone could help me to solve this bug, i would greatly appreciete it.
Please understand that i'm not english and forgive my mistakes.
Best Regards.
----------------------------------------------------------------------
>Comment By: Deon George (wurley)
Date: 2011-04-26 12:07
Message:
Looks like you are trying to import entries without a DN defined.
I've created git patch #ea4ae7f - that should show that message, without a
debug trace.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498546&aid=3161571&group_id=61828
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
______________________________________
phpLDAPadmin development mailing list.
To unsbuscribe: https://lists.sourceforge.net/lists/listinfo/phpldapadmin-devel
http://phpldapadmin.sourceforge.net/