Ubuntu Server Guide Changes, errors and bugs
Download 1.27 Mb. Pdf ko'rish
|
ubuntu-server-guide
- Bu sahifa navigatsiya:
- Installation
- Securing File and Print Server Samba Security Modes
Print Server
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 File Server 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. For a more secure configuration see Securing File and Print Server. Installation Before installing and configuring Samba it is best to already have a working CUPS installation. See ??? for details. To install the samba package, from a terminal enter: sudo apt i n s t a l l samba Configuration After installing samba edit /etc/samba/smb.conf. Change the workgroup attribute to what is appropriate for your network, and change security to user: workgroup = EXAMPLE . . . s e c u r i t y = u s e r In the [printers] section change the guest ok option to yes: b r o w s a b l e = y e s g u e s t ok = y e s After editing smb.conf restart Samba: sudo s y s t e m c t l r e s t a r t smbd . s e r v i c e nmbd . s e r v i c e The default Samba configuration will automatically share any printers installed. Simply install the printer locally on your Windows clients. Resources • For in depth Samba configurations see the Samba HOWTO Collection • The guide is also available in printed format. • O’Reilly’s Using Samba is another good reference. • Also, see the CUPS Website for more information on configuring CUPS. 142 • The Ubuntu Wiki Samba page. Securing File and Print Server Samba Security Modes There are two security levels available to the Common Internet Filesystem (CIFS) network protocol user- level and share-level. Samba’s security mode implementation allows more flexibility, providing four ways of implementing user-level security and one way to implement share-level: • security = user: requires clients to supply a username and password to connect to shares. Samba user accounts are separate from system accounts, but the libpam-winbind package will sync system users and passwords with the Samba user database. • security = domain: this mode allows the Samba server to appear to Windows clients as a Primary Domain Controller (PDC), Backup Domain Controller (BDC), or a Domain Member Server (DMS). See As a Domain Controller for further information. • security = ADS: allows the Samba server to join an Active Directory domain as a native member. See Active Directory Integration for details. • security = server: this mode is left over from before Samba could become a member server, and due to some security issues should not be used. See the Server Security section of the Samba guide for more details. • security = share: allows clients to connect to shares without supplying a username and password. The security mode you choose will depend on your environment and what you need the Samba server to accomplish. Download 1.27 Mb. Do'stlaringiz bilan baham: |
Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling
ma'muriyatiga murojaat qiling