From 6cb4575b12ebb495883a6bf081ed17eccf641df4 Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Tue, 8 Apr 2003 05:44:49 +0000 Subject: Finish conversion of Printing parameters (This used to be commit 6515b0cff8b0fec25010e5b33b6e7009356146fa) --- .../smbdotconf/printing/addprintercommand.xml | 107 +++++++++++---------- .../docbook/smbdotconf/printing/defaultdevmode.xml | 63 ++++++------ .../smbdotconf/printing/deleteprintercommand.xml | 63 ++++++------ .../smbdotconf/printing/enumportscommand.xml | 45 +++++---- .../docbook/smbdotconf/printing/lppausecommand.xml | 82 ++++++++-------- .../smbdotconf/printing/lpresumecommand.xml | 58 +++++------ docs/docbook/smbdotconf/printing/os2drivermap.xml | 37 +++---- docs/docbook/smbdotconf/printing/printer.xml | 15 +-- docs/docbook/smbdotconf/printing/printername.xml | 27 +++--- .../smbdotconf/printing/queuepausecommand.xml | 45 +++++---- .../smbdotconf/printing/queueresumecommand.xml | 52 +++++----- .../smbdotconf/printing/showaddprinterwizard.xml | 58 +++++------ .../smbdotconf/printing/useclientdriver.xml | 66 +++++++------ 13 files changed, 377 insertions(+), 341 deletions(-) (limited to 'docs/docbook/smbdotconf') diff --git a/docs/docbook/smbdotconf/printing/addprintercommand.xml b/docs/docbook/smbdotconf/printing/addprintercommand.xml index abff09cda4..63b3f567b1 100644 --- a/docs/docbook/smbdotconf/printing/addprintercommand.xml +++ b/docs/docbook/smbdotconf/printing/addprintercommand.xml @@ -1,60 +1,63 @@ - - addprinter command (G) - With the introduction of MS-RPC based printing - support for Windows NT/2000 clients in Samba 2.2, The MS Add - Printer Wizard (APW) icon is now also available in the - "Printers..." folder displayed a share listing. The APW - allows for printers to be add remotely to a Samba or Windows - NT/2000 print server. + + + With the introduction of MS-RPC based printing + support for Windows NT/2000 clients in Samba 2.2, The MS Add + Printer Wizard (APW) icon is now also available in the + "Printers..." folder displayed a share listing. The APW + allows for printers to be add remotely to a Samba or Windows + NT/2000 print server. - For a Samba host this means that the printer must be - physically added to the underlying printing system. The add - printer command defines a script to be run which - will perform the necessary operations for adding the printer - to the print system and to add the appropriate service definition - to the smb.conf file in order that it can be - shared by smbd - 8. + For a Samba host this means that the printer must be + physically added to the underlying printing system. The add + printer command defines a script to be run which + will perform the necessary operations for adding the printer + to the print system and to add the appropriate service definition + to the smb.conf file in order that it can be + shared by smbd + 8. - The addprinter command is - automatically invoked with the following parameter (in - order): + The addprinter command is + automatically invoked with the following parameter (in + order): - - printer name - share name - port name - driver name - location - Windows 9x driver location - - + + printer name + share name + port name + driver name + location + Windows 9x driver location + - All parameters are filled in from the PRINTER_INFO_2 structure sent - by the Windows NT/2000 client with one exception. The "Windows 9x - driver location" parameter is included for backwards compatibility - only. The remaining fields in the structure are generated from answers - to the APW questions. + All parameters are filled in from the PRINTER_INFO_2 structure sent + by the Windows NT/2000 client with one exception. The "Windows 9x + driver location" parameter is included for backwards compatibility + only. The remaining fields in the structure are generated from answers + to the APW questions. - Once the addprinter command has - been executed, smbd will reparse the - smb.conf to determine if the share defined by the APW - exists. If the sharename is still invalid, then smbd - will return an ACCESS_DENIED error to the client. + Once the addprinter command has + been executed, smbd will reparse the + smb.conf to determine if the share defined by the APW + exists. If the sharename is still invalid, then smbd + will return an ACCESS_DENIED error to the client. - - The "add printer command" program can output a single line of text, - which Samba will set as the port the new printer is connected to. - If this line isn't output, Samba won't reload its printer shares. - + + The "add printer command" program can output a single line of text, + which Samba will set as the port the new printer is connected to. + If this line isn't output, Samba won't reload its printer shares. + - See also - deleteprinter command, printing, - show add - printer wizard + See also + deleteprinter command, + printing, + show add + printer wizard - Default: none - Example: addprinter command = /usr/bin/addprinter - - - + Default: none + + Example: addprinter command = /usr/bin/addprinter + + diff --git a/docs/docbook/smbdotconf/printing/defaultdevmode.xml b/docs/docbook/smbdotconf/printing/defaultdevmode.xml index 9609038dcd..1f14b21f5f 100644 --- a/docs/docbook/smbdotconf/printing/defaultdevmode.xml +++ b/docs/docbook/smbdotconf/printing/defaultdevmode.xml @@ -1,34 +1,37 @@ - - default devmode (S) - This parameter is only applicable to printable services. When smbd is serving - Printer Drivers to Windows NT/2k/XP clients, each printer on the Samba - server has a Device Mode which defines things such as paper size and - orientation and duplex settings. The device mode can only correctly be - generated by the printer driver itself (which can only be executed on a - Win32 platform). Because smbd is unable to execute the driver code - to generate the device mode, the default behavior is to set this field - to NULL. - + + + This parameter is only applicable to printable services. + When smbd is serving Printer Drivers to Windows NT/2k/XP clients, each printer on the Samba + server has a Device Mode which defines things such as paper size and + orientation and duplex settings. The device mode can only correctly be + generated by the printer driver itself (which can only be executed on a + Win32 platform). Because smbd is unable to execute the driver code + to generate the device mode, the default behavior is to set this field + to NULL. + - Most problems with serving printer drivers to Windows NT/2k/XP clients - can be traced to a problem with the generated device mode. Certain drivers - will do things such as crashing the client's Explorer.exe with a NULL devmode. - However, other printer drivers can cause the client's spooler service - (spoolsv.exe) to die if the devmode was not created by the driver itself - (i.e. smbd generates a default devmode). - + Most problems with serving printer drivers to Windows NT/2k/XP clients + can be traced to a problem with the generated device mode. Certain drivers + will do things such as crashing the client's Explorer.exe with a NULL devmode. + However, other printer drivers can cause the client's spooler service + (spoolsv.exe) to die if the devmode was not created by the driver itself + (i.e. smbd generates a default devmode). + - This parameter should be used with care and tested with the printer - driver in question. It is better to leave the device mode to NULL - and let the Windows client set the correct values. Because drivers do not - do this all the time, setting default devmode = yes - will instruct smbd to generate a default one. - + This parameter should be used with care and tested with the printer + driver in question. It is better to leave the device mode to NULL + and let the Windows client set the correct values. Because drivers do not + do this all the time, setting default devmode = yes + will instruct smbd to generate a default one. + - For more information on Windows NT/2k printing and Device Modes, - see the MSDN documentation. - + For more information on Windows NT/2k printing and Device Modes, + see the MSDN documentation. + - Default: default devmode = no - - + Default: default devmode = no + + diff --git a/docs/docbook/smbdotconf/printing/deleteprintercommand.xml b/docs/docbook/smbdotconf/printing/deleteprintercommand.xml index 23f2ff76b0..864f75168d 100644 --- a/docs/docbook/smbdotconf/printing/deleteprintercommand.xml +++ b/docs/docbook/smbdotconf/printing/deleteprintercommand.xml @@ -1,35 +1,38 @@ - - deleteprinter command (G) - With the introduction of MS-RPC based printer - support for Windows NT/2000 clients in Samba 2.2, it is now - possible to delete printer at run time by issuing the - DeletePrinter() RPC call. + + + With the introduction of MS-RPC based printer + support for Windows NT/2000 clients in Samba 2.2, it is now + possible to delete printer at run time by issuing the + DeletePrinter() RPC call. - For a Samba host this means that the printer must be - physically deleted from underlying printing system. The - deleteprinter command defines a script to be run which - will perform the necessary operations for removing the printer - from the print system and from smb.conf. - + For a Samba host this means that the printer must be + physically deleted from underlying printing system. The + deleteprinter command defines a script to be run which + will perform the necessary operations for removing the printer + from the print system and from smb.conf. + - The deleteprinter command is - automatically called with only one parameter: - "printer name". + The deleteprinter command is + automatically called with only one parameter: + "printer name". - - Once the deleteprinter command has - been executed, smbd will reparse the - smb.conf to associated printer no longer exists. - If the sharename is still valid, then smbd - will return an ACCESS_DENIED error to the client. + Once the deleteprinter command has + been executed, smbd will reparse the + smb.conf to associated printer no longer exists. + If the sharename is still valid, then smbd + will return an ACCESS_DENIED error to the client. - See also - addprinter command, printing, - show add - printer wizard + See also + addprinter command, + printing, + show add + printer wizard - Default: none - Example: deleteprinter command = /usr/bin/removeprinter - - - + Default: none + + Example: deleteprinter command = /usr/bin/removeprinter + + diff --git a/docs/docbook/smbdotconf/printing/enumportscommand.xml b/docs/docbook/smbdotconf/printing/enumportscommand.xml index b1111a5e1c..89e510483f 100644 --- a/docs/docbook/smbdotconf/printing/enumportscommand.xml +++ b/docs/docbook/smbdotconf/printing/enumportscommand.xml @@ -1,22 +1,25 @@ - - enumports command (G) - The concept of a "port" is fairly foreign - to UNIX hosts. Under Windows NT/2000 print servers, a port - is associated with a port monitor and generally takes the form of - a local port (i.e. LPT1:, COM1:, FILE:) or a remote port - (i.e. LPD Port Monitor, etc...). By default, Samba has only one - port defined--"Samba Printer Port". Under - Windows NT/2000, all printers must have a valid port name. - If you wish to have a list of ports displayed (smbd - does not use a port name for anything) other than - the default "Samba Printer Port", you - can define enumports command to point to - a program which should generate a list of ports, one per line, - to standard output. This listing will then be used in response - to the level 1 and 2 EnumPorts() RPC. + + + The concept of a "port" is fairly foreign + to UNIX hosts. Under Windows NT/2000 print servers, a port + is associated with a port monitor and generally takes the form of + a local port (i.e. LPT1:, COM1:, FILE:) or a remote port + (i.e. LPD Port Monitor, etc...). By default, Samba has only one + port defined--"Samba Printer Port". Under + Windows NT/2000, all printers must have a valid port name. + If you wish to have a list of ports displayed (smbd + does not use a port name for anything) other than + the default "Samba Printer Port", you + can define enumports command to point to + a program which should generate a list of ports, one per line, + to standard output. This listing will then be used in response + to the level 1 and 2 EnumPorts() RPC. - Default: no enumports command - Example: enumports command = /usr/bin/listports - - - + Default: no enumports command + + Example: enumports command = /usr/bin/listports + + diff --git a/docs/docbook/smbdotconf/printing/lppausecommand.xml b/docs/docbook/smbdotconf/printing/lppausecommand.xml index 34d7c7f800..15c5aca990 100644 --- a/docs/docbook/smbdotconf/printing/lppausecommand.xml +++ b/docs/docbook/smbdotconf/printing/lppausecommand.xml @@ -1,41 +1,43 @@ - - lppause command (S) - This parameter specifies the command to be - executed on the server host in order to stop printing or spooling - a specific print job. - - This command should be a program or script which takes - a printer name and job number to pause the print job. One way - of implementing this is by using job priorities, where jobs - having a too low priority won't be sent to the printer. - - If a %p is given then the printer name - is put in its place. A %j is replaced with - the job number (an integer). On HPUX (see printing=hpux - ), if the -p%p option is added - to the lpq command, the job will show up with the correct status, i.e. - if the job priority is lower than the set fence priority it will - have the PAUSED status, whereas if the priority is equal or higher it - will have the SPOOLED or PRINTING status. - - Note that it is good practice to include the absolute path - in the lppause command as the PATH may not be available to the server. - - See also the printing - parameter. - - Default: Currently no default value is given to - this string, unless the value of the printing - parameter is SYSV, in which case the default is : - - lp -i %p-%j -H hold - - or if the value of the printing parameter - is SOFTQ, then the default is: - - qstat -s -j%j -h + + + This parameter specifies the command to be + executed on the server host in order to stop printing or spooling + a specific print job. + + This command should be a program or script which takes + a printer name and job number to pause the print job. One way + of implementing this is by using job priorities, where jobs + having a too low priority won't be sent to the printer. + + If a %p is given then the printer name + is put in its place. A %j is replaced with + the job number (an integer). On HPUX (see printing=hpux + ), if the -p%p option is added + to the lpq command, the job will show up with the correct status, i.e. + if the job priority is lower than the set fence priority it will + have the PAUSED status, whereas if the priority is equal or higher it + will have the SPOOLED or PRINTING status. + + Note that it is good practice to include the absolute path + in the lppause command as the PATH may not be available to the server. + + See also the printing + parameter. + + Default: Currently no default value is given to + this string, unless the value of the printing + parameter is SYSV, in which case the default is : + + lp -i %p-%j -H hold + + or if the value of the printing parameter + is SOFTQ, then the default is: + + qstat -s -j%j -h - Example for HPUX: lppause command = /usr/bin/lpalt - %p-%j -p0 - - + Example for HPUX: lppause command = /usr/bin/lpalt %p-%j -p0 + + diff --git a/docs/docbook/smbdotconf/printing/lpresumecommand.xml b/docs/docbook/smbdotconf/printing/lpresumecommand.xml index fbb1ac71ad..ae3241bfa9 100644 --- a/docs/docbook/smbdotconf/printing/lpresumecommand.xml +++ b/docs/docbook/smbdotconf/printing/lpresumecommand.xml @@ -1,37 +1,39 @@ - - lpresume command (S) - This parameter specifies the command to be - executed on the server host in order to restart or continue - printing or spooling a specific print job. + + + This parameter specifies the command to be + executed on the server host in order to restart or continue + printing or spooling a specific print job. - This command should be a program or script which takes - a printer name and job number to resume the print job. See - also the lppause command - parameter. + This command should be a program or script which takes + a printer name and job number to resume the print job. See + also the lppause command + parameter. - If a %p is given then the printer name - is put in its place. A %j is replaced with - the job number (an integer). + If a %p is given then the printer name + is put in its place. A %j is replaced with + the job number (an integer). - Note that it is good practice to include the absolute path - in the lpresume command as the PATH may not - be available to the server. + Note that it is good practice to include the absolute path + in the lpresume command as the PATH may not + be available to the server. - See also the printing - parameter. + See also the printing + parameter. - Default: Currently no default value is given - to this string, unless the value of the printing - parameter is SYSV, in which case the default is : + Default: Currently no default value is given + to this string, unless the value of the printing + parameter is SYSV, in which case the default is : - lp -i %p-%j -H resume + lp -i %p-%j -H resume - or if the value of the printing parameter - is SOFTQ, then the default is: + or if the value of the printing parameter + is SOFTQ, then the default is: - qstat -s -j%j -r + qstat -s -j%j -r - Example for HPUX: lpresume command = /usr/bin/lpalt - %p-%j -p2 - - + Example for HPUX: lpresume command = /usr/bin/lpalt %p-%j -p2 + + diff --git a/docs/docbook/smbdotconf/printing/os2drivermap.xml b/docs/docbook/smbdotconf/printing/os2drivermap.xml index fdfba35a49..478031c7b9 100644 --- a/docs/docbook/smbdotconf/printing/os2drivermap.xml +++ b/docs/docbook/smbdotconf/printing/os2drivermap.xml @@ -1,22 +1,23 @@ - - os2 driver map (G) - The parameter is used to define the absolute - path to a file containing a mapping of Windows NT printer driver - names to OS/2 printer driver names. The format is: + + + The parameter is used to define the absolute + path to a file containing a mapping of Windows NT printer driver + names to OS/2 printer driver names. The format is: - <nt driver name> = <os2 driver - name>.<device name> + <nt driver name> = <os2 driver name>.<device name> - For example, a valid entry using the HP LaserJet 5 - printer driver would appear as HP LaserJet 5L = LASERJET.HP - LaserJet 5L. + For example, a valid entry using the HP LaserJet 5 + printer driver would appear as HP LaserJet 5L = LASERJET.HP + LaserJet 5L. - The need for the file is due to the printer driver namespace - problem described in the Samba - Printing HOWTO. For more details on OS/2 clients, please - refer to the OS2-Client-HOWTO containing in the Samba documentation. + The need for the file is due to the printer driver namespace + problem described in the Samba + Printing HOWTO. For more details on OS/2 clients, please + refer to the OS2-Client-HOWTO containing in the Samba documentation. - Default: os2 driver map = <empty string> - - - + Default: os2 driver map = <empty string> + + diff --git a/docs/docbook/smbdotconf/printing/printer.xml b/docs/docbook/smbdotconf/printing/printer.xml index 4cf90b06fa..0a9611ee03 100644 --- a/docs/docbook/smbdotconf/printing/printer.xml +++ b/docs/docbook/smbdotconf/printing/printer.xml @@ -1,6 +1,9 @@ - - printer (S) - Synonym for - printer name. - - + + + Synonym for + printer name. + + diff --git a/docs/docbook/smbdotconf/printing/printername.xml b/docs/docbook/smbdotconf/printing/printername.xml index 25e6afa1f2..9f76a673ad 100644 --- a/docs/docbook/smbdotconf/printing/printername.xml +++ b/docs/docbook/smbdotconf/printing/printername.xml @@ -1,15 +1,18 @@ - - printer name (S) - This parameter specifies the name of the printer - to which print jobs spooled through a printable service will be sent. + + + This parameter specifies the name of the printer + to which print jobs spooled through a printable service will be sent. - If specified in the [global] section, the printer - name given will be used for any printable service that does - not have its own printer name specified. + If specified in the [global] section, the printer + name given will be used for any printable service that does + not have its own printer name specified. - Default: none (but may be lp - on many systems) + Default: none (but may be lp + on many systems) - Example: printer name = laserwriter - - + Example: printer name = laserwriter + + diff --git a/docs/docbook/smbdotconf/printing/queuepausecommand.xml b/docs/docbook/smbdotconf/printing/queuepausecommand.xml index c991994f7f..13741a0e7f 100644 --- a/docs/docbook/smbdotconf/printing/queuepausecommand.xml +++ b/docs/docbook/smbdotconf/printing/queuepausecommand.xml @@ -1,26 +1,29 @@ - - queuepause command (S) - This parameter specifies the command to be - executed on the server host in order to pause the printer queue. + + + This parameter specifies the command to be + executed on the server host in order to pause the printer queue. - This command should be a program or script which takes - a printer name as its only parameter and stops the printer queue, - such that no longer jobs are submitted to the printer. + This command should be a program or script which takes + a printer name as its only parameter and stops the printer queue, + such that no longer jobs are submitted to the printer. - This command is not supported by Windows for Workgroups, - but can be issued from the Printers window under Windows 95 - and NT. + This command is not supported by Windows for Workgroups, + but can be issued from the Printers window under Windows 95 + and NT. - If a %p is given then the printer name - is put in its place. Otherwise it is placed at the end of the command. - + If a %p is given then the printer name + is put in its place. Otherwise it is placed at the end of the command. + - Note that it is good practice to include the absolute - path in the command as the PATH may not be available to the - server. + Note that it is good practice to include the absolute + path in the command as the PATH may not be available to the + server. - Default: depends on the setting of printing - - Example: queuepause command = disable %p - - + Default: depends on the setting of printing + + Example: queuepause command = disable %p + + diff --git a/docs/docbook/smbdotconf/printing/queueresumecommand.xml b/docs/docbook/smbdotconf/printing/queueresumecommand.xml index 7c0d60961a..23f6702192 100644 --- a/docs/docbook/smbdotconf/printing/queueresumecommand.xml +++ b/docs/docbook/smbdotconf/printing/queueresumecommand.xml @@ -1,31 +1,33 @@ - - queueresume command (S) - This parameter specifies the command to be - executed on the server host in order to resume the printer queue. It - is the command to undo the behavior that is caused by the - previous parameter ( - queuepause command). + + + This parameter specifies the command to be + executed on the server host in order to resume the printer queue. It + is the command to undo the behavior that is caused by the + previous parameter ( + queuepause command). - This command should be a program or script which takes - a printer name as its only parameter and resumes the printer queue, - such that queued jobs are resubmitted to the printer. + This command should be a program or script which takes + a printer name as its only parameter and resumes the printer queue, + such that queued jobs are resubmitted to the printer. - This command is not supported by Windows for Workgroups, - but can be issued from the Printers window under Windows 95 - and NT. + This command is not supported by Windows for Workgroups, + but can be issued from the Printers window under Windows 95 + and NT. - If a %p is given then the printer name - is put in its place. Otherwise it is placed at the end of the - command. + If a %p is given then the printer name + is put in its place. Otherwise it is placed at the end of the + command. - Note that it is good practice to include the absolute - path in the command as the PATH may not be available to the - server. + Note that it is good practice to include the absolute + path in the command as the PATH may not be available to the + server. - Default: depends on the setting of printing - + Default: depends on the setting of + printing - Example: queuepause command = enable %p - - - + Example: queuepause command = enable %p + + diff --git a/docs/docbook/smbdotconf/printing/showaddprinterwizard.xml b/docs/docbook/smbdotconf/printing/showaddprinterwizard.xml index 9bf5160ad5..5a0d5c8877 100644 --- a/docs/docbook/smbdotconf/printing/showaddprinterwizard.xml +++ b/docs/docbook/smbdotconf/printing/showaddprinterwizard.xml @@ -1,31 +1,35 @@ - - show add printer wizard (G) - With the introduction of MS-RPC based printing support - for Windows NT/2000 client in Samba 2.2, a "Printers..." folder will - appear on Samba hosts in the share listing. Normally this folder will - contain an icon for the MS Add Printer Wizard (APW). However, it is - possible to disable this feature regardless of the level of privilege - of the connected user. + + + With the introduction of MS-RPC based printing support + for Windows NT/2000 client in Samba 2.2, a "Printers..." folder will + appear on Samba hosts in the share listing. Normally this folder will + contain an icon for the MS Add Printer Wizard (APW). However, it is + possible to disable this feature regardless of the level of privilege + of the connected user. - Under normal circumstances, the Windows NT/2000 client will - open a handle on the printer server with OpenPrinterEx() asking for - Administrator privileges. If the user does not have administrative - access on the print server (i.e is not root or a member of the - printer admin group), the OpenPrinterEx() - call fails and the client makes another open call with a request for - a lower privilege level. This should succeed, however the APW - icon will not be displayed. + Under normal circumstances, the Windows NT/2000 client will + open a handle on the printer server with OpenPrinterEx() asking for + Administrator privileges. If the user does not have administrative + access on the print server (i.e is not root or a member of the + printer admin group), the OpenPrinterEx() + call fails and the client makes another open call with a request for + a lower privilege level. This should succeed, however the APW + icon will not be displayed. - Disabling the show add printer wizard - parameter will always cause the OpenPrinterEx() on the server - to fail. Thus the APW icon will never be displayed. - Note :This does not prevent the same user from having - administrative privilege on an individual printer. + Disabling the show add printer wizard + parameter will always cause the OpenPrinterEx() on the server + to fail. Thus the APW icon will never be displayed. + Note :This does not prevent the same user from having + administrative privilege on an individual printer. - See also addprinter - command, - deleteprinter command, printer admin + See also addprinter + command, + deleteprinter command, + printer admin - Default :show add printer wizard = yes - - + Default :show add printer wizard = yes + + diff --git a/docs/docbook/smbdotconf/printing/useclientdriver.xml b/docs/docbook/smbdotconf/printing/useclientdriver.xml index 8327d0aaa4..bc4162333b 100644 --- a/docs/docbook/smbdotconf/printing/useclientdriver.xml +++ b/docs/docbook/smbdotconf/printing/useclientdriver.xml @@ -1,35 +1,39 @@ - - use client driver (S) - This parameter applies only to Windows NT/2000 - clients. It has no affect on Windows 95/98/ME clients. When - serving a printer to Windows NT/2000 clients without first installing - a valid printer driver on the Samba host, the client will be required - to install a local printer driver. From this point on, the client - will treat the print as a local printer and not a network printer - connection. This is much the same behavior that will occur - when disable spoolss = yes. + + + This parameter applies only to Windows NT/2000 + clients. It has no affect on Windows 95/98/ME clients. When + serving a printer to Windows NT/2000 clients without first installing + a valid printer driver on the Samba host, the client will be required + to install a local printer driver. From this point on, the client + will treat the print as a local printer and not a network printer + connection. This is much the same behavior that will occur + when disable spoolss = yes. + - The differentiating - factor is that under normal circumstances, the NT/2000 client will - attempt to open the network printer using MS-RPC. The problem is that - because the client considers the printer to be local, it will attempt - to issue the OpenPrinterEx() call requesting access rights associated - with the logged on user. If the user possesses local administator rights - but not root privilegde on the Samba host (often the case), the OpenPrinterEx() - call will fail. The result is that the client will now display an "Access - Denied; Unable to connect" message in the printer queue window (even though - jobs may successfully be printed). + The differentiating factor is that under normal + circumstances, the NT/2000 client will attempt to open the network + printer using MS-RPC. The problem is that because the client + considers the printer to be local, it will attempt to issue the + OpenPrinterEx() call requesting access rights associated with the + logged on user. If the user possesses local administator rights but + not root privilegde on the Samba host (often the case), the + OpenPrinterEx() call will fail. The result is that the client will + now display an "Access Denied; Unable to connect" message + in the printer queue window (even though jobs may successfully be + printed). - If this parameter is enabled for a printer, then any attempt - to open the printer with the PRINTER_ACCESS_ADMINISTER right is mapped - to PRINTER_ACCESS_USE instead. Thus allowing the OpenPrinterEx() - call to succeed. This parameter MUST not be able enabled - on a print share which has valid print driver installed on the Samba - server. + If this parameter is enabled for a printer, then any attempt + to open the printer with the PRINTER_ACCESS_ADMINISTER right is mapped + to PRINTER_ACCESS_USE instead. Thus allowing the OpenPrinterEx() + call to succeed. This parameter MUST not be able enabled + on a print share which has valid print driver installed on the Samba + server. - See also disable spoolss - + See also disable spoolss - Default: use client driver = no - - + Default: use client driver = no + + -- cgit