implement WINBIND_AUTH_LEVEL_COMPAT_LOGOFF dummy
[metze/samba/wb-ndr.git] / source / winbindd / winbindd_pam.c
index 8366ab512e28146e20acb01d62de5de22a87f732..65556a7c306ca9d1295b7754946b066fdc06b74b 100644 (file)
@@ -2341,6 +2341,13 @@ process_result:
        return NT_STATUS_IS_OK(result) ? WINBINDD_OK : WINBINDD_ERROR;
 }
 
+static void ndr_child_auth_compat_logoff(struct winbindd_domain *domain,
+                                        struct winbindd_cli_state *state,
+                                        struct winbind_auth *r)
+{
+       r->out.result = WINBIND_STATUS_NOT_IMPLEMENTED;
+}
+
 /* Change user password with auth crap*/
 
 void winbindd_pam_chng_pswd_auth_crap(struct winbindd_cli_state *state)
@@ -2513,6 +2520,10 @@ void winbindd_ndr_domain_child_auth(struct winbindd_domain *domain,
        case WINBIND_AUTH_LEVEL_COMPAT_AUTH_RESPONSE:
                ndr_child_auth_compat_auth_response(domain, state, r);
                return;
+
+       case WINBIND_AUTH_LEVEL_COMPAT_LOGOFF:
+               ndr_child_auth_compat_logoff(domain, state, r);
+               return;
        }
 
        r->out.result = WINBIND_STATUS_UNKNOWN_LEVEL;