Article View: chile.comp.programacion
Article #3527Re: LDAP - PHP
From: Eduardo Quiroz
Date: Fri, 11 Feb 2005 15:19
Date: Fri, 11 Feb 2005 15:19
72 lines
3283 bytes
3283 bytes
Eduardo Quiroz wrote: > 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 Ingeniero Civil Inform�tico equiroz@duoc.cl -- Linux user number #344659 "...Si tienes una manzana y yo otra manzana y las intercambiamos, entonces tu y yo tendremos nuevamente una manzana cada uno, en cambio, si tu tienes una idea y yo tengo otra idea y las intercambiamos, entonces cada uno de nosotros tendr� ahora dos o m�s ideas..." ---------------------------------------------------
Technical Details
Message-ID:
<3740odF583jfqU2@individual.net>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<36pgraF53tdd9U2@individual.net>Show Full Headers
Complete Article Headers
X-Google-Thread: 1593cb,3bb1e9adad4218ae 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: Re: LDAP - PHP Date: Fri, 11 Feb 2005 12:19:41 -0300 Lines: 72 Message-ID: <3740odF583jfqU2@individual.net> References: <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 4WG0tGe+yIm6/GJIWN7GQQFy0T/PzI7b40mYlN5F69C8rq+9b8 User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en In-Reply-To: <36pgraF53tdd9U2@individual.net>