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

compability with external account systems like ldap #3

Open
norbekaiser opened this issue May 16, 2017 · 0 comments
Open

compability with external account systems like ldap #3

norbekaiser opened this issue May 16, 2017 · 0 comments

Comments

@norbekaiser
Copy link

norbekaiser commented May 16, 2017

hi, in case this is intended please close this issue

however: the table users only contains locally stored users
chaning users.uid to accounts.uid would make it possible to also have an overview over users which are originated from e.g.: an ldap source

e.g. diff

16c16
< query="SELECT ${envtableprefix}users.uid, COUNT(${envtableprefix}authtoken.uid) AS count FROM ${envtableprefix}users LEFT JOIN ${envtableprefix}authtoken ON ${envtableprefix}authtoken.uid = ${envtableprefix}users.uid GROUP BY ${envtableprefix}users.uid ORDER BY ${envtableprefix}users.uid ASC"
---
> query="SELECT ${envtableprefix}accounts.uid, COUNT(${envtableprefix}authtoken.uid) AS count FROM ${envtableprefix}accounts LEFT JOIN ${envtableprefix}authtoken ON ${envtableprefix}authtoken.uid = ${envtableprefix}accounts.uid GROUP BY ${envtableprefix}accounts.uid ORDER BY ${envtableprefix}accounts.uid ASC"
20c20
<     echo "graph_title Cloud users sessions"
---
>     echo "graph_title Cloud accounts sessions"
24c24
<     echo "graph_info Show the number of users opened sessions."
---
>     echo "graph_info Show the number of accounts opened sessions."

best regard norb

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

No branches or pull requests

1 participant