diff options
author | Jeremy Allison <jra@samba.org> | 2002-03-21 23:41:28 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2002-03-21 23:41:28 +0000 |
commit | 51189e62a7f20db1835a54c7af1e39f4712c0b95 (patch) | |
tree | c8bd25772721e63a0cf2cd73bb008d56292fb3dd | |
parent | 1c4a00dcc13f4a7c5876a5cf63ca730190d1132e (diff) | |
download | samba-51189e62a7f20db1835a54c7af1e39f4712c0b95.tar.gz samba-51189e62a7f20db1835a54c7af1e39f4712c0b95.tar.xz samba-51189e62a7f20db1835a54c7af1e39f4712c0b95.zip |
Missed a couple of fetch/store_ints.
Jeremy.
-rw-r--r-- | source/nsswitch/winbindd_idmap.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/nsswitch/winbindd_idmap.c b/source/nsswitch/winbindd_idmap.c index fbecbe3252e..897d93b0f02 100644 --- a/source/nsswitch/winbindd_idmap.c +++ b/source/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")); } |