diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-09-05 07:55:54 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-09-05 07:55:54 +0000 |
commit | 7deed93dd7c451b71d9b3cd801a265dbe8e664fc (patch) | |
tree | 6c8154f100096491dc977187ca516670663c5129 /source3/nsswitch/winbindd_idmap.c | |
parent | f6b531895ec3cd4883fda6d31f8b6a260a3782e3 (diff) | |
download | samba-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.c | 4 |
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; |