From f2224e53b23ffdc0157330527585649c0e5ca635 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 22 Jan 2009 10:24:40 +0100 Subject: s3:idmap: move IDMAP_VERSION to the idmap tdb backend, where it belogns. Michael --- source3/include/idmap.h | 5 ----- source3/winbindd/idmap_tdb.c | 5 +++++ 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 . */ -/* 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" -- cgit From aeb23872e25fb720140a10ce01a4211d228b6555 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 22 Jan 2009 12:34:43 +0100 Subject: s3:proto.h: remove duplicate prototypes. Michael --- source3/include/proto.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/source3/include/proto.h b/source3/include/proto.h index e00d644852..af5181eca6 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -1674,8 +1674,6 @@ bool winbind_lookup_rids(TALLOC_CTX *mem_ctx, int num_rids, uint32 *rids, const char **domain_name, const char ***names, enum lsa_SidType **types); -bool winbind_allocate_uid(uid_t *uid); -bool winbind_allocate_gid(gid_t *gid); /* The following definitions come from lib/wins_srv.c */ -- cgit