Skip to content

Commit

Permalink
Improving test connection messages
Browse files Browse the repository at this point in the history
  • Loading branch information
pose committed Feb 27, 2015
1 parent f45f56e commit 856906b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions admin/test_config.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ module.exports = function(config, callback){

try_tcp(config, function (err, port) {
result.push({
proof: 'Connecting to LDAP port ' + port,
proof: 'Testing TCP connection to LDAP server on port: ' + port,
result: err ? 'Not OK' : 'OK'
});
if (err){
Expand All @@ -87,7 +87,7 @@ module.exports = function(config, callback){

try_connect(client, config, function (err) {
result.push({
proof: 'Connecting to LDAP',
proof: 'Testing LDAP bind to LDAP server',
result: err ? 'Not OK' : 'OK'
});
if (err) return callback(err, result);
Expand All @@ -112,4 +112,4 @@ module.exports = function(config, callback){
});
});
});
};
};

0 comments on commit 856906b

Please sign in to comment.