mirror of
https://github.com/samba-team/samba.git
synced 2025-09-04 09:44:20 +03:00
put the default PRINTCAP_NAME def in includes.h not local.h so that
it can see the SYSV definitions
This commit is contained in:
@@ -1073,6 +1073,23 @@ struct spwd { /* fake shadow password structure */
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* This defines the name of the printcap file. It is MOST UNLIKELY that
|
||||||
|
this will change BUT! Specifying a file with the format of a printcap
|
||||||
|
file but containing only a subset of the printers actually in your real
|
||||||
|
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
|
||||||
|
|
||||||
|
|
||||||
#ifdef USE_SYSV_IPC
|
#ifdef USE_SYSV_IPC
|
||||||
#include <sys/ipc.h>
|
#include <sys/ipc.h>
|
||||||
#include <sys/sem.h>
|
#include <sys/sem.h>
|
||||||
|
@@ -17,23 +17,6 @@
|
|||||||
refer to the special "printers" service */
|
refer to the special "printers" service */
|
||||||
#define PRINTERS_NAME "printers"
|
#define PRINTERS_NAME "printers"
|
||||||
|
|
||||||
/* This defines the name of the printcap file. It is MOST UNLIKELY that
|
|
||||||
this will change BUT! Specifying a file with the format of a printcap
|
|
||||||
file but containing only a subset of the printers actually in your real
|
|
||||||
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)
|
/* this affects server level security. With this set (recommended)
|
||||||
samba will do a full NetWkstaUserLogon to confirm that the client
|
samba will do a full NetWkstaUserLogon to confirm that the client
|
||||||
really should have login rights. This can cause problems with
|
really should have login rights. This can cause problems with
|
||||||
|
Reference in New Issue
Block a user