summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2003-03-19 08:23:29 +0000
committerVolker Lendecke <vlendec@samba.org>2003-03-19 08:23:29 +0000
commit686ef10355b54d7a4349a4356d21a3a1056805dd (patch)
tree2742d39e5f4a50bf31c7524dce6ac4e82308d9a7
parent7e958f092a146190e7899482f26e13b480f83986 (diff)
downloadsamba-686ef10355b54d7a4349a4356d21a3a1056805dd.tar.gz
samba-686ef10355b54d7a4349a4356d21a3a1056805dd.tar.bz2
samba-686ef10355b54d7a4349a4356d21a3a1056805dd.zip
Fix debug message not to use an uninitialized variable.
Volker (This used to be commit 71906a5b4e4f93ebd4c27a0d22d74aad62e14924)
-rw-r--r--source3/nsswitch/winbindd_user.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/nsswitch/winbindd_user.c b/source3/nsswitch/winbindd_user.c
index 06c95224ab..6c544d7cf2 100644
--- a/source3/nsswitch/winbindd_user.c
+++ b/source3/nsswitch/winbindd_user.c
@@ -449,7 +449,6 @@ enum winbindd_result winbindd_getpwent(struct winbindd_cli_state *state)
for (i = 0; i < num_users; i++) {
struct getpwent_user *name_list = NULL;
- fstring domain_user_name;
uint32 result;
/* Do we need to fetch another chunk of users? */
@@ -510,7 +509,7 @@ enum winbindd_result winbindd_getpwent(struct winbindd_cli_state *state)
} else
DEBUG(1, ("could not lookup domain user %s\n",
- domain_user_name));
+ name_list[ent->sam_entry_index].name));
}
/* Out of domains */