Solucionar error Tree connect failed (NT_STATUS_ACCESS_DENIED) de CUPS

printer-cupsEl escenario es el siguiente: En mi centro de trabajo hay un Controlador de Dominio para algunas PCs que están en Windows. Una de estas PCs tiene instalado Windows 2000 y tiene como único objetivo compartir una impresora Epson LX 300+ « Si, una pieza de museo.

La cuestión es que necesitaba que los clientes que usan Ubuntu 12.04 pudiesen usar la impresora mediante la red.

  1. Abro el asistente de configuración de impresoras (system-config-printer) y Configuro una Impresora por la red.
  2. Inserto la IP de la PC que comparte la impresora, le doy Buscar y perfecto, encuentra la Impresora.
  3. Luego me pide usar un Driver, así que busco Epson, luego busco LX 300+.

Y listo. Ya configurada la impresora me dispongo a imprimir una página de prueba cuando de pronto un lindo errorcillo.

Tree connect failed (NT_STATUS_ACCESS_DENIED)

Dije bueno, a buscar en Internet… así que navegando por aquí y por allá di con la solución. Para este ejemplo usaré como Dominio: DESDELINUX, y como nombre de usuario y contraseña: elav y desdelinux respectivamente.

El usuario elav tiene privilegios administrativos en la PC con Windows. No probé con un usuario normal

Editamos el fichero /etc/samba/smb.conf:

$ sudo nano /etc/samba/smb.conf

Buscamos la línea que dice:

# Change this to the workgroup/NT-domain name your Samba server will part of
workgroup = WORKGROUP

Y la dejamos de la siguiente forma:

# Change this to the workgroup/NT-domain name your Samba server will part of
workgroup = DESDELINUX

Luego editamos el fichero /etc/cups/printers.conf, donde se supone se guardaron los datos de la impresora que configuramos. Buscamos la línea que dice:

DeviceURI smb://

y la dejamos así:

DeviceURI smb://DESDELINUX\elav:desdelinux@

Reiniciamos CUPS

$ sudo service cups restart


Y listo. Ya podremos imprimir.

Dejar un comentario?

7 Comentarios.

  1. In the identical sense, business owners would
    be wise to give their workers something to unite under. This business is going to be operated from the owner’s home and is going to be done entirely on the internet.
    A well-developed business plan is like your blueprint for victory.

    Review my blog post:

  2. Your website must provide a clear message with a goal-oriented direction, setting you apart from your competition. Investors are there to help
    you the entrepreneur and to achieve a make money from their investment in the entrepreneurs company.
    I have witnessed my share of scams, and have in fact done
    an excellent job avoiding being taken to get a sucker and I’m here to
    share with you, Ameriplan is just not a scam.

    my website ::

  3. Furthermore, my experience includes identifying the competitive
    advantage to get a few different companies and crafting that advantage into a online strategy to
    develop new business. She invites you to definitely visit her site where she’ll share a proven method to start an business online.

    A well-developed business plan is similar to your blueprint for

    Feel free to visit my web blog;

  4. Using ingenious technology and innovation the Romans made an Empire that withstood the test of energy.
    An eye catching attractive website is essential inside technologically
    advanced and highly competitive market of current age, for
    the success of business (
    The business degree raises one’s social standing: in simple terms, it opens
    for you doors that will have otherwise remained closed
    to you.

  5. The dedicated team of AVG professionals is accessible here all round time, whom you
    are able to reach by calling around the AVG tech support number.
    Businesses are going to heavily determined by customers because of their
    survival, without customers an enterprise would cease to exist.

    ” Employees at Nike are encouraged to become curious and open to new ideas, whatever their source.

    My web site …

  6. In order to cope inside a fast-paced market, new applications are needed.
    Investors are there to help the entrepreneur and to gain a cash in on their investment from the entrepreneurs
    company. Donnie Jonston will be the author of this article about the way to make
    cash on Ebay Donnie has a lot of work experience as being a writer
    and in addition working with drop shippers in a
    very variety of entrepreneurial ventures.

    my site …

  7. What’s up colleagues, fastidious article and pleasant urging commented at
    this place, I am genuinely enjoying by these.

Deje un comentario

NOTA - Puede usar estosHTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Translate »