]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Fix ldapoper trying to auth using the provider name as the account.
authorSadie Powell <sadie@witchery.services>
Fri, 17 Apr 2020 14:00:18 +0000 (15:00 +0100)
committerSadie Powell <sadie@witchery.services>
Fri, 17 Apr 2020 14:00:48 +0000 (15:00 +0100)
src/modules/m_ldapoper.cpp

index 4f24615d047c4d5ca0a183154efdbd5fc16d5fc4..aad21522bc31730167419ec6b559518a3d6aac66 100644 (file)
@@ -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)
        {
        }