/*
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 "responder/common/cache_req/cache_req_private.h"
static const char **
const char **requested)
{
const char **attrs;
size_t i;
/* We always want to get default attributes. */
return NULL;
}
i = 0;
for (i = 0; i < reqnum; i++) {
return NULL;
}
}
for (; i < total; i++) {
return NULL;
}
}
return attrs;
}
static struct cache_req_data *
enum cache_req_type type,
struct cache_req_data *input)
{
return NULL;
}
switch (type) {
case CACHE_REQ_USER_BY_NAME:
case CACHE_REQ_USER_BY_UPN:
case CACHE_REQ_GROUP_BY_NAME:
case CACHE_REQ_USER_BY_FILTER:
case CACHE_REQ_INITGROUPS:
case CACHE_REQ_OBJECT_BY_NAME:
ret = ERR_INTERNAL;
goto done;
}
goto done;
}
break;
case CACHE_REQ_USER_BY_CERT:
ret = ERR_INTERNAL;
goto done;
}
goto done;
}
break;
case CACHE_REQ_USER_BY_ID:
case CACHE_REQ_GROUP_BY_ID:
case CACHE_REQ_OBJECT_BY_ID:
break;
case CACHE_REQ_OBJECT_BY_SID:
ret = ERR_INTERNAL;
goto done;
}
goto done;
}
break;
case CACHE_REQ_ENUM_USERS:
case CACHE_REQ_ENUM_GROUPS:
case CACHE_REQ_ENUM_SVC:
break;
case CACHE_REQ_SVC_BY_NAME:
ret = ERR_INTERNAL;
goto done;
}
goto done;
}
break;
}
goto done;
}
break;
case CACHE_REQ_SVC_BY_PORT:
ret = ERR_INTERNAL;
goto done;
}
break;
}
goto done;
}
break;
case CACHE_REQ_HOST_BY_NAME:
ret = ERR_INTERNAL;
goto done;
}
goto done;
}
break;
}
goto done;
}
break;
case CACHE_REQ_SENTINEL:
ret = ERR_INTERNAL;
goto done;
}
goto done;
}
}
done:
return NULL;
}
return data;
}
struct cache_req_data *
enum cache_req_type type,
const char *name)
{
}
struct cache_req_data *
enum cache_req_type type,
const char *name,
const char **attrs)
{
}
struct cache_req_data *
enum cache_req_type type,
{
}
struct cache_req_data *
enum cache_req_type type,
const char **attrs)
{
}
struct cache_req_data *
enum cache_req_type type,
const char *cert)
{
}
struct cache_req_data *
enum cache_req_type type,
const char *sid,
const char **attrs)
{
}
struct cache_req_data *
enum cache_req_type type)
{
}
struct cache_req_data *
enum cache_req_type type,
const char *name,
const char *protocol,
{
}
struct cache_req_data *
enum cache_req_type type,
const char *name,
const char *alias,
const char **attrs)
{
}
void
bool bypass_cache)
{
return;
}
}
void
bool bypass_dp)
{
return;
}
}