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

index 702385e56ecac991d19497e6149e01d6cfbffca2..8366ab512e28146e20acb01d62de5de22a87f732 100644 (file)
@@ -2029,6 +2029,13 @@ done:
        return NT_STATUS_IS_OK(result) ? WINBINDD_OK : WINBINDD_ERROR;
 }
 
+static void ndr_child_auth_compat_auth_response(struct winbindd_domain *domain,
+                                               struct winbindd_cli_state *state,
+                                               struct winbind_auth *r)
+{
+       r->out.result = WINBIND_STATUS_NOT_IMPLEMENTED;
+}
+
 /* Change a user password */
 
 void winbindd_pam_chauthtok(struct winbindd_cli_state *state)
@@ -2502,6 +2509,10 @@ void winbindd_ndr_domain_child_auth(struct winbindd_domain *domain,
        case WINBIND_AUTH_LEVEL_COMPAT_AUTH_PLAIN:
                ndr_child_auth_compat_auth_plain(domain, state, r);
                return;
+
+       case WINBIND_AUTH_LEVEL_COMPAT_AUTH_RESPONSE:
+               ndr_child_auth_compat_auth_response(domain, state, r);
+               return;
        }
 
        r->out.result = WINBIND_STATUS_UNKNOWN_LEVEL;