Problems with netgroups

Jeremy Allison jallison at cthulhu.engr.sgi.com
Wed Nov 18 00:56:19 GMT 1998


Andrej Borsenkow wrote:
> 
> There are two places in current code, which break compilation on our system:
....
> Our system does have yp_get_default_domain(), but it does not support
> netgroups in any way.
....
> 
> The code depends on having *netgrent() family. Our system lacks both
> innetgr() and these functions.
> 
> Sorry, I don't have the slightest idea, what netgroups are and how to check
> for them. Could anybody suggest reasonable autoconf test for these two
> cases?

The tests we need are for the functions setnetgrent getnetgrent endnetgrent.

I will add the HAVE_NETGROUP to be conditional on these also
being present. 

Hopefully that will fix your problem.

Cheers,

	Jeremy.

-- 
--------------------------------------------------------
Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.
--------------------------------------------------------


More information about the samba-technical mailing list