Changeset

869:ec791fd8ce87

Return DN in the attributes table with singlematch
author Rob Hoelz <rob@hoelz.ro>
date Mon, 10 Dec 2012 22:14:28 +0100
parents 868:0017518c94a0
children 870:13e645340767
files mod_lib_ldap/ldap.lib.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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