diff options
Diffstat (limited to 'source3/printing/nt_printing.c')
-rw-r--r-- | source3/printing/nt_printing.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c index a7ca487d00..734cf7f8a8 100644 --- a/source3/printing/nt_printing.c +++ b/source3/printing/nt_printing.c @@ -1928,7 +1928,11 @@ BOOL get_specific_param(NT_PRINTER_INFO_LEVEL printer, uint32 level, while (param != NULL) { +#if 1 /* JRA - I think this should be case insensitive.... */ + if ( strequal(value, param->value) +#else if ( !strcmp(value, param->value) +#endif && strlen(value)==strlen(param->value)) break; @@ -2418,6 +2422,9 @@ BOOL print_time_access_check(int snum) free_a_printer(&printer, 2); + if (!ok) + errno = EACCES; + return ok; } |