Home | Trees | Indices | Help |
---|
|
Functions | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Variables | |
EASY_LDAP =
|
|
__package__ =
|
Function Details |
easyLDAP_setDefaultCredentials('myDN', 'myPW') sets the easyLDAP default value dictionary entries as follows: EASY_LDAP['BindDN'] = 'myDN' EASY_LDAP['BindPW'] = 'myPW' Now you can call the functions easyLDAPdefaultBind(obj) easyLDAPdefaultBind_norefresh(obj) and the bind process will be performed automagically with the default values. If 'myPW' is not specified, you will be prompted for it on STDOUT/STDIN. |
easyLDAP_setDefaultBindCredentials('myPW') sets the easyLDAP default value dictionary entries as follows: EASY_LDAP['BindDN'] = 'myDN' EASY_LDAP['BindPW'] = 'myPW' Now you can call the functions easyLDAPdefaultBind(obj) easyLDAPdefaultBind_norefresh(obj) and the bind process will be performed automagically with the default values. If 'myPW' is not specified, you will be prompted for it on STDOUT/STDIN. |
easyLDAP_setDefaultAdminCredentials('myAdminPW') sets the easyLDAP default value dictionary entries as follows: EASY_LDAP['BindDN'] = config_defaults['AdminRDN']+','+ config_defaults['BaseDN'] EASY_LDAP['BindPW'] = 'myAdminPW' Now you can call the functions easyLDAPdefaultBind(my_easyLDAPobject) easyLDAPdefaultBind_norefresh(my_easyLDAPobject) and the administrative bind process will be performed automagically with these default values. If 'myAdminPW' is not specified and EASY_LDAP['BindPW'] contains an empty string, a password dialog will be initiated on STDIN/STDOUT. This dialog can be forced by passing a non-string as 'myAdminPW' (e.g. explicitly: None). |
binds the given object to the LDAP server. This helper function requires the dictionary entry EASY_LDAP['BindDN'] to be set. If so, it will check the dict entry EASY_LDAP['BindPW'] for a non empty string. If so, it will bind the given easyLDAP object with the standard credentials, defined by the named dictionary entries. If the bind password is not globally specified, the function will ask for the password at the command line. This function uses refreshes the easyLDAP object's cache. The result of the binding method will be returned by this function. |
binds the given object to the LDAP server. This helper function requires the dictionary entry EASY_LDAP['BindDN'] to be set. If so, it will check the dict entry EASY_LDAP['BindPW'] for a non-empty string. If so, it will bind the given easyLDAP object with the standard credentials, defined by the named dictionary entries. If the bind password is not globally specified, the function will ask for the password at the command line. This function does _NOT_ refresh the easyLDAP object's cache. Some values of the original LDAP object might be missing in the easyLDAP object cache as a consequence of restrictions of the previously used credentials. The result of the binding method will be returned by this function. |
easyLDAP_setDefaultCredentials('myDN', 'myPW') sets the easyLDAP default value dictionary entries as follows: EASY_LDAP['BindDN'] = 'myDN' EASY_LDAP['BindPW'] = 'myPW' Now you can call the functions easyLDAPdefaultBind(obj) easyLDAPdefaultBind_norefresh(obj) and the bind process will be performed automagically with the default values. If 'myPW' is not specified, you will be prompted for it on STDOUT/STDIN. |
easyLDAP_setDefaultBindCredentials('myPW') sets the easyLDAP default value dictionary entries as follows: EASY_LDAP['BindDN'] = 'myDN' EASY_LDAP['BindPW'] = 'myPW' Now you can call the functions easyLDAPdefaultBind(obj) easyLDAPdefaultBind_norefresh(obj) and the bind process will be performed automagically with the default values. If 'myPW' is not specified, you will be prompted for it on STDOUT/STDIN. |
easyLDAP_setDefaultAdminCredentials('myAdminPW') sets the easyLDAP default value dictionary entries as follows: EASY_LDAP['BindDN'] = config_defaults['AdminRDN']+','+ config_defaults['BaseDN'] EASY_LDAP['BindPW'] = 'myAdminPW' Now you can call the functions easyLDAPdefaultBind(my_easyLDAPobject) easyLDAPdefaultBind_norefresh(my_easyLDAPobject) and the administrative bind process will be performed automagically with these default values. If 'myAdminPW' is not specified and EASY_LDAP['BindPW'] contains an empty string, a password dialog will be initiated on STDIN/STDOUT. This dialog can be forced by passing a non-string as 'myAdminPW' (e.g. explicitly: None). |
binds the given object to the LDAP server. This helper function requires the dictionary entry EASY_LDAP['BindDN'] to be set. If so, it will check the dict entry EASY_LDAP['BindPW'] for a non empty string. If so, it will bind the given easyLDAP object with the standard credentials, defined by the named dictionary entries. If the bind password is not globally specified, the function will ask for the password at the command line. This function uses refreshes the easyLDAP object's cache. The result of the binding method will be returned by this function. |
binds the given object to the LDAP server. This helper function requires the dictionary entry EASY_LDAP['BindDN'] to be set. If so, it will check the dict entry EASY_LDAP['BindPW'] for a non-empty string. If so, it will bind the given easyLDAP object with the standard credentials, defined by the named dictionary entries. If the bind password is not globally specified, the function will ask for the password at the command line. This function does _NOT_ refresh the easyLDAP object's cache. Some values of the original LDAP object might be missing in the easyLDAP object cache as a consequence of restrictions of the previously used credentials. The result of the binding method will be returned by this function. |
Variables Details |
EASY_LDAP
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Sun Oct 3 15:37:35 2010 | http://epydoc.sourceforge.net |