summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-02-18 13:55:15 +0000
committerStefan Metzmacher <metze@samba.org>2004-02-18 13:55:15 +0000
commit932026724ff7e8050cfa0412c45168c25ee47e1a (patch)
tree90f4ffb4c8bc27e4684dee93598e1b6852f2eea2 /source4/lib
parent947f90b881d6155cb71398def58390d45b66bcbd (diff)
downloadsamba-932026724ff7e8050cfa0412c45168c25ee47e1a.tar.gz
samba-932026724ff7e8050cfa0412c45168c25ee47e1a.tar.bz2
samba-932026724ff7e8050cfa0412c45168c25ee47e1a.zip
remove unused NISPLUS/AUTOMOUNT stuff
metze (This used to be commit cbfa29549e5b302f947c7f2ca14fbea257e46c33)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/util.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/source4/lib/util.c b/source4/lib/util.c
index 233609263d..0cb5258a64 100644
--- a/source4/lib/util.c
+++ b/source4/lib/util.c
@@ -24,37 +24,6 @@
#include "includes.h"
-#if (defined(HAVE_NETGROUP) && defined (WITH_AUTOMOUNT))
-#ifdef WITH_NISPLUS_HOME
-#ifdef BROKEN_NISPLUS_INCLUDE_FILES
-/*
- * The following lines are needed due to buggy include files
- * in Solaris 2.6 which define GROUP in both /usr/include/sys/acl.h and
- * also in /usr/include/rpcsvc/nis.h. The definitions conflict. JRA.
- * Also GROUP_OBJ is defined as 0x4 in /usr/include/sys/acl.h and as
- * an enum in /usr/include/rpcsvc/nis.h.
- */
-
-#if defined(GROUP)
-#undef GROUP
-#endif
-
-#if defined(GROUP_OBJ)
-#undef GROUP_OBJ
-#endif
-
-#endif /* BROKEN_NISPLUS_INCLUDE_FILES */
-
-#include <rpcsvc/nis.h>
-
-#else /* !WITH_NISPLUS_HOME */
-
-#include "rpcsvc/ypclnt.h"
-
-#endif /* WITH_NISPLUS_HOME */
-#endif /* HAVE_NETGROUP && WITH_AUTOMOUNT */
-
-
/**************************************************************************n
Find a suitable temporary directory. The result should be copied immediately
as it may be overwritten by a subsequent call.