Article View: chile.comp.programacion
Article #3521LDAP - PHP
From: Eduardo Quiroz
Date: Mon, 07 Feb 2005 15:46
Date: Mon, 07 Feb 2005 15:46
64 lines
2826 bytes
2826 bytes
Hola a todos Estoy con un cachito en php y LDAP. Les cuento. Estoy instalando el m�dulo ldap auth que trae el phpbb (foro gratuito basado en php y mysql, era que no). Dicho m�dulo trae un archivo que permite revisar previamente si est� bien configurado y funcionando el ldap para funcionar con el foro. De acuerdo a las configuraciones que hice, qued� funcionando bien (al menos es lo que aparece en el browser cuando ejecuto la p�gina de testeo, la conexi�n al server LDAP y el annonymous binf, pero me falla el proxy bind to LDAP server: Base DN...ou=xxxxxxxx,cn=xxxxxx,dc=xxxx,dc=xx User Name...Administrador Search Value...Administrador Search Field...user Search Mode...2 Connecting to LDAP Server... OK anonymous bind to LDAP Server...OK Proxy bind to LDAP Server... ----- y este es el error o warning que me da ------ Warning: LDAP: Unable to bind to server: Invalid DN syntax in /home/jpissani/foro/LDAPcheck.php on line 376 Cannot Proxy Bind to LDAP server If you can get data via anonymouse binding then you don't need Proxy. If you do need proxy binding then check the following; Check that your User Name is the Full distinguished name for you LDAP Server and that your password is correct Checking User info...OK Checking Proxy LDAP values...Didn't Bind - Bypassing Checking anonymous LDAP values... Warning: LDAP: Unable to perform the search: Invalid DN syntax in /home/jpissani/foro/LDAPcheck.php on line 488 Open User...ERROR NOTE: Some values maybe good, but say NOT FOUND if the user you entered does not have them set. See if they are set in the next section. Resource id #30 entries returned ------- fin error ---------- Seg�n mi escaso conocimiento sobre LDAP, creo que est� bien configurado el archivo php y no s� por donde corregir el error...alguna idea??? -- -- Eduardo Quiroz Salinas equiroz@duoc.cl -- Linux user number 344659 "...Los que pueden ser virtuosos sin creer en dios, son la desesperaci�n de los creyentes..." ---------------------------------------------------
Technical Details
Message-ID:
<36pgraF53tdd9U2@individual.net>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 1593cb,3bb1e9adad4218ae,start X-Google-Attributes: gid1593cb,public X-Google-Language: SPANISH,ASCII Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Eduardo Quiroz <equiroz@duoc.cl> Newsgroups: chile.comp.programacion Subject: LDAP - PHP Date: Mon, 07 Feb 2005 12:46:33 -0300 Lines: 64 Message-ID: <36pgraF53tdd9U2@individual.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: individual.net 3QgFDor4VkdxT/4Ky0SzfgCJz4PZN9oXQr/N64l+UhkFhR1his User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en