1 / 18

Advanced Unix

Advanced Unix. Using Samba. What is Samba?. Samba is a file and print server for Windows-based clients using TCP/IP as the underlying transport protocol. It can support any SMB/CIFS-enabled client.

bonnie
Télécharger la présentation

Advanced Unix

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Advanced Unix Using Samba

  2. What is Samba? • Samba is a file and print server for Windows-based clients using TCP/IP as the underlying transport protocol. • It can support any SMB/CIFS-enabled client. • “SMB: Acronym for ‘Server Message Block’. This is Microsoft's file and printer sharing protocol” • One of Samba's big strengths is that you can use it to blend your mix of Windows and Linux machines together without requiring a separate Windows NT/2000/2003 Server. • Samba is actively being developed by a global team of about 30 active programmers and was originally developed by Andrew Tridgell.

  3. What is Samba • Samba current version: 3.0.24 • Samba Home Page: http://www.samba.org

  4. Samba 3.0 Features • Active Directory support. Able to join ADS realm  as a member server and authenticate users using LDAP/Kerberos support • Unicode support (Improved internationalization) • New authentication system. • new "net" command. • Samba now negotiates richer status32 codes • Better printing support from Windows 2000

  5. Prerequisites • The following need to be installed: • samba • samba-client • samba-common • system-config-samba • samba-swat (optional)

  6. Samba Utilities and Daemons • net • nmbd • nmblookup • smbclient • smbd • smbpasswd • smbstatus • smbtree • swat (not part of samba) • testparm

  7. Samba users, maps, passwords • Usernames - /etc/samba/smbusers • Passwords - /etc/samba/smbpasswd • Demo: /etc/samba/smbusers

  8. Quick Start • system-config-samba is used to configure samba server on linux computer • Demo: system-config-samba • Samba users • Linux shares

  9. swat config file

  10. swat: configuring a Samba Server

  11. swat Global Options

  12. swat Config Parameters • HOME • GLOBALS • SHARES • PRINTERS • WIZARD • STATUS • VIEW • PASSWORD • Help and defaults

  13. Manually Configuring Samba

  14. Parameters in smbd.conf • Global Parameters • interfaces • printing • server string • workgroup • Security • encrypt passwords • guest account • hosts allow / hosts deny • map to guest • Logging • Browser

  15. Accessing Linux Shares from Windows

  16. My Network Places

  17. Accessing Windows shares

  18. Troubleshooting • Restart smbd • Use testparm • Use ping • Use net view in Windows • Use net use to map a drive • Use nmblookup • Use smbclient to connect

More Related