add sendmail ou bind
this will be used by haraka to authenticate the apps
This commit is contained in:
@@ -134,6 +134,13 @@ function start(callback) {
|
||||
});
|
||||
});
|
||||
|
||||
// this is the bind for the mail addon to authorize apps
|
||||
gServer.bind('ou=sendmail,dc=cloudron', function(req, res, next) {
|
||||
// TODO: validate password
|
||||
debug('application bind: %s', req.dn.toString());
|
||||
res.end();
|
||||
});
|
||||
|
||||
gServer.bind('ou=apps,dc=cloudron', function(req, res, next) {
|
||||
// TODO: validate password
|
||||
debug('application bind: %s', req.dn.toString());
|
||||
|
||||
Reference in New Issue
Block a user