summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2004-08-20 22:10:53 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:26 -0500
commit167299e17fa5f8b464437559d099f19515321e90 (patch)
tree6eea11ca88ac1c62d13a4704880d081e08dfe219
parent08e37cd69306d6dfbd7872caead05572c2cf2e98 (diff)
downloadsamba-167299e17fa5f8b464437559d099f19515321e90.tar.gz
samba-167299e17fa5f8b464437559d099f19515321e90.tar.bz2
samba-167299e17fa5f8b464437559d099f19515321e90.zip
r1971: move counter.
Guenther (This used to be commit 74287178d208fd2f5b152314a3b797dcfea698a7)
-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"))) {