summaryrefslogtreecommitdiff
path: root/source3/wrepld
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-03-21 23:39:17 +0000
committerJeremy Allison <jra@samba.org>2002-03-21 23:39:17 +0000
commit67d21b5a4ba35244c4362130ce7c501c89839429 (patch)
tree09d8be71cd2f1c6fcf1b3c38fb94406f8671c99a /source3/wrepld
parent42955a4d8152ed583394db1954b307f965583265 (diff)
downloadsamba-67d21b5a4ba35244c4362130ce7c501c89839429.tar.gz
samba-67d21b5a4ba35244c4362130ce7c501c89839429.tar.bz2
samba-67d21b5a4ba35244c4362130ce7c501c89839429.zip
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)
Diffstat (limited to 'source3/wrepld')
-rw-r--r--source3/wrepld/process.c4
1 files changed, 2 insertions, 2 deletions
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);
}