mod_storage_ldap/mod_storage_ldap.lua
changeset 2303 e099586f9de5
parent 813 2469f779b3f7
--- a/mod_storage_ldap/mod_storage_ldap.lua	Sun Sep 11 00:09:52 2016 +0200
+++ b/mod_storage_ldap/mod_storage_ldap.lua	Sat Sep 17 18:04:46 2016 +0200
@@ -172,7 +172,7 @@
 function driver:open(store, typ)
     local adapter = adapters[store];
 
-    if adapter and not typ then
+    if adapter and typ == nil or typ == "keyval" then
         return adapter;
     end
     return nil, "unsupported-store";