implement WINBIND_AUTH_LEVEL_CHANGE_PASSWORD_PLAIN dummy
authorStefan Metzmacher <metze@sernet.de>
Fri, 14 Mar 2008 12:51:59 +0000 (13:51 +0100)
committerStefan Metzmacher <metze@sernet.de>
Fri, 2 May 2008 14:13:49 +0000 (16:13 +0200)
source/winbindd/winbindd_pam.c

index 65556a7c306ca9d1295b7754946b066fdc06b74b..78303489840393e544e0f48b70e17a8e851e143f 100644 (file)
@@ -2212,6 +2212,13 @@ process_result:
        return NT_STATUS_IS_OK(result) ? WINBINDD_OK : WINBINDD_ERROR;
 }
 
+static void ndr_child_auth_change_password_plain(struct winbindd_domain *domain,
+                                                struct winbindd_cli_state *state,
+                                                struct winbind_auth *r)
+{
+       r->out.result = WINBIND_STATUS_NOT_IMPLEMENTED;
+}
+
 void winbindd_pam_logoff(struct winbindd_cli_state *state)
 {
        struct winbindd_domain *domain;
@@ -2523,6 +2530,9 @@ void winbindd_ndr_domain_child_auth(struct winbindd_domain *domain,
 
        case WINBIND_AUTH_LEVEL_COMPAT_LOGOFF:
                ndr_child_auth_compat_logoff(domain, state, r);
+
+       case WINBIND_AUTH_LEVEL_CHANGE_PASSWORD_PLAIN:
+               ndr_child_auth_change_password_plain(domain, state, r);
                return;
        }