summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-11-02 01:05:07 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:45:39 -0500
commita59bb77733ded2e9cc680855b4c9c655bc134e6e (patch)
treeaa734af4419accb4230c9d33cd099df0edd8a8d2 /source4/lib
parent783851099b43236666b2fc0cc866834773d6e7b7 (diff)
downloadsamba-a59bb77733ded2e9cc680855b4c9c655bc134e6e.tar.gz
samba-a59bb77733ded2e9cc680855b4c9c655bc134e6e.tar.bz2
samba-a59bb77733ded2e9cc680855b4c9c655bc134e6e.zip
r11459: display a schemaIDGUID as a guid in ldif, making it easier to work
with schemas in ldbedit (This used to be commit ddbca6e83254275568bff4c2f88cdbc4bfa666a6)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/ldb/samba/ldif_handlers.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/lib/ldb/samba/ldif_handlers.c b/source4/lib/ldb/samba/ldif_handlers.c
index 659fbc013d..dab3552b01 100644
--- a/source4/lib/ldb/samba/ldif_handlers.c
+++ b/source4/lib/ldb/samba/ldif_handlers.c
@@ -246,6 +246,14 @@ static const struct ldb_attrib_handler samba_handlers[] = {
.ldif_write_fn = ldif_write_objectGUID,
.canonicalise_fn = ldb_canonicalise_objectGUID,
.comparison_fn = ldb_comparison_objectGUID
+ },
+ {
+ .attr = "schemaIDGUID",
+ .flags = 0,
+ .ldif_read_fn = ldif_read_objectGUID,
+ .ldif_write_fn = ldif_write_objectGUID,
+ .canonicalise_fn = ldb_canonicalise_objectGUID,
+ .comparison_fn = ldb_comparison_objectGUID
}
};