/*
Authors:
Pavel Březina <pbrezina@redhat.com>
Copyright (C) 2016 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 <talloc.h>
#include <ldb.h>
#include "providers/data_provider.h"
#include "responder/common/cache_req/cache_req_plugin.h"
struct sss_domain_info *domain)
{
return ERR_ID_OUTSIDE_RANGE;
}
return EOK;
}
static struct ldb_message *
const char *sid,
const char *name)
{
const char *dup_sid;
const char *dup_name;
int ldberr;
return NULL;
}
goto done;
}
goto done;
}
if (ldberr != LDB_SUCCESS) {
goto done;
}
if (ldberr != LDB_SUCCESS) {
goto done;
}
if (ldberr != LDB_SUCCESS) {
goto done;
}
done:
if (ldberr != LDB_SUCCESS) {
return NULL;
}
return msg;
}
struct cache_req_result *
const char *domname,
const char *sid,
const char *name)
{
return NULL;
}
} else {
}
}
return result;
}
bool
{
char *err_msg;
bool bret;
"Could not get account info [%d]: %s\n",
"Due to an error we will return cached data\n");
bret = false;
goto done;
}
if (err_maj) {
"Data Provider Error: %u, %u, %s\n",
"Due to an error we will return cached data\n");
bret = false;
goto done;
}
bret = true;
done:
return bret;
}
struct tevent_req *subreq,
char **_domain)
{
"Could not get account domain [%d]: %s\n",
}
return ret;
}