From: James C. <jco...@ya...> - 2003-08-18 11:05:00
|
Many thanks to the authors for python-ldap - a very clean and comprehensive wrapping. I'd nevertheless like to request a small extension to offer explicit support of SASL EXTERNAL authentication (i.e. bind authentication with credentials inherited from TLS client certification). As an indication of how clean python-ldap is, I've tested the following trivial snippet and it works perfectly (no callback is needed in this case). If anyone feels it's worthwhile putting this in permanently I'd appreciate it. While it may be trivial, having such explicit support encourages package builders to support SASL/EXTERNAL in turn when they come to build on top of python_ldap. ............... cat >> sasl.py class sasl_external(sasl): """This class handles SASL EXTERNAL (i.e. X.509 client certificate) authentication.""" def __init__(self): sasl.__init__(self, {}, "EXTERNAL") ................ -- James Collier. __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com |