diff options
author | Tim Potter <tpot@samba.org> | 2001-05-09 05:06:35 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2001-05-09 05:06:35 +0000 |
commit | bc776832834c2c973c6714c66901fe22f0679962 (patch) | |
tree | 772414fe8cb7ac584cfd4b73fc19763c160e9ebc /source3/nsswitch/winbindd_user.c | |
parent | 989ece4b265d7ea8379aa9c1899c59aadf8bd120 (diff) | |
download | samba-bc776832834c2c973c6714c66901fe22f0679962.tar.gz samba-bc776832834c2c973c6714c66901fe22f0679962.tar.bz2 samba-bc776832834c2c973c6714c66901fe22f0679962.zip |
Fixes from nsswitch testsuite. Lots of stuff works much better now. (-:
(This used to be commit 014859b62b31ceff5b5ca3d1699792e362c77a85)
Diffstat (limited to 'source3/nsswitch/winbindd_user.c')
-rw-r--r-- | source3/nsswitch/winbindd_user.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/nsswitch/winbindd_user.c b/source3/nsswitch/winbindd_user.c index f23593db88..43227b9dc1 100644 --- a/source3/nsswitch/winbindd_user.c +++ b/source3/nsswitch/winbindd_user.c @@ -157,6 +157,8 @@ enum winbindd_result winbindd_getpwnam_from_user(struct winbindd_cli_state /* The following costs 3 packets */ + ZERO_STRUCT(user_info); + if (!winbindd_lookup_userinfo(domain, user_rid, &user_info)) { DEBUG(1, ("pwnam_from_user(): error getting user info for " "user '%s'\n", name_user)); |