|
48.
|
|
|
Samba Print Server
|
|
|
|
Servidor d'impressió Samba
|
|
Translated and reviewed by
David Planella
|
|
|
|
Located in
serverguide/C/windows-networking.xml:275(title)
|
|
49.
|
|
|
Another common use of Samba is to configure it to share printers installed, either locally or over the network, on an Ubuntu server. Similar to <xref linkend="samba-fileserver"/> this section will configure Samba to allow any client on the local network to use the installed printers without prompting for a username and password.
|
|
|
|
Un altre ús habitual del Samba és la compartició d'impressores instal·lades en un servidor Ubuntu, ja sigui localment o a través de la xarxa. De manera similar a <xref linkend="samba-fileserver"/> aquest apartat descriu com configurar el Samba per a permetre que qualsevol client de la xarxa utilitzi les impressores instal·lades sense sol·licitar el nom d'usuari ni la contrasenya.
|
|
Translated by
David Planella
|
|
Reviewed by
David Planella
|
|
|
|
Located in
serverguide/C/windows-networking.xml:277(para)
|
|
50.
|
|
|
For a more secure configuration see <xref linkend="samba-fileprint-security"/>.
|
|
|
|
Per una configuració més segura vegeu <xref linkend="samba-fileprint-security"/>.
|
|
Translated and reviewed by
David Planella
|
|
|
|
Located in
serverguide/C/windows-networking.xml:283(para)
|
|
51.
|
|
|
Before installing and configuring Samba it is best to already have a working <application>CUPS</application> installation. See <xref linkend="cups"/> for details.
|
|
|
|
Abans d'instal·lar i configurar el Samba es recomanable tenir una instal·lació funcional del <application>CUPS</application>.Vegeu <xref linkend="cups"/> per a obtenir-ne més detalls.
|
|
Translated by
David Planella
|
|
Reviewed by
David Planella
|
|
|
|
Located in
serverguide/C/windows-networking.xml:290(para)
|
|
52.
|
|
|
To install the <application>samba</application> package, from a terminal enter:
|
|
|
|
Per a instal·lar el paquet <application>samba</application> en un terminal introduïu:
|
|
Translated and reviewed by
David Planella
|
|
|
|
Located in
serverguide/C/windows-networking.xml:295(para)
|
|
53.
|
|
|
After installing samba edit <filename>/etc/samba/smb.conf</filename>. Change the <emphasis>workgroup</emphasis> attribute to what is appropriate for your network, and change <emphasis>security</emphasis> to <emphasis role="italic">share</emphasis>:
|
|
|
|
Després d'instal·lar el Samba editeu el fitxer <filename>/etc/samba/smb.conf</filename>. Canvieu-ne l'atribut <emphasis>workgroup</emphasis> per un nom més adequat per la vostra xarxa. Canvieu també <emphasis>security</emphasis> per <emphasis role="italic">share</emphasis>:
|
|
Translated by
David Planella
|
|
Reviewed by
David Planella
|
|
|
|
Located in
serverguide/C/windows-networking.xml:306(para)
|
|
54.
|
|
|
In the <emphasis>[printers]</emphasis> section change the <emphasis>guest ok</emphasis> option to <emphasis role="italic">yes</emphasis>:
|
|
|
|
En l'apartat <emphasis>[printers]</emphasis> canvieu l'opció <emphasis>guest ok</emphasis> per <emphasis role="italic">yes</emphasis>:
|
|
Translated and reviewed by
David Planella
|
|
|
|
Located in
serverguide/C/windows-networking.xml:318(para)
|
|
55.
|
|
|
browsable = yes
guest ok = yes
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
browsable = yes
guest ok = yes
|
|
Translated and reviewed by
David Planella
|
|
|
|
Located in
serverguide/C/windows-networking.xml:322(programlisting)
|
|
56.
|
|
|
After editing <filename>smb.conf</filename> restart Samba:
|
|
|
|
Després d'editar el fitxer <filename>smb.conf</filename> reinicieu el Samba:
|
|
Translated and reviewed by
David Planella
|
|
|
|
Located in
serverguide/C/windows-networking.xml:327(para)
|
|
57.
|
|
|
The default Samba configuration will automatically share any printers installed. Simply install the printer locally on your Windows clients.
|
|
|
|
La configuracio predeterminada del Samba compartirà automàticament qualsevol impressora instal·lada. Simplement instal·leu l'impressora localment als vostres clients Windows.
|
|
Translated and reviewed by
David Planella
|
|
|
|
Located in
serverguide/C/windows-networking.xml:336(para)
|