From: Michael Adam Date: Thu, 22 Jan 2009 09:24:40 +0000 (+0100) Subject: s3:idmap: move IDMAP_VERSION to the idmap tdb backend, where it belogns. X-Git-Url: http://git.samba.org/?p=metze%2Fsamba%2Fwip.git;a=commitdiff_plain;h=f2224e53b23ffdc0157330527585649c0e5ca635 s3:idmap: move IDMAP_VERSION to the idmap tdb backend, where it belogns. Michael --- diff --git a/source3/include/idmap.h b/source3/include/idmap.h index 432219215534..672e3731082e 100644 --- a/source3/include/idmap.h +++ b/source3/include/idmap.h @@ -22,11 +22,6 @@ along with this program. If not, see . */ -/* 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 99821ae5010e..481ac1b9ad60 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"