svn commit: samba r17409 - in branches/SOC/mkhl/ldb-map/modules: .
mkhl at samba.org
mkhl at samba.org
Fri Aug 4 23:29:07 GMT 2006
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);
}
More information about the samba-cvs
mailing list