# HG changeset patch # User Rob Hoelz # Date 1355174068 -3600 # Node ID ec791fd8ce877efe46c30719002e522e6408d158 # Parent 0017518c94a02d9c07f4537386db10aebc6b6f7b Return DN in the attributes table with singlematch diff -r 0017518c94a0 -r ec791fd8ce87 mod_lib_ldap/ldap.lib.lua --- a/mod_lib_ldap/ldap.lib.lua Mon Dec 10 22:14:03 2012 +0100 +++ b/mod_lib_ldap/ldap.lib.lua Mon Dec 10 22:14:28 2012 +0100 @@ -210,6 +210,7 @@ query.scope = 'subtree'; for dn, attribs in ld:search(query) do + attribs.dn = dn; return attribs; end end