forget to update the ccnet config variable
This commit is contained in:
@@ -91,23 +91,23 @@ else:
|
|||||||
seafileURL = ccnetConfig['General']['SERVICE_URL']
|
seafileURL = ccnetConfig['General']['SERVICE_URL']
|
||||||
|
|
||||||
# DB config
|
# DB config
|
||||||
dbEngine = config['Database']['ENGINE']
|
dbEngine = ccnetConfig['Database']['ENGINE']
|
||||||
dbHost = config['Database']['HOST']
|
dbHost = ccnetConfig['Database']['HOST']
|
||||||
dbPort = config['Database'].getint('PORT')
|
dbPort = ccnetConfig['Database'].getint('PORT')
|
||||||
dbUser = config['Database']['USER']
|
dbUser = ccnetConfig['Database']['USER']
|
||||||
dbPassword = config['Database']['PASSWD']
|
dbPassword = ccnetConfig['Database']['PASSWD']
|
||||||
dbName = config['Database']['DB']
|
dbName = ccnetConfig['Database']['DB']
|
||||||
dbCharset = config['Database']['CONNECTION_CHARSET']
|
dbCharset = ccnetConfig['Database']['CONNECTION_CHARSET']
|
||||||
logger.debug("DB Engine: {0}, DB Host: {1}, DB Port: {2}, DB User: {3}, DB Name: {4}, DB Connection Charset: {5}".format(dbEngine, dbHost, dbPort, dbUser, dbName, dbCharset))
|
logger.debug("DB Engine: {0}, DB Host: {1}, DB Port: {2}, DB User: {3}, DB Name: {4}, DB Connection Charset: {5}".format(dbEngine, dbHost, dbPort, dbUser, dbName, dbCharset))
|
||||||
|
|
||||||
# ldap Config
|
# ldap Config
|
||||||
ldapHost = config['LDAP']['HOST']
|
ldapHost = ccnetConfig['LDAP']['HOST']
|
||||||
#ldapPort = config['LDAP SERVER'].getint('port')
|
#ldapPort = ccnetConfig['LDAP SERVER'].getint('port')
|
||||||
#ldapSSL = config['LDAP SERVER'].getboolean('ssl')
|
#ldapSSL = ccnetConfig['LDAP SERVER'].getboolean('ssl')
|
||||||
ldapBase = config['LDAP']['BASE']
|
ldapBase = ccnetConfig['LDAP']['BASE']
|
||||||
ldapUserDN = config['LDAP']['USER_DN']
|
ldapUserDN = ccnetConfig['LDAP']['USER_DN']
|
||||||
ldapUserPassword = config['LDAP']['PASSWORD']
|
ldapUserPassword = ccnetConfig['LDAP']['PASSWORD']
|
||||||
ldapFilter = config['LDAP']['FILTER']
|
ldapFilter = ccnetConfig['LDAP']['FILTER']
|
||||||
logger.debug("LDAP Host: {0}, LDAP Base: {1}, LDAP User DN: {2}, LDAP Filter: {3}".format(ldapHost, ldapBase, ldapUserDN, ldapFilter))
|
logger.debug("LDAP Host: {0}, LDAP Base: {1}, LDAP User DN: {2}, LDAP Filter: {3}".format(ldapHost, ldapBase, ldapUserDN, ldapFilter))
|
||||||
|
|
||||||
logger.debug("Finished reading the config.")
|
logger.debug("Finished reading the config.")
|
||||||
|
|||||||
Reference in New Issue
Block a user