From 67d21b5a4ba35244c4362130ce7c501c89839429 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 21 Mar 2002 23:39:17 +0000 Subject: Make winbindd_idmap tdb endian independent. This is very important for sharing between machines with rsync. Finally removed tdb_store_int/tdb_fetch_int. Now only tdb_store_int32/tdb_fetch_int32 which are endian independent are allowed. Jeremy. (This used to be commit 1c4a00dcc13f4a7c5876a5cf63ca730190d1132e) --- source3/wrepld/process.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/wrepld/process.c') diff --git a/source3/wrepld/process.c b/source3/wrepld/process.c index 1bd2ade043..e63b8a993c 100644 --- a/source3/wrepld/process.c +++ b/source3/wrepld/process.c @@ -197,8 +197,8 @@ static void get_our_last_id(WINS_OWNER *wins_owner) return; } - wins_owner->max_version=((SMB_BIG_UINT)tdb_fetch_int(tdb, INFO_ID_HIGH))<<32 | - (SMB_BIG_UINT)tdb_fetch_int(tdb, INFO_ID_LOW); + wins_owner->max_version=((SMB_BIG_UINT)tdb_fetch_int32(tdb, INFO_ID_HIGH))<<32 | + (SMB_BIG_UINT)tdb_fetch_int32(tdb, INFO_ID_LOW); tdb_close(tdb); } -- cgit