summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbindd_user.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_user.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_user.c')
-rw-r--r--source3/nsswitch/winbindd_user.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_user.c b/source3/nsswitch/winbindd_user.c
index 22fbfa30ab..9e0c1e8344 100644
--- a/source3/nsswitch/winbindd_user.c
+++ b/source3/nsswitch/winbindd_user.c
@@ -94,11 +94,12 @@ static BOOL winbindd_fill_pwent(char *domain_name, char *name,
enum winbindd_result winbindd_getpwnam_from_user(struct winbindd_cli_state
*state)
{
- uint32 name_type, user_rid, group_rid;
+ uint32 user_rid, group_rid;
SAM_USERINFO_CTR *user_info;
DOM_SID user_sid;
fstring name_domain, name_user, name, gecos_name;
struct winbindd_domain *domain;
+ enum SID_NAME_USE name_type;
DEBUG(3, ("[%5d]: getpwnam %s\n", state->pid,
state->request.data.username));