diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2010-09-22 16:47:06 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-10-13 09:49:37 -0400 |
commit | ef39c0adcb61b16f9edc7beb4cdc8f3b0d5a8f15 (patch) | |
tree | fd913c63d5dfe688a6d0e408af31695b874f608b /src/responder/nss/nsssrv_netgroup.h | |
parent | 88a9c6a44b474bff0f7e22f9eb28a9e55df2c0b5 (diff) | |
download | sssd_unused-ef39c0adcb61b16f9edc7beb4cdc8f3b0d5a8f15.tar.gz sssd_unused-ef39c0adcb61b16f9edc7beb4cdc8f3b0d5a8f15.tar.xz sssd_unused-ef39c0adcb61b16f9edc7beb4cdc8f3b0d5a8f15.zip |
Add netgroup support to the NSS responder
Diffstat (limited to 'src/responder/nss/nsssrv_netgroup.h')
-rw-r--r-- | src/responder/nss/nsssrv_netgroup.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/responder/nss/nsssrv_netgroup.h b/src/responder/nss/nsssrv_netgroup.h new file mode 100644 index 00000000..ed345c43 --- /dev/null +++ b/src/responder/nss/nsssrv_netgroup.h @@ -0,0 +1,34 @@ +/* + SSSD + + nssrv_netgroup.h + + Authors: + Stephen Gallagher <sgallagh@redhat.com> + + Copyright (C) 2010 Red Hat + + This program is free software; you can redistribute it and/or modify + 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/>. +*/ + +#ifndef NSSRV_NETGROUP_H_ +#define NSSRV_NETGROUP_H_ + +#define SSS_COL_NETGR 5000 + +int nss_cmd_setnetgrent(struct cli_ctx *cctx); +int nss_cmd_getnetgrent(struct cli_ctx *cctx); +int nss_cmd_endnetgrent(struct cli_ctx *cctx); + +#endif /* NSSRV_NETGROUP_H_ */ |