summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-01-22 10:24:40 +0100
committerMichael Adam <obnox@samba.org>2009-01-30 00:17:57 +0100
commitf2224e53b23ffdc0157330527585649c0e5ca635 (patch)
tree27ccc8af36268452b14e513b35796f7bc5922568
parenta44649cf98ea8f45537ff9a65be69d621c002505 (diff)
downloadsamba-f2224e53b23ffdc0157330527585649c0e5ca635.tar.gz
samba-f2224e53b23ffdc0157330527585649c0e5ca635.tar.bz2
samba-f2224e53b23ffdc0157330527585649c0e5ca635.zip
s3:idmap: move IDMAP_VERSION to the idmap tdb backend, where it belogns.
Michael
-rw-r--r--source3/include/idmap.h5
-rw-r--r--source3/winbindd/idmap_tdb.c5
2 files changed, 5 insertions, 5 deletions
diff --git a/source3/include/idmap.h b/source3/include/idmap.h
index 4322192155..672e373108 100644
--- a/source3/include/idmap.h
+++ b/source3/include/idmap.h
@@ -22,11 +22,6 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-/* idmap version determines auto-conversion - this is the database
- structure version specifier. */
-
-#define IDMAP_VERSION 2
-
/* The interface version specifier.
Updated to 3 for enum types by JRA. */
diff --git a/source3/winbindd/idmap_tdb.c b/source3/winbindd/idmap_tdb.c
index 99821ae501..481ac1b9ad 100644
--- a/source3/winbindd/idmap_tdb.c
+++ b/source3/winbindd/idmap_tdb.c
@@ -28,6 +28,11 @@
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_IDMAP
+/* idmap version determines auto-conversion - this is the database
+ structure version specifier. */
+
+#define IDMAP_VERSION 2
+
/* High water mark keys */
#define HWM_GROUP "GROUP HWM"
#define HWM_USER "USER HWM"