summaryrefslogtreecommitdiff
path: root/lib/ldb/include
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2012-05-17 23:57:55 -0700
committerMatthieu Patou <mat@matws.net>2012-06-22 23:22:03 -0700
commit1c850b2f173678b0df7a2619024baf2d94011a7b (patch)
tree0817beac84234110e08d3d0edca0052aa7a8a4de /lib/ldb/include
parent884d66d959e2eaa384bf9af6230ffb589a581b13 (diff)
downloadsamba-1c850b2f173678b0df7a2619024baf2d94011a7b.tar.gz
samba-1c850b2f173678b0df7a2619024baf2d94011a7b.tar.bz2
samba-1c850b2f173678b0df7a2619024baf2d94011a7b.zip
ldb: lay foundation for proper utc/generalized time handling
We use to handle UTCtime and generalized time the same way. The thing is that it's not the case, they are different in the way they are set (most of the time) with different format and also stored and return in different format too.
Diffstat (limited to 'lib/ldb/include')
-rw-r--r--lib/ldb/include/ldb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ldb/include/ldb.h b/lib/ldb/include/ldb.h
index d3a20c5ff8..b60fc9b5eb 100644
--- a/lib/ldb/include/ldb.h
+++ b/lib/ldb/include/ldb.h
@@ -475,6 +475,7 @@ const struct ldb_dn_extended_syntax *ldb_dn_extended_syntax_by_name(struct ldb_c
See <a href="http://www.ietf.org/rfc/rfc2252.txt">RFC 2252</a>, Section 4.3.2
*/
#define LDB_SYNTAX_UTC_TIME "1.3.6.1.4.1.1466.115.121.1.53"
+#define LDB_SYNTAX_GENERALIZED_TIME "1.3.6.1.4.1.1466.115.121.1.24"
#define LDB_SYNTAX_OBJECTCLASS "LDB_SYNTAX_OBJECTCLASS"