Author: abartlet Date: 2005-10-07 01:01:44 +0000 (Fri, 07 Oct 2005) New Revision: 10791
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10791 Log: Add copyright, fix comments (this isn't the timestamps module any more) Andrew Bartlett Modified: branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/objectguid.c Changeset: Modified: branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/objectguid.c =================================================================== --- branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/objectguid.c 2005-10-07 00:40:29 UTC (rev 10790) +++ branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/objectguid.c 2005-10-07 01:01:44 UTC (rev 10791) @@ -2,6 +2,7 @@ ldb database library Copyright (C) Simo Sorce 2004 + Copyright (C) Andrew Bartlett <[EMAIL PROTECTED]> 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 @@ 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 @@ return ret; } - static const struct ldb_module_ops objectguid_ops = { .name = "objectguid", .search_bytree = objectguid_search_bytree,