summaryrefslogtreecommitdiff
path: root/source4/dsdb
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-10-07 01:01:44 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:39:29 -0500
commit5e0fd505abd1926558e59ae77bcfd03cd0beecfa (patch)
treec1af3a631d69accadf308eea275a1720da0c0e62 /source4/dsdb
parentf6a09fb8f81048891da589337d5bdeb3fc9959c7 (diff)
downloadsamba-5e0fd505abd1926558e59ae77bcfd03cd0beecfa.tar.gz
samba-5e0fd505abd1926558e59ae77bcfd03cd0beecfa.tar.bz2
samba-5e0fd505abd1926558e59ae77bcfd03cd0beecfa.zip
r10791: Add copyright, fix comments (this isn't the timestamps module any more)
Andrew Bartlett (This used to be commit efdc6d834aecbf978f538365c72149fa7afe0828)
Diffstat (limited to 'source4/dsdb')
-rw-r--r--source4/dsdb/samdb/ldb_modules/objectguid.c5
1 files changed, 2 insertions, 3 deletions
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 <abartlet@samba.org> 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 <time.h>
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,