Comment 26 for bug 967410

Revision history for this message
David (orlando-dad) wrote :

Bad Spanish

Disculpen por la mala explicacion en el comment #21.

Bueno, en mi configuración de samba el grupo lpadmin es administrador de impresoras, mi usuario pertenece al grupo lpadmin, por eso funciono para mi sin ser usuario root (opcional agregar "printer admin = @lpadmin" en smb.conf sin las comillas), el usuario root es siempre por defecto administrador de impresoras.

Para una mejor explicacion del comando rpcclient y su uso podemos acudir siempre al man del comando.

Tomado del manual :

"enumprinters [level]
           Execute an EnumPrinters() call. This lists the various installed and share printers. Refer to the MS Platform SDK documentation for more details of the various flags and calling options. Currently supported info levels are 1, 2 and 5."

 "setprintername <printername> <newprintername>
           Set printer name"

----------------------------------------------------------------------------------------------------------------------------------------
Bad English

Sorry for the bad explanation in comment #21

Well, in my samba configuration the group lpadmin is printer manager, my lpadmin user belongs to, so it worked for me without being root user (optional add "printer admin = @lpadmin" in smb.conf without the quotes), the root user is always default printer manager.

For a better explanation of the rpcclient command and its use can always consult the man command.

Taken from the manual:

"enumprinters [level]
           Execute an EnumPrinters() call. This lists the various installed and share printers. Refer to the MS Platform SDK documentation for more details of the various flags and calling options. Currently supported info levels are 1, 2 and 5."

 "setprintername <printername> <newprintername>
           Set printer name"