[users at bb.net] [devel at bb.net] Authentication method for Try Builds

Adi Roiban adiroiban at gmail.com
Fri Jan 5 14:20:54 UTC 2018


On 5 January 2018 at 11:31, Sergio Borghese <s.borghese at netresults.it> wrote:
> Hi Pierre,
>
> I'll gladly contribute the code if you find it useful.
> It is really raw code, it was just a simple proof of concept to verify I
> would be able to authenticate my developers using the domain server. Please
> fell free to modify/integrate it.
> Please bear in mind that the used library (python-ldap) does not support
> python3, should this be an issue.
>

Maybe it helps :)

For simple things, there is a great LDAP implementation in Python +
Twisted  = ldaptor

It is not yet ported to py3 ... but maybe it will be soon
https://github.com/twisted/ldaptor/issues/55

I found it very easy to use ldaptor for everything (both client and
server side).

For example, I am using it with great success to replace an AD server
when running automated tests.
The integration tests are much faster than using the real AD server.
https://github.com/twisted/ldaptor/blob/master/docs/source/examples/ldaptor_with_upn_bind.py

-- 
Adi Roiban


More information about the users mailing list