diff options
author | Amitay Isaacs <amitay@gmail.com> | 2011-11-22 16:51:04 +1100 |
---|---|---|
committer | Amitay Isaacs <amitay@gmail.com> | 2011-11-29 16:00:35 +1100 |
commit | c199b35dd46b2de21d89ed93edb9a815035717fc (patch) | |
tree | f60a4b57c887c85e78ae3ef4ed202a3d78a3da0d /source4/dsdb/samdb/ldb_modules/simple_ldap_map.c | |
parent | 5c53926fa7fcb7e9f88b481936ffd2e68b116675 (diff) | |
download | samba-c199b35dd46b2de21d89ed93edb9a815035717fc.tar.gz samba-c199b35dd46b2de21d89ed93edb9a815035717fc.tar.bz2 samba-c199b35dd46b2de21d89ed93edb9a815035717fc.zip |
s4-dsdb: Remove LDB_SEQ_HIGHEST_TIMESTAMP sequence number support
This was a hack for LDAP backends to store a sequence number as a
timestamp. It is still supported in standalone ldb tdb backend.
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules/simple_ldap_map.c')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/simple_ldap_map.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/simple_ldap_map.c b/source4/dsdb/samdb/ldb_modules/simple_ldap_map.c index 9ed3b414d6..9c7599acf5 100644 --- a/source4/dsdb/samdb/ldb_modules/simple_ldap_map.c +++ b/source4/dsdb/samdb/ldb_modules/simple_ldap_map.c @@ -902,13 +902,10 @@ static int entryuuid_sequence_number(struct ldb_module *module, struct ldb_reque seqr->seq_num++; break; case LDB_SEQ_HIGHEST_TIMESTAMP: - { - seqr->seq_num = (seq_num >> 24); - break; - } + return ldb_module_error(module, LDB_ERR_OPERATIONS_ERROR, "LDB_SEQ_HIGHEST_TIMESTAMP not supported"); } + seqr->flags = 0; - seqr->flags |= LDB_SEQ_TIMESTAMP_SEQUENCE; seqr->flags |= LDB_SEQ_GLOBAL_SEQUENCE; /* send request done */ |