[dokuwiki] Re: auth backend ldap broken?

  • From: Andreas Gohr <andi@xxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Mon, 13 Mar 2006 20:44:17 +0100

On Mon, 13 Mar 2006 17:16:33 +0100
Werner Flamme <werner.flamme@xxxxxx> wrote:

> After I phpized and installed the ldap extension anew,

Hmm what exactly does this mean? Are you refering to the PHP extension
or the DokuWiki LDAP plugin?

> I get "LDAP:
> can not bind anonymously" (inc/auth/ldap.php line 119 or
> inc/auth/ldap.class.php line 78). But we use anonymous bind all around
> the company!?

Did you enable the debug option to get the exact LDAP error? If yes what
did it say?

> Well, after I changed $conf['superuser'] to an existing uid in our
> LDAP, the error disappears.

This is simply impossible because $conf['superuser'] is not used
anywhere in the ldap backend. Probably a strange coincidence.


> Does that mean I cannot have a group as superusers as it is mentioned
> in http://wiki.splitbrain.org/wiki:config#superuser since LDAP needs a
> single superuser? Is there another way of specifying a uid for LDAP
> without writing my uid and password into conf/local.php? ;-)

If anonymous binds are allowed it should work. I had a report that the
LDAP port had to be set explicitly because the default one point to the
SSL enabled one (I haven't veriefied this yet)

Andi
-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: