ldap_access.c revision cc2d77d5218c188119fa954c856e858cbde76947
/*
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"
{
|| pam_status == PAM_ACCT_EXPIRED) {
} else {
}
}
{
struct tevent_req *req;
struct sdap_access_ctx *access_ctx;
struct sss_domain_info *dom;
struct sdap_access_ctx);
/* Subdomain request, verify subdomain */
}
pd);
return;
}
}
{
int pam_status;
switch (ret) {
case EOK:
break;
case ERR_ACCESS_DENIED:
break;
case ERR_ACCOUNT_EXPIRED:
break;
case ERR_PASSWORD_EXPIRED:
break;
break;
break;
break;
default:
break;
}
}