Author: mkhl
Date: 2006-08-04 23:29:06 +0000 (Fri, 04 Aug 2006)
New Revision: 17409

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17409

Log:
Keep the name of a "keep" attribute, make sure it isn't replaced with the 
wildcard.

Martin

Modified:
   branches/SOC/mkhl/ldb-map/modules/ldb_map.c


Changeset:
Modified: branches/SOC/mkhl/ldb-map/modules/ldb_map.c
===================================================================
--- branches/SOC/mkhl/ldb-map/modules/ldb_map.c 2006-08-04 22:18:02 UTC (rev 
17408)
+++ branches/SOC/mkhl/ldb-map/modules/ldb_map.c 2006-08-04 23:29:06 UTC (rev 
17409)
@@ -503,6 +503,10 @@
                return talloc_strdup(mem_ctx, attr);
        }
 
+       if (map->type == MAP_KEEP) {
+               return talloc_strdup(mem_ctx, attr);
+       }
+
        return talloc_strdup(mem_ctx, map->local_name);
 }
 

Reply via email to