git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9740259
)
libwbclient: Remove a pointless variable
author
Volker Lendecke
<vl@samba.org>
Tue, 13 Apr 2010 10:27:18 +0000
(12:27 +0200)
committer
Volker Lendecke
<vl@samba.org>
Tue, 13 Apr 2010 11:28:39 +0000
(13:28 +0200)
nsswitch/libwbclient/wbc_pam.c
patch
|
blob
|
history
diff --git
a/nsswitch/libwbclient/wbc_pam.c
b/nsswitch/libwbclient/wbc_pam.c
index b35284b24394fc740490f1ef286c605f6cf09d18..8cc4c7164280f8300b9262aa3615686c74e315f1 100644
(file)
--- a/
nsswitch/libwbclient/wbc_pam.c
+++ b/
nsswitch/libwbclient/wbc_pam.c
@@
-965,7
+965,6
@@
wbcErr wbcLogonUser(const struct wbcLogonUserParams *params,
struct wbcUserPasswordPolicyInfo **policy)
{
wbcErr wbc_status = WBC_ERR_UNKNOWN_FAILURE;
- int cmd = 0;
struct winbindd_request request;
struct winbindd_response response;
uint32_t i;
@@
-1004,7
+1003,6
@@
wbcErr wbcLogonUser(const struct wbcLogonUserParams *params,
/* Initialize request */
- cmd = WINBINDD_PAM_AUTH;
request.flags = WBFLAG_PAM_INFO3_TEXT |
WBFLAG_PAM_USER_SESSION_KEY |
WBFLAG_PAM_LMKEY;
@@
-1066,7
+1064,7
@@
wbcErr wbcLogonUser(const struct wbcLogonUserParams *params,
}
}
- wbc_status = wbcRequestResponse(
cmd
,
+ wbc_status = wbcRequestResponse(
WINBINDD_PAM_AUTH
,
&request,
&response);