1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-06 16:23:49 +03:00

Print queue entries *must* have queue names, not numbers - numbers are

not identical between different smbds (mr potter, come here and take
your medicine.... :-).
Jeremy.
This commit is contained in:
Jeremy Allison
-
parent c5230a5387
commit 230941d2fb
2 changed files with 32 additions and 9 deletions

View File

@@ -42,7 +42,7 @@ struct printjob {
fstring filename; /* the filename used to spool the file */
fstring jobname; /* the job name given to us by the client */
fstring user; /* the user who started the job */
int snum; /* service number of printer for this job */
fstring queuename; /* service number of printer for this job */
};
/* Information for print interfaces */
@@ -71,6 +71,6 @@ extern struct printif cups_printif;
#define MAX_CACHE_VALID_TIME 3600
#define PRINT_SPOOL_PREFIX "smbprn."
#define PRINT_DATABASE_VERSION 3
#define PRINT_DATABASE_VERSION 4
#endif /* PRINTING_H_ */