Reduce LDAP account password length

(This is currently ignored)

256 might be a common db field restriction. At least in openproject
it is based on their table layout.
This commit is contained in:
Johannes Zellner
2016-08-12 20:21:40 +02:00
parent 6cfb8226a9
commit c30cfefcc5

View File

@@ -376,7 +376,7 @@ function setupLdap(app, options, callback) {
'LDAP_USERS_BASE_DN=ou=users,dc=cloudron',
'LDAP_GROUPS_BASE_DN=ou=groups,dc=cloudron',
'LDAP_BIND_DN=cn='+ app.id + ',ou=apps,dc=cloudron',
'LDAP_BIND_PASSWORD=' + hat(8 * 128) // this is ignored
'LDAP_BIND_PASSWORD=' + hat(4 * 128) // this is ignored
];
debugApp(app, 'Setting up LDAP');