summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-04-20 11:11:19 +0200
committerVolker Lendecke <vl@samba.org>2010-04-23 23:41:04 +0200
commitf2f0fed8aad21e09837f256e00bb38f33dc73e44 (patch)
tree125ae97a78e0fc32295b136aeaad03540b97ba8c /source3/winbindd/winbindd.c
parent168b86c3847a5b575eef36cc2308802cbd25bb4a (diff)
downloadsamba-f2f0fed8aad21e09837f256e00bb38f33dc73e44.tar.gz
samba-f2f0fed8aad21e09837f256e00bb38f33dc73e44.tar.bz2
samba-f2f0fed8aad21e09837f256e00bb38f33dc73e44.zip
s3: Convert WINBINDD_PAM_CHNG_PSWD_AUTH_CRAP to the new async API
Diffstat (limited to 'source3/winbindd/winbindd.c')
-rw-r--r--source3/winbindd/winbindd.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/source3/winbindd/winbindd.c b/source3/winbindd/winbindd.c
index 3bd2ad7c09..4d00269970 100644
--- a/source3/winbindd/winbindd.c
+++ b/source3/winbindd/winbindd.c
@@ -442,10 +442,6 @@ static struct winbindd_dispatch_table {
const char *winbindd_cmd_name;
} dispatch_table[] = {
- /* PAM auth functions */
-
- { WINBINDD_PAM_CHNG_PSWD_AUTH_CRAP, winbindd_pam_chng_pswd_auth_crap, "CHNG_PSWD_AUTH_CRAP" },
-
/* Enumeration functions */
{ WINBINDD_LIST_TRUSTDOM, winbindd_list_trusted_domains,
@@ -554,6 +550,9 @@ static struct winbindd_async_dispatch_table async_nonpriv_table[] = {
winbindd_pam_logoff_send, winbindd_pam_logoff_recv },
{ WINBINDD_PAM_CHAUTHTOK, "PAM_CHAUTHTOK",
winbindd_pam_chauthtok_send, winbindd_pam_chauthtok_recv },
+ { WINBINDD_PAM_CHNG_PSWD_AUTH_CRAP, "PAM_CHNG_PSWD_AUTH_CRAP",
+ winbindd_pam_chng_pswd_auth_crap_send,
+ winbindd_pam_chng_pswd_auth_crap_recv },
{ 0, NULL, NULL, NULL }
};