Mercurial > prosody-modules
diff mod_lib_ldap/ldap.lib.lua @ 868:0017518c94a0
Change singlematch to search subtrees
author | Rob Hoelz <rob@hoelz.ro> |
---|---|
date | Mon, 10 Dec 2012 22:14:03 +0100 |
parents | 16b007c7706c |
children | ec791fd8ce87 |
line wrap: on
line diff
--- a/mod_lib_ldap/ldap.lib.lua Mon Dec 10 22:05:24 2012 +0100 +++ b/mod_lib_ldap/ldap.lib.lua Mon Dec 10 22:14:03 2012 +0100 @@ -207,7 +207,7 @@ local ld = _M.getconnection(); query.sizelimit = 1; - query.scope = 'onelevel'; + query.scope = 'subtree'; for dn, attribs in ld:search(query) do return attribs;