summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2007-01-24 04:46:35 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:17:24 -0500
commite2757521bb9925e69315c93cf94ddc2e05af7636 (patch)
treecac73e1255cf50252fd2dad50d17ee61f9bc485c
parenta4faa575a4eef0b29a9129779efe5a930f464e15 (diff)
downloadsamba-e2757521bb9925e69315c93cf94ddc2e05af7636.tar.gz
samba-e2757521bb9925e69315c93cf94ddc2e05af7636.tar.bz2
samba-e2757521bb9925e69315c93cf94ddc2e05af7636.zip
r20993: temporary build fix to get things going again on non-ADS systems
(This used to be commit 8c23158f053b181421cb6206db7c8030ddcc2cea)
-rw-r--r--source3/nsswitch/nss_info_template.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/nsswitch/nss_info_template.c b/source3/nsswitch/nss_info_template.c
index e1076fbeaf..1b644d7b35 100644
--- a/source3/nsswitch/nss_info_template.c
+++ b/source3/nsswitch/nss_info_template.c
@@ -20,6 +20,8 @@
Boston, MA 02111-1307, USA.
*/
+#ifdef WITH_ADS
+
#include "includes.h"
#include "nss_info.h"
@@ -82,3 +84,5 @@ NTSTATUS nss_info_template_init( void )
"template",
&nss_template_methods);
}
+
+#endif /* WITH_ADS */