proxy_netgroup.c revision 04feeade1f6259368a6b23c6b3ecbad261161659
/*
SSSD
Proxy netgroup handler
Authors:
Sumit Bose <sbose@redhat.com>
Copyright (C) 2010 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/>.
*/
#define BUFLEN 1024
struct sysdb_attrs *attrs)
{
int ret;
char *dummy;
return ret;
}
return ENOMEM;
}
return ret;
}
} else {
return EINVAL;
}
return EOK;
}
struct sss_domain_info *dom,
const char *name)
{
struct __netgrent result;
enum nss_status status;
int ret;
struct sysdb_attrs *attrs;
if (status != NSS_STATUS_SUCCESS) {
return EIO;
}
return ENOMEM;
}
return ENOMEM;
}
do {
goto done;
}
if (status == NSS_STATUS_SUCCESS) {
goto done;
}
}
} while (status != NSS_STATUS_RETURN);
if (status != NSS_STATUS_SUCCESS) {
goto done;
}
goto done;
}
done:
return ret;
}