sysdb_autofs.c revision 1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8
6320N/A along with this program. If not, see <http://www.gnu.org/licenses/>.
6320N/A#include "db/sysdb_private.h"
6320N/A#include "db/sysdb_autofs.h"
6320N/A const char *entry_name)
6320N/A const char *autofsmapname,
6320N/A int cache_timeout,
if (!tmp_ctx) {
return ENOMEM;
if (!attrs) {
if (!attrs) {
goto done;
goto done;
goto done;
goto done;
if (ret) {
goto done;
((cache_timeout) ?
if (ret) {
goto done;
goto done;
done:
return ret;
const char *name)
const char *map_name,
const char *filter;
char *safe_map_name;
NULL };
goto done;
if (!filter) {
goto done;
goto done;
goto done;
goto done;
done:
return ret;
const char *key,
const char *value,
if (!tmp_ctx) {
return ENOMEM;
if (!attrs) {
if (!attrs) {
goto done;
goto done;
goto done;
goto done;
goto done;
goto done;
done:
return ret;
const char *mapname,
char *filter;
NULL };
char *mapdn;
if (!tmp_ctx) {
return ENOMEM;
if (!mapdn) {
goto done;
if (!filter) {
goto done;
goto done;
*_count = 0;
goto done;
done:
return ret;
const char *mapname,
const char *const *add_entries,
const char *const *del_entries)
if(!tmp_ctx) {
return ENOMEM;
goto done;
if (add_entries) {
for (i = 0; add_entries[i]; i++) {
if (del_entries) {
for (i = 0; del_entries[i]; i++) {
done:
return ret;