Closed weissglut-dev closed 7 years ago
Hi,
I have changed my branch to use a string.replace('%s', '{0}')
before using format.
Additionally I changed the README.md
Do you think this is better?
Regards Seyhbold
Hi,
I'm not sure how you want the PR. I force pushed to the existing one. Or do you want me to create a new PR?
Best Regards Seyhbold
Thanks for your job :)
Hi,
is there any chance to get this published to pypi?
Thank you very much Regards Seyhbold
Hi Lucterios2,
I had the need to login against an active directory with using either sAMAccountName or userPrincipalName. To have the username inserted twice into the LDAP-query I replaced the % operator with
string.format
. This breaks the configuration as it is now. So I updated toREADME.md
as well.I don't know how you are dealing with versions so I put a
to the part in README.
Additionally I changed the userlookup to use the mapped field from
LDAP_ATTRIBUTES_MAP
to find the correct user.I hope you like this pull request.
Best Regards Seyhbold