mirror of
https://github.com/samba-team/samba.git
synced 2025-01-14 19:24:43 +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:
parent
6a83de0ae9
commit
e439115366
@ -1073,6 +1073,23 @@ struct spwd { /* fake shadow password structure */
|
||||
#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
|
||||
#include <sys/ipc.h>
|
||||
#include <sys/sem.h>
|
||||
|
@ -17,23 +17,6 @@
|
||||
refer to the special "printers" service */
|
||||
#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)
|
||||
samba will do a full NetWkstaUserLogon to confirm that the client
|
||||
really should have login rights. This can cause problems with
|
||||
|
Loading…
x
Reference in New Issue
Block a user