From 5e0fd505abd1926558e59ae77bcfd03cd0beecfa Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 7 Oct 2005 01:01:44 +0000 Subject: r10791: Add copyright, fix comments (this isn't the timestamps module any more) Andrew Bartlett (This used to be commit efdc6d834aecbf978f538365c72149fa7afe0828) --- source4/dsdb/samdb/ldb_modules/objectguid.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'source4/dsdb/samdb') diff --git a/source4/dsdb/samdb/ldb_modules/objectguid.c b/source4/dsdb/samdb/ldb_modules/objectguid.c index 0a7fe3a42b..7dc6a433c0 100644 --- a/source4/dsdb/samdb/ldb_modules/objectguid.c +++ b/source4/dsdb/samdb/ldb_modules/objectguid.c @@ -2,6 +2,7 @@ ldb database library Copyright (C) Simo Sorce 2004 + Copyright (C) Andrew Bartlett 2005 ** NOTE! The following LGPL license applies to the ldb ** library. This does NOT imply that all of Samba is released @@ -36,7 +37,6 @@ #include "ldb/include/ldb.h" #include "ldb/include/ldb_private.h" #include "librpc/gen_ndr/ndr_misc.h" -#include static int objectguid_search_bytree(struct ldb_module *module, const struct ldb_dn *base, enum ldb_scope scope, struct ldb_parse_tree *tree, @@ -59,7 +59,7 @@ static struct ldb_message_element *objectguid_find_attribute(const struct ldb_me return NULL; } -/* add_record: add crateTimestamp/modifyTimestamp attributes */ +/* add_record: add objectGUID attribute */ static int objectguid_add_record(struct ldb_module *module, const struct ldb_message *msg) { struct ldb_val v; @@ -112,7 +112,6 @@ static int objectguid_add_record(struct ldb_module *module, const struct ldb_mes return ret; } - static const struct ldb_module_ops objectguid_ops = { .name = "objectguid", .search_bytree = objectguid_search_bytree, -- cgit