From ac1b4ea7ae9859c342476cd326bdf31399dfa9e0 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 17 Apr 2020 15:00:18 +0100 Subject: [PATCH] Fix ldapoper trying to auth using the provider name as the account. --- src/modules/m_ldapoper.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/modules/m_ldapoper.cpp b/src/modules/m_ldapoper.cpp index 4f24615d0..aad21522b 100644 --- a/src/modules/m_ldapoper.cpp +++ b/src/modules/m_ldapoper.cpp @@ -150,7 +150,13 @@ class AdminBindInterface : public LDAPInterface public: AdminBindInterface(Module* c, const std::string& p, const std::string& u, const std::string& o, const std::string& pa, const std::string& b, const std::string& w) - : LDAPInterface(c), provider(p), user(u), opername(p), password(pa), base(b), what(w) + : LDAPInterface(c) + , provider(p) + , user(u) + , opername(o) + , password(pa) + , base(b) + , what(w) { } -- 2.39.2