summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/nsswitch/pam_winbind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/pam_winbind.c b/source3/nsswitch/pam_winbind.c
index 119a45cbe8..de0738239c 100644
--- a/source3/nsswitch/pam_winbind.c
+++ b/source3/nsswitch/pam_winbind.c
@@ -451,6 +451,7 @@ int pam_sm_authenticate(pam_handle_t *pamh, int flags,
const char *password;
const char *member = NULL;
int retval = PAM_AUTH_ERR;
+ int i;
/* parse arguments */
int ctrl = _pam_parse(argc, argv);
@@ -485,7 +486,6 @@ int pam_sm_authenticate(pam_handle_t *pamh, int flags,
}
/* Retrieve membership-string here */
- int i;
for ( i=0; i<argc; i++ ) {
if (!strncmp(argv[i], "required_membership", strlen("required_membership"))) {