msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2011-03-02 17:28+0500\n" "PO-Revision-Date: 2010-10-21 23:56+0600\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: el\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(title):6 msgid "Gentoo Samba3/CUPS HOWTO" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(author:title):8 #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(author:title):11 msgid "Author" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(author):8 msgid "Andreas \"daff\" Ntaflos" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(mail:link):12 msgid "joshua@sungentoo.homeunix.com" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(mail):12 msgid "Joshua Preston" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(author:title):14 msgid "Editor" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(mail:link):15 msgid "nightmorph@gentoo.org" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(mail):15 msgid "Joshua Saddler" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(abstract):18 msgid "" "Setup, install and configure a Samba server under Gentoo that shares files " "and printers without the need to install drivers." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(version):27 msgid "2" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(date):28 msgid "2011-03-02" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(title):31 msgid "Introduction to this HOWTO" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(title):33 msgid "Purpose" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):36 msgid "" "This HOWTO is designed to help you move a network from many different " "clients speaking different languages, to many different machines that speak " "a common language. The ultimate goal is to help differing architectures and " "technologies, come together in a productive, happily coexisting environment." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):43 msgid "" "Following the directions outlined in this HOWTO should give you an excellent " "step towards a peaceful cohabitation between Windows, and virtually all " "known variations of *nix." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):49 msgid "" "This HOWTO originally started not as a HOWTO, but as a FAQ. It was intended " "to explore the functionality and power of the Gentoo system, portage and the " "flexibility of USE flags. Like so many other projects, it was quickly " "discovered what was missing in the Gentoo realm: there weren't any Samba " "HOWTOs catered for Gentoo users. These users are more demanding than most; " "they require performance, flexibility and customization. This does not " "however imply that this HOWTO was not intended for other distributions; " "rather that it was designed to work with a highly customized version of " "Samba." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):60 msgid "" "This HOWTO will describe how to share files and printers between Windows PCs " "and *nix PCs. It will also show you how to mount and manipulate shares." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):65 msgid "" "There are a few topics that will be mentioned, but are out of the scope of " "this HOWTO. These will be noted as they are presented." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):70 msgid "" "This HOWTO is based on a compilation and merge of an excellent HOWTO " "provided in the Gentoo forums " "by Andreas \"daff\" Ntaflos and the collected knowledge of Joshua Preston. " "The link to this discussion is provided below for your reference:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(uri:link):79 msgid "http://forums.gentoo.org/viewtopic.php?t=110931" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(uri):79 msgid "HOWTO CUPS+Samba: printing from Windows & Linux" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(title):87 msgid "Before you use this guide" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):90 msgid "" "There are a several other guides for setting up CUPS and/or Samba, please " "read them as well, as they may tell you things left out of this HOWTO " "(intentional or otherwise). One such document is the very useful and well " "written Gentoo Printing Guide, as configuration issues and specific printer setup is not discussed " "here." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(title):101 msgid "Brief Overview" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):104 msgid "" "After presenting the various USE flags, the following list will outline all " "of the topics covered as they are presented:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(li):112 msgid "Install and configure Samba" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(li):113 #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(li):120 msgid "Install and configure CUPS" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(li):114 msgid "Adding the printer to CUPS" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(li):115 msgid "Adding the PS drivers for the Windows clients" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(li):110 msgid "On the Samba server: " msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(li):121 msgid "Configuring a default printer" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(li):122 msgid "Mounting a Windows or Samba share" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(li):118 msgid "On the Unix clients: " msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(li):127 msgid "Configuring the printer" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(li):128 msgid "Accessing Samba shares" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(li):125 msgid "On the Windows Clients: " msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(title):136 msgid "Requirements" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):139 msgid "We will need the following:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(li):144 msgid "net-fs/samba" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(li):145 msgid "net-print/cups (built with the ppds USE flag)" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(li):146 msgid "net-print/hplip (if you have an HP printer)" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(li):147 msgid "A kernel of sorts (2.6)" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(li):148 msgid "A printer (PS or non-PS)" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(li):149 msgid "" "A working network (home/office/etc) consisting of more than one machine)" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):154 msgid "" "The main package we use here is net-fs/samba, however, you will need " "a kernel with CIFS support enabled in order to mount a Samba or Windows " "share from another computer. CUPS will be emerged if it is not already." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(title):165 msgid "Getting acquainted with Samba" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(title):167 msgid "The USE Flags" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):170 msgid "" "Before emerging anything, take a look at some of the various USE flags " "available to Samba." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(pre:caption):175 msgid "Samba uses the following USE Variables:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(pre):175 #, no-wrap msgid "" "\n" "kerberos acl cups ldap pam readline python winbind\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):179 msgid "" "Depending on the network topology and the specific requirements of the " "server, the USE flags outlined below will define what to include or exclude " "from the emerging of Samba." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(th):188 msgid "Description" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(ti):192 msgid "" "Include support for Kerberos. The server will need this if it is intended to " "join an existing domain or Active Directory. See the note below for more " "information." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(ti):200 msgid "" "Enables Access Control Lists. The ACL support in Samba uses a patched ext2/" "ext3, or SGI's XFS in order to function properly as it extends more detailed " "access to files or directories; much more so than typical *nix GID/UID " "schemas." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(ti):209 msgid "" "This enables support for the Common Unix Printing System. This provides an " "interface allowing local CUPS printers to be shared to other systems in the " "network." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(ti):217 msgid "" "Enables the Lightweight Directory Access Protocol (LDAP). If Samba is " "expected to use Active Directory, this option must be used. This would be " "used in the event Samba needs to login to or provide login to a Domain/" "Active Directory Server. The kerberos USE flag is needed for proper " "functioning of this option." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(ti):227 msgid "" "Include support for pluggable authentication modules (PAM). This provides " "the ability to authenticate users on the Samba Server, which is required if " "users have to login to your server. The kerberos USE flag is recommended " "along with this option." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(ti):236 msgid "" "Link Samba against libreadline. This is highly recommended and should " "probably not be disabled." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(ti):243 msgid "" "Python bindings API. Provides an API that will allow Python to interface " "with Samba." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(ti):250 msgid "" "Winbind allows for a unified logon within a Samba environment. It uses a " "Unix implementation of Windows RPC calls, PAM and the name service switch " "(supported by the c library) to enable Windows NT domain users to appear and " "work as Unix users on a Unix system." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):259 msgid "" "A couple of things worth mentioning about the USE flags and different Samba " "functions include:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(li):265 msgid "" "ACLs on ext2/3 are implemented through extended attributes (EAs). EA and ACL " "kernel options for ext2 and/or ext3 will need to be enabled (depending on " "which file system is being used - both can be enabled)." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(uri):274 msgid "http://www.bluelightning.org/linux/samba_acl_howto/" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(uri):275 msgid "http://www.wlug.org.nz/HowtoSamba3AndActiveDirectory" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(li):270 msgid "" "While Active Directory, ACL, and PDC functions are out of the intended scope " "of this HOWTO, you may find these links as helpful to your cause: " "" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(title):285 msgid "Server Software Installation" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(title):287 msgid "Emerging Samba" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):290 msgid "" "First of all: be sure that all your hostnames resolve correctly. Either have " "a working domain name system running on your network or appropriate entries " "in your /etc/hosts file. cupsaddsmb often borks if " "hostnames don't point to the correct machines." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):297 msgid "" "Hopefully now you can make an assessment of what you'll actually need in " "order to use Samba with your particular setup. The setup used for this HOWTO " "is:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(li):303 msgid "cups" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(li):304 msgid "readline" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(li):305 msgid "pam" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):308 msgid "" "To optimize performance, size and the time of the build, the USE flags are " "specifically included or excluded." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):313 msgid "" "First, add ppds to your USE flags to make sure that when CUPS is " "built, it has proper foomatic support:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(pre:caption):318 msgid "Adding ppds" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(pre):318 #, no-wrap msgid "" "\n" "# echo \"net-print/cups ppds\" >> /etc/portage/package.use\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):322 msgid "Now, emerge Samba:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(pre:caption):326 msgid "Emerge Samba" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(pre):326 #, no-wrap msgid "" "\n" "# echo \"net-fs/samba readline cups pam\" >> /etc/portage/package.use\n" "# emerge net-fs/samba\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):331 msgid "This will emerge Samba and CUPS." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(title):338 msgid "Emerging net-print/hplip" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):341 msgid "You only need to emerge this if you use an HP printer." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(pre:caption):345 msgid "Emerge hplip" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(pre):345 #, no-wrap msgid "" "\n" "# emerge net-print/hplip\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(title):354 msgid "Server Configuration" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(title):356 msgid "Configuring Samba" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):359 msgid "" "The main Samba configuration file is /etc/samba/smb.conf. It is " "divided in sections indicated by [sectionname]. Comments are either # or ;. " "A sample smb.conf is included below with comments and " "suggestions for modifications. If more details are required, see the man " "page for smb.conf, the installed smb.conf.example, " "the Samba Web site or any of the numerous Samba books available." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(pre:caption):368 msgid "A Sample /etc/samba/smb.conf" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(pre):368 #, no-wrap msgid "" "\n" "[global]\n" "# Replace MYWORKGROUPNAME with your workgroup/domain\n" "workgroup = MYWORKGROUPNAME\n" "# Of course this has no REAL purpose other than letting\n" "# everyone knows it's not Windows!\n" "# %v prints the version of Samba we are using.\n" "server string = Samba Server %v\n" "# We are going to use cups, so we are going to put it in here ;-)\n" "printcap name = cups\n" "printing = cups\n" "load printers = yes\n" "# We want a log file and we do not want it to get bigger than 50kb.\n" "log file = /var/log/samba/log.%m\n" "max log size = 50\n" "# We are going to set some options for our interfaces...\n" "socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192\n" "# This is a good idea, what we are doing is binding the\n" "# samba server to our local network.\n" "# For example, if eth0 is our local network device\n" "interfaces = lo eth0\n" "bind interfaces only = yes\n" "# Now we are going to specify who we allow, we are afterall\n" "# very security conscience, since this configuration does\n" "# not use passwords!\n" "hosts allow = 127.0.0.1 192.168.1.0/24\n" "hosts deny = 0.0.0.0/0\n" "# Other options for this are USER, DOMAIN, ADS, and SERVER\n" "# The default is user\n" "security = share\n" "# No passwords, so we're going to use a guest account!\n" "guest ok = yes\n" "\n" "# Now we setup our print drivers information!\n" "[print$]\n" "comment = Printer Drivers\n" "path = /etc/samba/printer # this path holds the driver structure\n" "guest ok = yes\n" "browseable = yes\n" "read only = yes\n" "# Modify this to \"username,root\" if you don't want root to\n" "# be the only printer admin)\n" "write list = root\n" "\n" "# Now we'll setup a printer to share, while the name is arbitrary\n" "# it should be consistent throughout Samba and CUPS!\n" "[HPDeskJet930C]\n" "comment = HP DeskJet 930C Network Printer\n" "printable = yes\n" "path = /var/spool/samba\n" "public = yes\n" "guest ok = yes\n" "# Modify this to \"username,root\" if you don't want root to\n" "# be the only printer admin)\n" "printer admin = root\n" "\n" "# Now we setup our printers share. This should be\n" "# browseable, printable, public.\n" "[printers]\n" "comment = All Printers\n" "browseable = no\n" "printable = yes\n" "writable = no\n" "public = yes\n" "guest ok = yes\n" "path = /var/spool/samba\n" "# Modify this to \"username,root\" if you don't want root to\n" "# be the only printer admin)\n" "printer admin = root\n" "\n" "# We create a new share that we can read/write to from anywhere\n" "# This is kind of like a public temp share, anyone can do what\n" "# they want here.\n" "[public]\n" "comment = Public Files\n" "browseable = yes\n" "public = yes\n" "create mode = 0766\n" "guest ok = yes\n" "path = /home/samba/public\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(warn):450 msgid "" "If you like to use Samba's guest account to do anything concerning printing " "from Windows clients: don't set guest only = yes in the [global] section. The guest account seems to cause problems when running " "cupsaddsmb sometimes when trying to connect from Windows machines. " "See below, too, when we talk about cupsaddsmb and the problems that " "can arise. Use a dedicated printer user, like printeruser or " "printer or printme or whatever. It doesn't hurt and it will " "certainly protect you from a lot of problems." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):461 msgid "" "Now create the directories required for the minimum configuration of Samba " "to share the installed printer throughout the network." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(pre:caption):466 msgid "Create the directories" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(pre):466 #, no-wrap msgid "" "\n" "# mkdir /etc/samba/printer\n" "# mkdir /var/spool/samba\n" "# mkdir /home/samba/public\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):472 msgid "" "At least one Samba user is required in order to install the printer drivers " "and to allow users to connect to the printer. Users must exist in the " "system's /etc/passwd file." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(pre:caption):478 msgid "Creating the users" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(pre):478 #, no-wrap msgid "" "\n" "# smbpasswd -a root\n" "\n" "(If another user is to be a printer admin)\n" "# smbpasswd -a username\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):485 msgid "" "The Samba passwords need not be the same as the system passwords in /" "etc/passwd." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):490 msgid "" "You will also need to update /etc/nsswitch.conf so that Windows " "systems can be found easily using NetBIOS:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(pre:caption):495 msgid "Editing /etc/nsswitch.conf" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(pre):495 #, no-wrap msgid "" "\n" "# nano -w /etc/nsswitch.conf\n" "(Edit the hosts: line)\n" "hosts: files dns wins\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(title):504 msgid "Configuring CUPS" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):507 msgid "" "This is a little more complicated. CUPS' main config file is /etc/cups/" "cupsd.conf. It's structure is similar to Apache's httpd.conf file, so many you may find it familiar. Outlined in the example are " "the directives that need to be changed:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(pre:caption):514 msgid "/etc/cups/cupsd.conf" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(pre):514 #, no-wrap msgid "" "\n" "ServerName PrintServer # your printserver name\n" "ServerAdmin root@PrintServer # the person for printer-related hate-mail, e.g. you\n" "\n" "AccessLog /var/log/cups/access_log # probably doesn't need changing\n" "ErrorLog /var/log/cups/error_log # doesn't really need changing either\n" "\n" "LogLevel debug # only while installing and testing, should later be\n" " # changed to 'info'\n" "\n" "MaxClients 100 # I've had to set this to 1000000000 or so because some time back,\n" " # there seemed to be a bug in CUPS' controlling of the web interface,\n" " # making CUPS think a denial of service attack was in progress when\n" " # I tried to configure a printer with the web interface. weird.\n" "\n" "BrowseAddress @IF(eth0) # Change this to your internal net interface\n" "\n" "<Location />\n" "Order Deny,Allow\n" "Deny From All\n" "Allow From 192.168.1.* # the addresses of your internel network\n" " # e.g. 192.168.1.* will allow connections from any host on\n" " # the 192.168.1.0 network. change to whatever suits you\n" "</Location>\n" "\n" "<Location /admin>\n" "AuthType Basic\n" "AuthClass System\n" "Allow From 192.168.1.* # same as above, allow any host on the\n" " # 192.168.1.0 network to connect and do\n" " # administrative tasks after authenticating\n" "Order Deny,Allow\n" "Deny From All\n" "</Location>\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):550 msgid "" "Edit /etc/cups/mime.convs to uncomment some lines. The changes " "to mime.convs and mime.types are needed to make " "CUPS print Microsoft Office document files." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(pre:caption):556 msgid "/etc/cups/mime.convs" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(pre):556 #, no-wrap msgid "" "\n" "(The following line is found near the end of the file. Uncomment it)\n" "application/octet-stream application/vnd.cups-raw 0\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):561 msgid "Edit /etc/cups/mime.types to uncomment some lines." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(pre:caption):565 msgid "/etc/cups/mime.types" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(pre):565 #, no-wrap msgid "" "\n" "(The following line is found near the end of the file. Uncomment it)\n" "application/octet-stream\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):570 msgid "CUPS needs to be started on boot, and started immediately." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(pre:caption):574 msgid "Setting up the CUPS service" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(pre):574 #, no-wrap msgid "" "\n" "(To start CUPS on boot)\n" "# rc-update add cupsd default\n" "(To start or restart CUPS now)\n" "# /etc/init.d/cupsd restart\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(title):584 msgid "Installing a printer for and with CUPS" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):587 msgid "" "First, go to LinuxPrinting.Org " "to find and download the correct PPD file for your printer and CUPS. To do " "so, click the link Printer Listings to the left. Select your printers " "manufacturer and the model in the pulldown menu, e.g. HP and DeskJet 930C. " "Click \"Show\". On the page coming up click the \"recommended driver\" link " "after reading the various notes and information. Then fetch the PPD file " "from the next page, again after reading the notes and introductions there. " "You may have to select your printers manufacturer and model again. Reading " "the CUPS quickstart " "guide is also very helpful when working with CUPS." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):600 msgid "" "Now you have a PPD file for your printer to work with CUPS. Place it in " "/usr/share/cups/model. The PPD for the HP DeskJet 930C was " "named HP-DeskJet_930C-hpijs.ppd. You should now install the " "printer. This can be done via the CUPS web interface or via command line. " "The web interface is found at http://PrintServer:631 once CUPS " "is running." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(pre:caption):608 msgid "Install the printer via command line" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(pre):608 #, no-wrap msgid "" "\n" "# lpadmin -p HPDeskJet930C -E -v usb:/dev/ultp0 -m HP-DeskJet_930C-hpijs.ppd\n" "# /etc/init.d/cupsd restart\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):613 msgid "" "Remember to adjust to what you have. Be sure to have the name (-p " "argument) right (the name you set above during the Samba configuration!) and " "to put in the correct usb:/dev/usb/blah, parallel:/dev/blah or " "whatever device you are using for your printer." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):620 msgid "" "You should now be able to access the printer from the web interface and be " "able to print a test page." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(title):628 msgid "Installing the Windows printer drivers" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):631 msgid "" "Now that the printer should be working it is time to install the drivers for " "the Windows clients to work. Samba 2.2 introduced this functionality. " "Browsing to the print server in the Network Neighbourhood, right-clicking on " "the printershare and selecting \"connect\" downloads the appropriate drivers " "automagically to the connecting client, avoiding the hassle of manually " "installing printer drivers locally." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):640 msgid "" "There are two sets of printer drivers for this. First, the Adobe PS drivers " "which can be obtained from Adobe (PostScript printer drivers). Second, " "there are the CUPS PS drivers, to be obtained by emerging net-print/cups-" "windows. There doesn't seem to be a difference between the functionality " "of the two, but the Adobe PS drivers need to be extracted on a Windows " "System since it's a Windows binary. Also the whole procedure of finding and " "copying the correct files is a bit more hassle. The CUPS drivers support " "some options the Adobe drivers don't." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):652 msgid "This HOWTO uses the CUPS drivers for Windows. Install them as shown:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(pre:caption):656 msgid "Install the drivers" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(pre):656 #, no-wrap msgid "" "\n" "# emerge -av cups-windows\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):660 msgid "" "Now we'll use the script cupsaddsmb provided by the CUPS " "distribution. Be sure to read its manpage (man cupsaddsmb), as it " "will tell you which Windows drivers you'll need to copy to the proper CUPS " "directory. Once you've copied the drivers, restart CUPS by running /etc/" "init.d/cupsd restart. Next, run cupsaddsmb as shown:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(pre:caption):668 msgid "Run cupsaddsmb" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(pre):668 #, no-wrap msgid "" "\n" "# cupsaddsmb -H PrintServer -U root -h PrintServer -v HPDeskJet930C\n" "(Instead of HPDeskJet930C you could also specify \"-a\", which will\n" "\"export all known printers\".)\n" "# cupsaddsmb -H PrintServer -U root -h PrintServer -a\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(warn):675 msgid "" "The execution of this command often causes the most trouble. Read through " "the posts in " "this thread for some troubleshooting tips." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):681 msgid "Here are common errors that may happen:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(li):686 msgid "" "The hostname given as a parameter for -h and -H " "(PrintServer) often does not resolve correctly and doesn't identify " "the print server for CUPS/Samba interaction. If an error like: Warning: " "No PPD file for printer \"CUPS_PRINTER_NAME\" - skipping! occurs, the " "first thing you should do is substitute PrintServer with " "localhost and try it again." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(li):694 msgid "" "The command fails with an NT_STATUS_UNSUCCESSFUL. This error message " "is quite common, but can be triggered by many problems. It's unfortunately " "not very helpful. One thing to try is to temporarily set security = user in your smb.conf. After/if the installation completes " "successfully, you should set it back to share, or whatever it was set to " "before." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):704 msgid "" "This should install the correct driver directory structure under /etc/" "samba/printer. That would be /etc/samba/printer/W32X86/2/. The files contained should be the 3 driver files and the PPD file, " "renamed to YourPrinterName.ppd (the name which you gave the " "printer when installing it (see above)." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):712 msgid "" "Pending no errors or other complications, your drivers are now installed." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(title):719 msgid "Finalizing our setup" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):722 msgid "Lastly, setup our directories." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(pre:caption):726 msgid "Final changes needed" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(pre):726 #, no-wrap msgid "" "\n" "# mkdir /home/samba\n" "# mkdir /home/samba/public\n" "# chmod 755 /home/samba\n" "# chmod 755 /home/samba/public\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(title):736 msgid "Testing our Samba configuration" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):739 msgid "" "We will want to test our configuration file to ensure that it is formatted " "properly and all of our options have at least the correct syntax. To do this " "we run testparm." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(pre:caption):745 msgid "Running the testparm" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(pre):745 #, no-wrap msgid "" "\n" "(By default, testparm checks /etc/samba/smb.conf)\n" "# /usr/bin/testparm\n" "Load smb config files from /etc/samba/smb.conf\n" "Processing section \"[printers]\"\n" "Global parameter guest account found in service section!\n" "Processing section \"[public]\"\n" "Global parameter guest account found in service section!\n" "Loaded services file OK.\n" "Server role: ROLE_STANDALONE\n" "Press enter to see a dump of your service definitions\n" " ...\n" " ...\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(title):763 msgid "Starting the Samba service" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):766 msgid "Now configure Samba to start at bootup; then go ahead and start it." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(pre:caption):770 msgid "Setting up the Samba service" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(pre):770 #, no-wrap msgid "" "\n" "# rc-update add samba default\n" "# /etc/init.d/samba start\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(title):778 msgid "Checking our services" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):781 msgid "" "It would probably be prudent to check our logs at this time also. We will " "also want to take a peak at our Samba shares using smbclient." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(pre:caption):786 msgid "Checking the shares with smbclient" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(pre):786 #, no-wrap msgid "" "\n" "# smbclient -L localhost\n" "Password:\n" "(You should see a BIG list of services here.)\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(title):797 msgid "Configuration of the Clients" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(title):799 msgid "Printer configuration of *nix based clients" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):802 msgid "" "Despite the variation or distribution, the only thing needed is CUPS. Do the " "equivalent on any other UNIX/Linux/BSD client." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(pre:caption):807 msgid "Configuring a Gentoo system" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(pre):807 #, no-wrap msgid "" "\n" "# emerge cups\n" "# nano -w /etc/cups/client.conf\n" "ServerName PrintServer # your printserver name\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):813 msgid "That should be it. Nothing else will be needed." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):817 msgid "" "If you use only one printer, it will be your default printer. If your print " "server manages several printers, your administrator will have defined a " "default printer on the server. If you want to define a different default " "printer for yourself, use the lpoptions command." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(pre:caption):824 msgid "Setting your default printer" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(pre):824 #, no-wrap msgid "" "\n" "(List available printers)\n" "# lpstat -a\n" "(Sample output, yours will differ)\n" "HPDeskJet930C accepting requests since Jan 01 00:00\n" "laser accepting requests since Jan 01 00:00\n" "(Define HPDeskJet930C as your default printer)\n" "# lpoptions -d HPDeskJet930C\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(pre:caption):834 msgid "Printing in *nix" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(pre):834 #, no-wrap msgid "" "\n" "(Specify the printer to be used)\n" "# lp -d HPDeskJet930C anything.txt\n" "(Use your default printer)\n" "# lp foobar.whatever.ps\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):841 msgid "" "Just point your web browser to http://printserver:631 on the client " "if you want to manage your printers and their jobs with a nice web " "interface. Replace printserver with the name of the machine " "that acts as your print server, not the name you gave to the cups print " "server if you used different names." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(title):852 msgid "Mounting a Windows or Samba share in GNU/Linux" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(note):855 msgid "" "Don't forget to install net-fs/mount-cifs or net-fs/samba on " "the client(s) that will be accessing the shares." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):860 msgid "" "Now is time to configure our kernel to support CIFS. Since I'm assuming " "we've all compiled at least one kernel, we'll need to make sure we have all " "the right options selected in our kernel. For simplicity's sake, make it a " "module for ease of use. It is the author's opinion that kernel modules are a " "good thing and should be used whenever possible." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(pre:caption):868 msgid "Kernel support" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(pre):868 #, no-wrap msgid "" "\n" "CONFIG_CIFS=m\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):872 msgid "Then make the module/install it; insert it with:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(pre:caption):876 msgid "Loading the kernel module" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(pre):876 #, no-wrap msgid "" "\n" "# modprobe cifs\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):880 msgid "" "Once the module is loaded, mounting a Windows or Samba share is possible. " "Use mount to accomplish this, as detailed below:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(pre:caption):885 msgid "Mounting a Windows/Samba share" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(pre):885 #, no-wrap msgid "" "\n" "(The syntax for mounting a Windows/Samba share is:\n" " mount -t cifs [-o username=xxx,password=xxx] //server/share /mnt/point\n" "If we are not using passwords or a password is not needed)\n" "\n" "# mount -t cifs //PrintServer/public /mnt/public\n" "\n" "(If a password is needed)\n" "# mount -t cifs -o username=USERNAME,password=PASSWORD //PrintServer/public /mnt/public\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):896 msgid "" "After you mount the share, you would access it as if it were a local drive." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(title):903 msgid "Printer Configuration for Windows NT/2000/XP clients" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):906 msgid "" "That's just a bit of point-and-click. Browse to \\\\PrintServer " "and right click on the printer (HPDeskJet930C) and click connect. This will " "download the drivers to the Windows client and now every application (such " "as Word or Acrobat) will offer HPDeskJet930C as an available printer to " "print to. :-)" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(title):918 msgid "Final Notes" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(title):920 msgid "A Fond Farewell" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):923 msgid "" "That should be it. You should now have a successful printing enviroment that " "is friendly to both Windows and *nix as well as a working share!" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(title):933 msgid "Links and Resources" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(title):935 msgid "Links" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):938 msgid "" "These are some links that may help you in setting up, configuration and " "troubleshooting your installation:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(uri:link):944 msgid "http://www.cups.org/" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(uri):944 msgid "CUPS Homepage" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(li):945 msgid "" "Samba Homepage, especially the " "chapter on Samba/CUPS configuration" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(uri:link):950 msgid "http://linuxprinting.org/" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(uri):950 msgid "LinuxPrinting dot Org" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(li):951 msgid "" "Kurt " "Pfeifle's Samba Print HOWTO ( This HOWTO really covers ANYTHING " "and EVERYTHING I've written here, plus a LOT more concerning CUPS and " "Samba, and generally printing support on networks. A really interesting " "read, with lots and lots of details.)" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(uri:link):958 msgid "http://www.freebsddiary.org/cups.php" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(uri):958 msgid "FreeBSD Diary's CUPS Topic" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(title):964 msgid "Troubleshooting" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(p):967 msgid "" "See this page " "from Kurt Pfeifle's \"Printing Support in Samba 3.0\" manual. Lots of useful " "tips there! Be sure to look this one up first, before posting questions and " "problems! Maybe the solution you're looking for is right there." msgstr "" #. Place here names of translator, one per line. Format should be NAME; ROLE; E-MAIL #: ../../gentoo/xml/htdocs/doc/en//quick-samba-howto.xml(None):0 msgid "translator-credits" msgstr ""