Package ldaptor :: Module config
[show private | hide private]
[frames | no frames]

Module ldaptor.config

Classes
LDAPConfig  

Exceptions
MissingBaseDNError Configuration must specify a base DN

Function Summary
  loadConfig(configFiles, reload)
Load configuration file.
  useLMhash()
Read configuration file if necessary and return whether to use LanMan hashes or not.

Variable Summary
list CONFIG_FILES = ['/etc/ldaptor/global.cfg', '/home/buildd...
dict DEFAULTS = {'samba': {'use-lmhash': 'no'}}
NoneType __config = None                                                                  

Function Details

loadConfig(configFiles=None, reload=False)

Load configuration file.

useLMhash()

Read configuration file if necessary and return whether to use LanMan hashes or not.

Variable Details

CONFIG_FILES

Type:
list
Value:
['/etc/ldaptor/global.cfg', '/home/buildd/.ldaptor/global.cfg']        

DEFAULTS

Type:
dict
Value:
{'samba': {'use-lmhash': 'no'}}                                        

__config

Type:
NoneType
Value:
None                                                                  

Generated by Epydoc 2.1 on Fri Mar 11 00:37:46 2005 http://epydoc.sf.net