1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek Jakub Hrozek <jhrozek@redhat.com>
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek Copyright (C) 2012 Red Hat
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek This program is free software; you can redistribute it and/or modify
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek it under the terms of the GNU General Public License as published by
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek the Free Software Foundation; either version 3 of the License, or
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek (at your option) any later version.
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek This program is distributed in the hope that it will be useful,
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek but WITHOUT ANY WARRANTY; without even the implied warranty of
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek GNU General Public License for more details.
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek You should have received a copy of the GNU General Public License
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek along with this program. If not, see <http://www.gnu.org/licenses/>.
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek/* subdirs in cn=custom in sysdb. We don't store autofs stuff in sysdb directly
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek * b/c it's not name-service-switch data */
407123c67114bf010cdad4418f291f9fb3762f4aCove Schneider#define SYSDB_AUTOFS_MAP_NAME "automountMapName"
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek#define SYSDB_AUTOFS_ENTRY_VALUE "automountInformation"
e7d1cd14ce1a427007b1a7e9789dcb7e9619f84fJakub Hrozeksysdb_save_autofsmap(struct sss_domain_info *domain,
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek const char *name,
e7d1cd14ce1a427007b1a7e9789dcb7e9619f84fJakub Hrozeksysdb_delete_autofsmap(struct sss_domain_info *domain,
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek const char *name);
e7d1cd14ce1a427007b1a7e9789dcb7e9619f84fJakub Hrozeksysdb_save_autofsentry(struct sss_domain_info *domain,
f17d26a8db285622a5cd5f21c7488b62eedc2cf8Jakub Hrozek const char *map,
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek const char *key,
e7d1cd14ce1a427007b1a7e9789dcb7e9619f84fJakub Hrozeksysdb_del_autofsentry(struct sss_domain_info *domain,
2234d49c8a307ee4f11cc544c862a359f76b44adJakub Hrozek const char *entry_dn);
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozeksysdb_autofs_entries_by_map(TALLOC_CTX *mem_ctx,
e7d1cd14ce1a427007b1a7e9789dcb7e9619f84fJakub Hrozeksysdb_set_autofsmap_attr(struct sss_domain_info *domain,
eb29ae58117ca88868491fe2240e27393c7a9068Jakub Hrozek const char *name,
e7d1cd14ce1a427007b1a7e9789dcb7e9619f84fJakub Hrozeksysdb_invalidate_autofs_maps(struct sss_domain_info *domain);
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek#endif /* _SYSDB_AUTOFS_H_ */