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

LDAP Documentation Enhancement for Active Directory #867

Closed
firegore opened this issue Jun 19, 2019 · 4 comments
Closed

LDAP Documentation Enhancement for Active Directory #867

firegore opened this issue Jun 19, 2019 · 4 comments
Milestone

Comments

@firegore
Copy link

Greetings,

i tried to connect our AD to Kimai.

The Documentation was already very helpful with that, however it's missing one Mandatory Option (atleast for us on Server 2012 R2)
you need to set

user:
usernameAttribute: samaccountname

Otherwise you always get "password wrong".

Also it would be helpful if there was a note that the LDAP Fieldnames in "usernameAttribute" and "ldap_attr" NEED to be lowercase otherwise it won't work (as the LDAP Attributes include CamelCase in AD and i had never issues with this).

Regards

@kevinpapst
Copy link
Member

kevinpapst commented Jun 19, 2019

Oh great, an AD user, thanks for sharing!
I updated the docs to reflect your findings. Was it only the usernameAttribute: samaccountname you had to add (besides configuring your customer structure)?

Regarding lowercase, see the big yellow box below the example:
https://www.kimai.org/documentation/ldap.html#user-attributes
No matter where and how I will place this, people will miss it - at the end its boring documentation ;-)
But I added a second box at the end beneath the AD example.

@kevinpapst kevinpapst added this to the 1.0 milestone Jun 19, 2019
@firegore
Copy link
Author

firegore commented Jun 19, 2019

It was the only attribute that wasn't in the Docs, attached is the full Config i used.

Oops, i guess i missed the obvious ;)
That was the only part of the whole site that i didn't read, thanks for the Heads-up tho!

https://gist.github.com/firegore/b12d43ef679bd8020a7b5ffa4a556083

@kevinpapst
Copy link
Member

I linked the word "example" to your gist:
https://www.kimai.org/documentation/ldap.html#connect-to-active-directory
so would be cool if you keep this alive.

Thanks again for your input!

@lock
Copy link

lock bot commented Aug 18, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. If you use Kimai on a daily basis, please consider donating to support further development of Kimai.

@lock lock bot locked and limited conversation to collaborators Aug 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

2 participants