summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbindd_idmap.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-09-05 07:55:54 +0000
committerAndrew Tridgell <tridge@samba.org>2001-09-05 07:55:54 +0000
commit7deed93dd7c451b71d9b3cd801a265dbe8e664fc (patch)
tree6c8154f100096491dc977187ca516670663c5129 /source3/nsswitch/winbindd_idmap.c
parentf6b531895ec3cd4883fda6d31f8b6a260a3782e3 (diff)
downloadsamba-7deed93dd7c451b71d9b3cd801a265dbe8e664fc.tar.gz
samba-7deed93dd7c451b71d9b3cd801a265dbe8e664fc.tar.bz2
samba-7deed93dd7c451b71d9b3cd801a265dbe8e664fc.zip
fixed a bunch of compilation errors on Solaris, mostly people getting NSS_STATUS and WINBINDD error codes mixed up
(This used to be commit 66698d6b841df809a8654012a8385bffacb9dc4a)
Diffstat (limited to 'source3/nsswitch/winbindd_idmap.c')
-rw-r--r--source3/nsswitch/winbindd_idmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/nsswitch/winbindd_idmap.c b/source3/nsswitch/winbindd_idmap.c
index 73d24f19f6..5f667a621b 100644
--- a/source3/nsswitch/winbindd_idmap.c
+++ b/source3/nsswitch/winbindd_idmap.c
@@ -34,7 +34,7 @@ static TDB_CONTEXT *idmap_tdb;
/* Allocate either a user or group id from the pool */
-static BOOL allocate_id(int *id, BOOL isgroup)
+static BOOL allocate_id(uid_t *id, BOOL isgroup)
{
int hwm;
@@ -68,7 +68,7 @@ static BOOL allocate_id(int *id, BOOL isgroup)
/* Get an id from a rid */
-static BOOL get_id_from_rid(char *domain_name, uint32 rid, int *id,
+static BOOL get_id_from_rid(char *domain_name, uint32 rid, uid_t *id,
BOOL isgroup)
{
TDB_DATA data, key;