/*
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 "db/sysdb_services.h"
#include "responder/nss/nss_protocol.h"
static errno_t
struct sysdb_netgroup_ctx *entry,
{
}
}
}
return ret;
}
return EOK;
}
static errno_t
struct sysdb_netgroup_ctx *entry,
{
return EINVAL;
}
return ret;
}
return EOK;
}
struct nss_cmd_ctx *cmd_ctx,
struct sss_packet *packet,
struct cache_req_result *result)
{
unsigned int start;
"Unconsistent state while processing netgroups.\n");
goto done;
}
/* First two fields (length and reserved), filled up later. */
return ret;
}
num_results = 0;
goto done;
}
num_results = 0;
/* We have reached result limit. */
break;
}
break;
case SYSDB_NETGROUP_GROUP_VAL:
break;
default:
ret = ERR_INTERNAL;
break;
}
goto done;
}
num_results++;
}
done:
return ret;
}
return EOK;
}
struct nss_cmd_ctx *cmd_ctx,
struct sss_packet *packet,
struct cache_req_result *result)
{
/* Two fields (length and reserved). */
return ret;
}
return EOK;
}