Skip to content

Commit 0bd7f6b

Browse files
author
stroeder
committed
more docs on SASL binds
1 parent c128684 commit 0bd7f6b

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

Doc/ldap-sasl.rst

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.. % $Id: ldap-sasl.rst,v 1.4 2017/08/01 17:48:00 stroeder Exp $
1+
.. % $Id: ldap-sasl.rst,v 1.5 2017/09/05 07:38:45 stroeder Exp $
22
33
44
***********************************************
@@ -38,19 +38,29 @@ Classes
3838

3939
.. autoclass:: ldap.sasl.sasl
4040
:members:
41+
42+
This class is used with :py:meth:`ldap.LDAPObject.sasl_interactive_bind_s()`.
43+
4144

4245
.. autoclass:: ldap.sasl.cram_md5
4346
:members:
4447

48+
4549
.. autoclass:: ldap.sasl.digest_md5
4650
:members:
4751

52+
4853
.. autoclass:: ldap.sasl.gssapi
4954
:members:
5055

56+
You might consider using convenience method :py:meth:`ldap.LDAPObject.sasl_gssapi_bind_s()`.
57+
58+
5159
.. autoclass:: ldap.sasl.external
5260
:members:
5361

62+
You might consider using convenience method :py:meth:`ldap.LDAPObject.sasl_external_bind_s()`.
63+
5464

5565
.. _ldap.sasl-example:
5666

Doc/ldap.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.. % $Id: ldap.rst,v 1.41 2017/09/05 07:23:36 stroeder Exp $
1+
.. % $Id: ldap.rst,v 1.42 2017/09/05 07:38:46 stroeder Exp $
22
33
********************************************
44
:py:mod:`ldap` LDAP library interface module
@@ -935,6 +935,8 @@ and wait for and return with the server's result, or with
935935
.. py:method:: LDAPObject.sasl_interactive_bind_s(who, auth[, serverctrls=None [, clientctrls=None [, sasl_flags=ldap.SASL_QUIET]]]) -> None
936936
937937
This call is used to bind to the directory with a SASL bind request.
938+
939+
*auth* is an :py:class:`ldap.sasl.sasl()` instance.
938940

939941
*serverctrls* and *clientctrls* like described in section :ref:`ldap-controls`.
940942

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy