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

index 78303489840393e544e0f48b70e17a8e851e143f..75612f5ef0a8aafe2e707436a864e3359900eeb7 100644 (file)
@@ -2511,6 +2511,13 @@ enum winbindd_result winbindd_dual_pam_chng_pswd_auth_crap(struct winbindd_domai
        return NT_STATUS_IS_OK(result) ? WINBINDD_OK : WINBINDD_ERROR;
 }
 
+static void ndr_child_auth_change_password_crypt(struct winbindd_domain *domain,
+                                                struct winbindd_cli_state *state,
+                                                struct winbind_auth *r)
+{
+       r->out.result = WINBIND_STATUS_NOT_IMPLEMENTED;
+}
+
 void winbindd_ndr_domain_child_auth(struct winbindd_domain *domain,
                                    struct winbindd_cli_state *state)
 {
@@ -2534,6 +2541,10 @@ void winbindd_ndr_domain_child_auth(struct winbindd_domain *domain,
        case WINBIND_AUTH_LEVEL_CHANGE_PASSWORD_PLAIN:
                ndr_child_auth_change_password_plain(domain, state, r);
                return;
+
+       case WINBIND_AUTH_LEVEL_CHANGE_PASSWORD_CRYPT:
+               ndr_child_auth_change_password_crypt(domain, state, r);
+               return;
        }
 
        r->out.result = WINBIND_STATUS_UNKNOWN_LEVEL;