summaryrefslogtreecommitdiff
path: root/source3/include/local.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include/local.h')
-rw-r--r--source3/include/local.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/source3/include/local.h b/source3/include/local.h
index ca8d231dcd..c4bdcc80d5 100644
--- a/source3/include/local.h
+++ b/source3/include/local.h
@@ -23,7 +23,16 @@
printcap file is a quick-n-dirty way to allow dynamic access to a subset
of available printers.
*/
+
+#ifndef PRINTCAP_NAME
+#ifdef AIX
+#define PRINTCAP_NAME "/etc/qconfig"
+#elif defined(SYSV)
+#define PRINTCAP_NAME "lpstat"
+#else
#define PRINTCAP_NAME "/etc/printcap"
+#endif
+#endif
/* this affects server level security. With this set (recommended)
samba will do a full NetWkstaUserLogon to confirm that the client