diff options
author | Jeremy Allison <jra@samba.org> | 1998-11-18 01:19:32 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-11-18 01:19:32 +0000 |
commit | a491ec96fc9fa19a164febd45309a47504fddc16 (patch) | |
tree | 667157b2a615c4f2c4978566be2291c4fed2a7ae /source3/include | |
parent | 490439d77a7fe3daadce1f30f17f03896c6739aa (diff) | |
download | samba-a491ec96fc9fa19a164febd45309a47504fddc16.tar.gz samba-a491ec96fc9fa19a164febd45309a47504fddc16.tar.bz2 samba-a491ec96fc9fa19a164febd45309a47504fddc16.zip |
Fixed problem with HAVE_NETGROUP being used on platforms
that cannot support it.
Jeremy.
(This used to be commit 7a6f25ac4ab0f0bef7a66f26004c15120248ff66)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/config.h.in | 9 | ||||
-rw-r--r-- | source3/include/includes.h | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/source3/include/config.h.in b/source3/include/config.h.in index c5c761ede3..57ef45312b 100644 --- a/source3/include/config.h.in +++ b/source3/include/config.h.in @@ -387,6 +387,9 @@ /* Define if you have the dup2 function. */ #undef HAVE_DUP2 +/* Define if you have the endnetgrent function. */ +#undef HAVE_ENDNETGRENT + /* Define if you have the execl function. */ #undef HAVE_EXECL @@ -426,6 +429,9 @@ /* Define if you have the getgrnam function. */ #undef HAVE_GETGRNAM +/* Define if you have the getnetgrent function. */ +#undef HAVE_GETNETGRENT + /* Define if you have the getprpwnam function. */ #undef HAVE_GETPRPWNAM @@ -528,6 +534,9 @@ /* Define if you have the setluid function. */ #undef HAVE_SETLUID +/* Define if you have the setnetgrent function. */ +#undef HAVE_SETNETGRENT + /* Define if you have the setsid function. */ #undef HAVE_SETSID diff --git a/source3/include/includes.h b/source3/include/includes.h index 24fb84c803..92b415efa1 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -585,7 +585,7 @@ union semun { #define HAVE_PAM 1 #endif -#if defined(HAVE_YP_GET_DEFAULT_DOMAIN) +#if defined(HAVE_YP_GET_DEFAULT_DOMAIN) && defined(HAVE_SETNETGRENT) && defined(HAVE_ENDNETGRENT) && defined(HAVE_GETNETGRENT) #define HAVE_NETGROUP 1 #endif |