fae99bfe4bfc8b4a12e9c2a0ad01b3684c22f934Simo Sorce/*
fae99bfe4bfc8b4a12e9c2a0ad01b3684c22f934Simo Sorce SSSD
fae99bfe4bfc8b4a12e9c2a0ad01b3684c22f934Simo Sorce
fae99bfe4bfc8b4a12e9c2a0ad01b3684c22f934Simo Sorce Async LDAP Helper routines
fae99bfe4bfc8b4a12e9c2a0ad01b3684c22f934Simo Sorce
fae99bfe4bfc8b4a12e9c2a0ad01b3684c22f934Simo Sorce Copyright (C) Simo Sorce <ssorce@redhat.com>
fae99bfe4bfc8b4a12e9c2a0ad01b3684c22f934Simo Sorce
fae99bfe4bfc8b4a12e9c2a0ad01b3684c22f934Simo Sorce This program is free software; you can redistribute it and/or modify
fae99bfe4bfc8b4a12e9c2a0ad01b3684c22f934Simo Sorce it under the terms of the GNU General Public License as published by
fae99bfe4bfc8b4a12e9c2a0ad01b3684c22f934Simo Sorce the Free Software Foundation; either version 3 of the License, or
fae99bfe4bfc8b4a12e9c2a0ad01b3684c22f934Simo Sorce (at your option) any later version.
fae99bfe4bfc8b4a12e9c2a0ad01b3684c22f934Simo Sorce
fae99bfe4bfc8b4a12e9c2a0ad01b3684c22f934Simo Sorce This program is distributed in the hope that it will be useful,
fae99bfe4bfc8b4a12e9c2a0ad01b3684c22f934Simo Sorce but WITHOUT ANY WARRANTY; without even the implied warranty of
fae99bfe4bfc8b4a12e9c2a0ad01b3684c22f934Simo Sorce MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
fae99bfe4bfc8b4a12e9c2a0ad01b3684c22f934Simo Sorce GNU General Public License for more details.
fae99bfe4bfc8b4a12e9c2a0ad01b3684c22f934Simo Sorce
fae99bfe4bfc8b4a12e9c2a0ad01b3684c22f934Simo Sorce You should have received a copy of the GNU General Public License
fae99bfe4bfc8b4a12e9c2a0ad01b3684c22f934Simo Sorce along with this program. If not, see <http://www.gnu.org/licenses/>.
fae99bfe4bfc8b4a12e9c2a0ad01b3684c22f934Simo Sorce*/
fae99bfe4bfc8b4a12e9c2a0ad01b3684c22f934Simo Sorce
fae99bfe4bfc8b4a12e9c2a0ad01b3684c22f934Simo Sorce#ifndef _SDAP_USERS_H_
fae99bfe4bfc8b4a12e9c2a0ad01b3684c22f934Simo Sorce#define _SDAP_USERS_H_
fae99bfe4bfc8b4a12e9c2a0ad01b3684c22f934Simo Sorce
fae99bfe4bfc8b4a12e9c2a0ad01b3684c22f934Simo Sorce#include "config.h"
fae99bfe4bfc8b4a12e9c2a0ad01b3684c22f934Simo Sorce
fae99bfe4bfc8b4a12e9c2a0ad01b3684c22f934Simo Sorce/* shared non-async user functions */
fae99bfe4bfc8b4a12e9c2a0ad01b3684c22f934Simo Sorce
fae99bfe4bfc8b4a12e9c2a0ad01b3684c22f934Simo Sorceerrno_t sdap_fallback_local_user(TALLOC_CTX *memctx,
8b789d6f0a39cd497d1115203db2f1f8dc195456Pavel Reichl const char *name, uid_t uid,
8b789d6f0a39cd497d1115203db2f1f8dc195456Pavel Reichl struct sysdb_attrs ***reply);
fae99bfe4bfc8b4a12e9c2a0ad01b3684c22f934Simo Sorce
fae99bfe4bfc8b4a12e9c2a0ad01b3684c22f934Simo Sorceint sdap_save_user(TALLOC_CTX *memctx,
fae99bfe4bfc8b4a12e9c2a0ad01b3684c22f934Simo Sorce struct sdap_options *opts,
fae99bfe4bfc8b4a12e9c2a0ad01b3684c22f934Simo Sorce struct sss_domain_info *dom,
fae99bfe4bfc8b4a12e9c2a0ad01b3684c22f934Simo Sorce struct sysdb_attrs *attrs,
70c0648f021ded3d31313eb962e1ad140f242673Sumit Bose struct sysdb_attrs *mapped_attrs,
fae99bfe4bfc8b4a12e9c2a0ad01b3684c22f934Simo Sorce char **_usn_value,
fae99bfe4bfc8b4a12e9c2a0ad01b3684c22f934Simo Sorce time_t now);
fae99bfe4bfc8b4a12e9c2a0ad01b3684c22f934Simo Sorce
fae99bfe4bfc8b4a12e9c2a0ad01b3684c22f934Simo Sorce#endif /* _SDAP_USERS_H_ */