[dokuwiki] Re: LDAP auth problems
- From: "Chris Smith" <chris@xxxxxxxxxxxxx>
- To: <dokuwiki@xxxxxxxxxxxxx>
- Date: Fri, 15 Jul 2005 12:13:47 +0100
Hi,
The speed thing is odd. Both are essentially the same, Jan's does a little
more work, it maintains a cached version of the sidebar for each individual
page. Mine caches each individual sidebar file once. His
p_sidebar_cached_html is essentially the same as the dokuwiki function
p_wiki_xhtml. Are you sure all your settings, caching and everything was
the same?
Cheers,
Chris
> -----Original Message-----
> From: dokuwiki-bounce@xxxxxxxxxxxxx
> [mailto:dokuwiki-bounce@xxxxxxxxxxxxx]On Behalf Of Hamish
> Sent: 15 July 2005 11:26
> To: Dokuwiki list
> Subject: [dokuwiki] LDAP auth problems
>
>
> Hi all
> I am having problems with LDAP auth. I have a running Release
> 2005-05-07 with
> LDAP auth working fine. I changed to Release 2005-07-13 (also
> tried 07-01)
> and found that i had to edit my local.php to get it working
> again, but it is
> still not working:
>
> When I log in as a valid user, I seem to be authenticated,
> but this error
> happens:
>
> Warning: Invalid argument supplied for foreach()
> in /path/to/wiki/inc/auth/ldap.php on line 209
>
> Warning: Invalid argument supplied for foreach()
> in /path/to/wiki/inc/auth/ldap.php on line 209
>
> Warning: Cannot modify header information - headers already
> sent by (output
> started at /path/to/wiki/inc/auth/ldap.php:209) in
> /path/to/wiki/inc/auth.php
> on line 86
> Warning: Cannot modify header information - headers already
> sent by (output
> started at /path/to/wiki/inc/auth/ldap.php:209)
> in /path/to/wiki/inc/actions.php on line 71
>
> I think this causes the session not to be set, so as soon as
> the user goes to
> another page, it "forgets" them and they should log in again,
> also getting
> the same errors again.
>
> Here is the ldap section from my local.php:
>
> $conf['auth']['ldap']['server'] = 'ldapserver';
> $conf['auth']['ldap']['usertree'] = 'dc=mydomain, dc=com';
> $conf['auth']['ldap']['userfilter'] = '(&(uid=%{user}))';
>
> Like I said, authentication seems to happen (it says "logged
> in as xyz"), but
> has the errors.
>
> I am authenticating off kolab2 ldap schema, where the uid
> defaults to their
> email address, maybe having @ in the uid causes problems?
>
> Any help appreciated, I would love to get the latest version!
>
> Thanks,
> Hamish
>
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- References:
- [dokuwiki] LDAP auth problems
- From: Hamish
Other related posts:
- » [dokuwiki] LDAP auth problems
- » [dokuwiki] Re: LDAP auth problems
- » [dokuwiki] Re: LDAP auth problems
- » [dokuwiki] Re: LDAP auth problems
- [dokuwiki] LDAP auth problems
- From: Hamish