forget to update the ccnet config variable
This commit is contained in:
@@ -91,23 +91,23 @@ else:
|
||||
seafileURL = ccnetConfig['General']['SERVICE_URL']
|
||||
|
||||
# DB config
|
||||
dbEngine = config['Database']['ENGINE']
|
||||
dbHost = config['Database']['HOST']
|
||||
dbPort = config['Database'].getint('PORT')
|
||||
dbUser = config['Database']['USER']
|
||||
dbPassword = config['Database']['PASSWD']
|
||||
dbName = config['Database']['DB']
|
||||
dbCharset = config['Database']['CONNECTION_CHARSET']
|
||||
dbEngine = ccnetConfig['Database']['ENGINE']
|
||||
dbHost = ccnetConfig['Database']['HOST']
|
||||
dbPort = ccnetConfig['Database'].getint('PORT')
|
||||
dbUser = ccnetConfig['Database']['USER']
|
||||
dbPassword = ccnetConfig['Database']['PASSWD']
|
||||
dbName = ccnetConfig['Database']['DB']
|
||||
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))
|
||||
|
||||
# ldap Config
|
||||
ldapHost = config['LDAP']['HOST']
|
||||
#ldapPort = config['LDAP SERVER'].getint('port')
|
||||
#ldapSSL = config['LDAP SERVER'].getboolean('ssl')
|
||||
ldapBase = config['LDAP']['BASE']
|
||||
ldapUserDN = config['LDAP']['USER_DN']
|
||||
ldapUserPassword = config['LDAP']['PASSWORD']
|
||||
ldapFilter = config['LDAP']['FILTER']
|
||||
ldapHost = ccnetConfig['LDAP']['HOST']
|
||||
#ldapPort = ccnetConfig['LDAP SERVER'].getint('port')
|
||||
#ldapSSL = ccnetConfig['LDAP SERVER'].getboolean('ssl')
|
||||
ldapBase = ccnetConfig['LDAP']['BASE']
|
||||
ldapUserDN = ccnetConfig['LDAP']['USER_DN']
|
||||
ldapUserPassword = ccnetConfig['LDAP']['PASSWORD']
|
||||
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("Finished reading the config.")
|
||||
|
||||
Reference in New Issue
Block a user