/*
SSSD
Authors:
Simo Sorce <ssorce@redhat.com>
Copyright (C) 2013 Red Hat
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <security/pam_modules.h>
#include "src/providers/data_provider.h"
#include "src/providers/ldap/sdap_access.h"
#include "providers/ldap/ldap_common.h"
struct sdap_pam_access_handler_state {
};
struct tevent_req *
struct sdap_access_ctx *access_ctx,
struct dp_req_params *params)
{
struct sdap_pam_access_handler_state);
return NULL;
}
goto immediately;
}
return req;
/* TODO For backward compatibility we always return EOK to DP now. */
return req;
}
{
switch (ret) {
case EOK:
break;
case ERR_ACCOUNT_EXPIRED:
break;
case ERR_ACCESS_DENIED:
case ERR_PASSWORD_EXPIRED:
break;
break;
default:
break;
}
/* TODO For backward compatibility we always return EOK to DP now. */
}
struct tevent_req *req,
{
return EOK;
}