Loading plugin/ad/ad.cpp +8 −0 Original line number Diff line number Diff line Loading @@ -357,6 +357,14 @@ ActiveDirectory::ActiveDirectory(AuthBackend &adminBackend, std::cerr << "AD/LDAP plugin listening on " << bindAddr << ":" << port << std::endl; } void ActiveDirectory::init() { for (auto *s : _ServerSockets) { s->bind(); s->setNonBlock(); s->listen(); } } ActiveDirectory::~ActiveDirectory() { delete static_cast<AdEvent*>(_Event); for (auto *s : _ServerSockets) Loading plugin/ad/ad.h +1 −0 Original line number Diff line number Diff line Loading @@ -239,6 +239,7 @@ namespace authdb { /* Plugin interface */ const char *name() const override { return "ad"; } void init() override; void run() override; /* AdPlugin interface */ Loading plugin/krb5/krb5.cpp +8 −0 Original line number Diff line number Diff line Loading @@ -2597,6 +2597,14 @@ Krb5KDC::Krb5KDC(AuthBackend &adminBackend, _ServerSockets.push_back(ssock); } void Krb5KDC::init() { for (auto *s : _ServerSockets) { s->bind(); s->setNonBlock(); s->listen(); } } Krb5KDC::~Krb5KDC() { delete static_cast<KdcEvent*>(_Event); for (auto *s : _ServerSockets) Loading plugin/krb5/krb5.h +1 −0 Original line number Diff line number Diff line Loading @@ -716,6 +716,7 @@ namespace authdb { /* Plugin interface */ const char *name() const override { return "krb5"; } void init() override; void run() override { runKdc(0); } /* KdcPlugin interface */ Loading Loading
plugin/ad/ad.cpp +8 −0 Original line number Diff line number Diff line Loading @@ -357,6 +357,14 @@ ActiveDirectory::ActiveDirectory(AuthBackend &adminBackend, std::cerr << "AD/LDAP plugin listening on " << bindAddr << ":" << port << std::endl; } void ActiveDirectory::init() { for (auto *s : _ServerSockets) { s->bind(); s->setNonBlock(); s->listen(); } } ActiveDirectory::~ActiveDirectory() { delete static_cast<AdEvent*>(_Event); for (auto *s : _ServerSockets) Loading
plugin/ad/ad.h +1 −0 Original line number Diff line number Diff line Loading @@ -239,6 +239,7 @@ namespace authdb { /* Plugin interface */ const char *name() const override { return "ad"; } void init() override; void run() override; /* AdPlugin interface */ Loading
plugin/krb5/krb5.cpp +8 −0 Original line number Diff line number Diff line Loading @@ -2597,6 +2597,14 @@ Krb5KDC::Krb5KDC(AuthBackend &adminBackend, _ServerSockets.push_back(ssock); } void Krb5KDC::init() { for (auto *s : _ServerSockets) { s->bind(); s->setNonBlock(); s->listen(); } } Krb5KDC::~Krb5KDC() { delete static_cast<KdcEvent*>(_Event); for (auto *s : _ServerSockets) Loading
plugin/krb5/krb5.h +1 −0 Original line number Diff line number Diff line Loading @@ -716,6 +716,7 @@ namespace authdb { /* Plugin interface */ const char *name() const override { return "krb5"; } void init() override; void run() override { runKdc(0); } /* KdcPlugin interface */ Loading