summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-03-21 23:41:28 +0000
committerJeremy Allison <jra@samba.org>2002-03-21 23:41:28 +0000
commitcd94f6cb634ff5349f1f36883b08e2416c80434a (patch)
treebcdb518d079882539d94f35e205cf3eefeb7f129 /source3/nsswitch
parent67d21b5a4ba35244c4362130ce7c501c89839429 (diff)
downloadsamba-cd94f6cb634ff5349f1f36883b08e2416c80434a.tar.gz
samba-cd94f6cb634ff5349f1f36883b08e2416c80434a.tar.bz2
samba-cd94f6cb634ff5349f1f36883b08e2416c80434a.zip
Missed a couple of fetch/store_ints.
Jeremy. (This used to be commit 51189e62a7f20db1835a54c7af1e39f4712c0b95)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/winbindd_idmap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/nsswitch/winbindd_idmap.c b/source3/nsswitch/winbindd_idmap.c
index fbecbe3252..897d93b0f0 100644
--- a/source3/nsswitch/winbindd_idmap.c
+++ b/source3/nsswitch/winbindd_idmap.c
@@ -42,7 +42,7 @@ static BOOL allocate_id(uid_t *id, BOOL isgroup)
/* Get current high water mark */
- if ((hwm = tdb_fetch_int(idmap_tdb,
+ if ((hwm = tdb_fetch_int32(idmap_tdb,
isgroup ? HWM_GROUP : HWM_USER)) == -1) {
return False;
}
@@ -63,7 +63,7 @@ static BOOL allocate_id(uid_t *id, BOOL isgroup)
/* Store new high water mark */
- tdb_store_int(idmap_tdb, isgroup ? HWM_GROUP : HWM_USER, hwm);
+ tdb_store_int32(idmap_tdb, isgroup ? HWM_GROUP : HWM_USER, hwm);
return True;
}
@@ -401,11 +401,11 @@ void winbindd_idmap_status(void)
/* Get current high water marks */
- if ((user_hwm = tdb_fetch_int(idmap_tdb, HWM_USER)) == -1) {
+ if ((user_hwm = tdb_fetch_int32(idmap_tdb, HWM_USER)) == -1) {
DEBUG(DUMP_INFO, ("\tCould not get userid high water mark!\n"));
}
- if ((group_hwm = tdb_fetch_int(idmap_tdb, HWM_GROUP)) == -1) {
+ if ((group_hwm = tdb_fetch_int32(idmap_tdb, HWM_GROUP)) == -1) {
DEBUG(DUMP_INFO, ("\tCould not get groupid high water mark!\n"));
}