Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple LDAP calls even not identified #165

Open
akshayann opened this issue Apr 15, 2016 · 1 comment
Open

Multiple LDAP calls even not identified #165

akshayann opened this issue Apr 15, 2016 · 1 comment
Labels

Comments

@akshayann
Copy link

hello
We use the LDAP feature on our Dokuwiki and find out some delay on pages.
After activating some tracking we've found that tag page or page with {{topic>}} or even with Tagcloud (cloud plugin using tag) were doing multiple calls to the LDAP, even if the user is not identified (from 3 to at least 40 for the cloud). Pages with simple tag don't have this issue.

When not identified, the id sent is empty.
When identified the id is the user one.

But we've found another strangest thing : when not identified, there's a last call done with the page's author id and not the user one.

We cannot let so many unnecessary calls done to our LDAP.

thanks for you help.
A.

@akshayann
Copy link
Author

Hi,
It seems I found at leadt one issue in helper.php : the function _applyMacro is called for each tag when search linked pages, and this function is calling getUserData in place of using $INFOUSER.

I don't understand the use of this function knowing that I cannot found any documentation of using topic with a current user data or current date.
At this point I just put in comment the call to this function in _cleanTag.

If there is another solution tell me.
A.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants