Samba (software)

来源:互联网 发布:c语言特点 编辑:程序博客网 时间:2024/05/17 07:41

http://en.wikipedia.org/wiki/Samba_(software)

 

 

 

Samba (software)

From Wikipedia, the free encyclopedia
Jump to: navigation, search
 
 

 

Question book-new.svg
This article relies onreferences to primary sources or sources affiliated with the subject. Please add citations from reliable and independent sources. (February 2011)SambaSamba Logo.pngInitial release1992; 20 years ago (1992)[1]Stable release3.6.8 / September 17, 2012; 24 days ago (2012-09-17)Development statusactiveOperating systemMultiplatformTypeNetwork file systemLicenseGNU General Public License version 3Websitewww.samba.org

Samba is a free software re-implementation of the SMB/CIFS networking protocol, originally developed by Andrew Tridgell. As of version 3, Samba provides file and print services for various Microsoft Windows clients and can integrate with a Windows Server domain, either as a Primary Domain Controller (PDC) or as a domain member. It can also be part of anActive Directory domain.

Samba runs on most Unix andUnix-like systems, such asGNU/Linux, Solaris, AIX and the BSD variants, including Apple's Mac OS X Server (which was added to the Mac OS X client in version 10.2). Samba is standard on nearly all distributions of Linux and is commonly included as a basicsystem service on other Unix-based operating systems as well. Samba is released under theGNU General Public License. The name Samba comes from SMB (Server Message Block), the name of the standard protocol used by the Microsoft Windows network file system.

Contents

 [hide] 
  • 1Early history
  • 2Version History
  • 3Features
  • 4Samba TNG
  • 5See also
  • 6References
  • 7External links

[edit]Early history

Andrew Tridgell developed the first version of Samba Unix in December 1991 and January 1992, as a PhD student at theAustralian National University, using a packet sniffer to do network analysis of the protocol used by DEC Pathworks server software. At the time of the first releases, versions 0.1, 0.5 and 1.0, all from the first half of January 1992, it did not have a proper name, and Tridgell just called it "a Unix file server for Dos Pathworks". At the time of version 1.0, he realized that he "had in fact implemented the netbios protocol" and that "this software could be used with other PC clients".

With a focus on interoperability with Microsoft's LAN Manager, Tridgell released "netbios for unix", nbserver, version 1.5 in December 1993. This release was the first to include client-software as well as a server. Also, at this time GPL2 was chosen as license.

Midway through the 1.5-series, the name was changed to smbserver. However, Tridgell got atrademark notice from the company "Syntax", who sold a product namedTotalNet Advanced Server and owned the trademark for "SMBserver". The name "Samba" was derived by running the Unix commandgrep through the system dictionary looking for words that contained the letters S, M, and B, in that order (i.e.grep -i '^s.*m.*b' /usr/share/dict/words).[2]

Versions 1.6, 1.7, 1.8, and 1.9 followed relatively quickly, with the latter being released in January 1995. Tridgell considers the adoption ofCVS in May 1996 to mark the birth of the Samba Team, though there had been contributions from other people, especiallyJeremy Allison, previously.[3]

Version 2.0.0 was released in January 1999, and version 2.2.0 in April 2001.

[edit]Version History

Note: *** All users of versions 3.6.3 and previous releases should look to upgrading due to aserious issues with alert CVE-2012-1182 (Contributors please provide updates, literally millions of Samba hardware devices implemented in the last decade could be rendered obsolete) ***

Version 3.0.0, released on 23 September 2003, was a major upgrade. Samba gained the ability to join Active Directory as a member, though not as a domain controller.[4] Subsequent point-releases to 3.0 have added minor new features. Currently, the latest release in this series is 3.0.37, released 1 October 2009, and shipped on a voluntary basis.[5] The 3.0.x series officially reached end-of-life on 5 August 2009.[5]

Version 3.1 was used only for development.

With version 3.2, the project decided to move to time-based releases. New major releases, such as 3.3, 3.4, etc. will appear every 6 months. New features will only be added when a major release is done, point-releases will be only for bug fixes.[6] Also, 3.2 marked a change of license from GPL2 to GPL3, with some parts released under LGPL3.[7] The main technical change in version 3.2 was to autogenerate much of the DCE/RPC-code that used to be handcrafted. Version 3.2.0 was released on 1 July 2008.[8] It will be updated on an as-needed basis for security issues only[9] and its current release is 3.2.15 from 1 October 2009. The 3.2.x series officially reached end-of-life on 1 March 2010.[9]

Version 3.3.0 was released 27 January 2009 and is now at version 3.3.16 in this branch.[10]

Version 3.4.0 was released 3 July 2009. This was the first release to include both Samba 3 and Samba 4 source code.[11]

Version 3.4.14 was released 26 July 2011. It is the latest stable release of the Samba 3.4 series.[12]

Version 3.5.0 was released 1 March 2010. This was the first release to include experimental support forSMB2.[13]

Version 3.5.11 was released on 4 August 2011. It is the latest stable release of the Samba 3.5 series.[14][15]

Version 3.6.0 was released on 9 August 2011. This is the first branch which includes full support forSMB2.[16]

Version 4.0 is planned as a major rewrite that will enable Samba to be an Active Directory domain controller. After three years of development, the first technical preview (4.0.0TP1) was released in January 2006.[17] Subsequently, new previews and then alphas have followed regularly. Release Canidate 2 (rc2) was released on October 2nd, 2012 .[18]

[edit]Features

Samba allows file and print sharing between computers running Windows and computers running Unix. It is an implementation of dozens ofservices and a dozen protocols, including:

  • The NetBIOS overTCP/IP (NBT)
  • SMB
  • CIFS (an enhanced version of SMB)
  • DCE/RPC or more specifically,MSRPC, the Network Neighborhood suite of protocols
  • A WINS server also known as a NetBIOS Name Server (NBNS)
  • The NT Domain suite of protocols which includes NT Domain Logons
  • Secure Accounts Manager (SAM) database
  • Local Security Authority (LSA) service
  • NT-style printing service (SPOOLSS), NTLM and more recently Active Directory Logon which involves a modified version ofKerberos and a modified version of LDAP.

All these services and protocols are frequently incorrectly referred to as just NetBIOS or SMB. The NetBIOS and WINS protocols are deprecated on Windows.

Samba sets up network shares for chosen Unix directories (including all contained subdirectories). These appear to Microsoft Windows users as normal Windows folders accessible via the network. Unix users can eithermount the shares directly as part of their file structure using the smbmount command or, alternatively, can use a utility, smbclient (libsmb) installed with Samba to read the shares with a similar interface to a standard command lineFTP program. Each directory can have different access privileges overlaid on top of the normal Unix file protections. For example: home directories would have read/write access for all known users, allowing each to access their own files. However they would still not have access to the files of others unless that permission would normally exist. Note that the netlogon share, typically distributed as a read only share from/etc/samba/netlogon, is the logon directory for user logon scripts.

Samba services are implemented as two daemons:

  • smbd, which provides the file and printer sharing services, and
  • nmbd, which provides the NetBIOS-to-IP-address name service. NetBIOS over TCP/IP requires some method for mapping NetBIOS computer names to the IP addresses of a TCP/IP network.

Samba configuration is achieved by editing a single file (typically installed as/etc/smb.conf or /etc/samba/smb.conf). Samba can also provide user logon scripts and group policy implementation through poledit.

Samba is included in most Linux distributions and is started during the boot process. On Red Hat, for instance, the/etc/rc.d/init.d/smb script runs at boot time, and starts both daemons. Samba is not included in Solaris 8, but a Solaris 8-compatible version is available from the Samba website.

Samba includes a web administration tool called Samba Web Administration Tool (SWAT).[19][20][21]

[edit]Samba TNG

Samba TNGDeveloper(s)Samba TNG teamStable release0.5-rc1 / December 3, 2009; 2 years ago (2009-12-03)Development statusUnmaintainedOperating systemCross-platformTypeMicrosoft networkingLicenseGNU General Public LicenseWebsitewww.samba-tng.org

Samba TNG (The Next Generation) was forked in late 1999, after disagreements between the Samba Team leaders and Luke Leighton about the directions of the Samba project. They failed to come to an agreement on a development transition path which allowed the research version of Samba he was developing (known at the time as Samba-NTDOM) to slowly be integrated into Samba.[22]

Since the project started, development has been minimal, due to a lack of developers. As such the Samba TNG team frequently recommends to people who are unsure of which program to use to try Samba instead, as they have more developers and are able to support more platforms and situations.[23]

One of the key goals of the Samba TNG project is to rewrite all of the NT Domains services asFreeDCE projects.[24] Making this rewriting goal difficult is the fact that services were all developed manually through network reverse-engineering, with limited or no reference to DCE/RPC documentation.[citation needed]

The key differences between the two programs are in the implementation of the NT Domains suite of protocols andMSRPC services. Samba makes all the NT Domains services available from a single place, whereas Samba TNG has separated each service into its own program.[citation needed]

ReactOS has started using Samba TNG services for its SMB implementation. The developers of both projects were interested in seeing the Samba TNG design used to help get ReactOS talking to Windows networks. They have been working together to adapt the network code and build system. The multi-layered and modular approach made it easy to port each service to ReactOS.[25]

[edit]See also

Portal iconFree software portal
  • LM hash
  • Kerberos (protocol)
  • Smbldap-tools
  • SSLBridge
  • SMB/CIFS Network Protocol

[edit]References

  1. ^"10 years of Samba".http://www.samba.org/samba/docs/10years.html. Retrieved 2011-08-12. 
  2. ^"A bit of history and a bit of fun". 1997-06-27.http://www.rxn.com/services/faq/smb/samba.history.txt. Retrieved 2009-05-28. 
  3. ^10 years of Samba!
  4. ^The first stable release of Samba 3.0 is available
  5. ^ a b Release Planning for Samba 3.0 - SambaWiki
  6. ^Monday, April 28 - Samba Mashup Report
  7. ^Samba Adopts GPLv3 for Future Releases
  8. ^[ANNOUNCE] Samba 3.2.0 Available for Download
  9. ^ a b Release Planning for Samba 3.2 - SambaWiki
  10. ^Samba 3.3.16 Available for Download
  11. ^Samba - Release Notes Archive
  12. ^Samba 3.4.14 Available for Download
  13. ^Samba - Release Notes Archive
  14. ^Seeger, Karolin (2011-06-14)."Samba 3.5.9 Available for Download". samba-announce mailing list.http://lists.samba.org/archive/samba-announce/2011/000232.html. 
  15. ^Samba 3.5.11 Available for Download
  16. ^Samba 3.6.0 Available for Download
  17. ^Samba 4.0.0TP1 Available for Download
  18. ^Samba4 Releases 4.0.0rc2
  19. ^Chapter 37. SWAT: The Samba Web Administration Tool
  20. ^Configure IT Quick: Simplify Samba configuration with SWAT
  21. ^Linux.com :: SWAT your Samba problems
  22. ^"Project FAQ - What is the relationship between Samba and Samba TNG?". http://wiki.samba-tng.org/doku.php/pages/faq#what_is_the_relationship_between_samba_and_samba-tng. Retrieved 2008-02-19. 
  23. ^"Project FAQ - Which should I use - Samba or Samba TNG?".http://wiki.samba-tng.org/doku.php/pages/faq#which_should_i_use_-_samba_or_samba-tng. Retrieved 2008-02-19. 
  24. ^"Project FAQ - What's all this about FreeDCE?".http://wiki.samba-tng.org/doku.php/pages/faq#what_s_all_this_about_freedce. Retrieved 2008-02-19. 
  25. ^Vincent, Brian. "Interview with Steven Edwards". Wine HQ. http://www.winehq.org/?interview=14. Retrieved 2008-02-19. 

[edit]External links

Wikibooks has a book on the topic of: Samba
  • Official websites:
    • Samba Official Website
    • How Samba was written
    • http://us1.samba.org/samba/tng.html Article on Samba-TNG fromAndrew Tridgell (Oct. 2000)
    • "Using Samba"-E-book (Published byO'Reilly asISBN 0-596-00256-4)
  • Other:
    • Samba-3 by Example, book licensed under theOPL
    • A history of Samba, written in 1994, by Andrew Tridgell
    • Samba-TNG project homepage
    • Coverage on the Samba code fork fromZDNet
Retrieved from "http://en.wikipedia.org/w/index.php?title=Samba_(software)&oldid=516645194"
Personal tools
  • Create account
  • Log in
Namespaces
  • Article
  • Talk

Variants
Views
  • Read
  • Edit
  • View history
Actions
Navigation
  • Main page
  • Contents
  • Featured content
  • Current events
  • Random article
  • Donate to Wikipedia
Interaction
  • Help
  • About Wikipedia
  • Community portal
  • Recent changes
  • Contact Wikipedia
Languages
  • العربية
  • Български
  • Català
  • Česky
  • Deutsch
  • Español
  • Euskara
  • Français
  • 한국어
  • Italiano
  • Magyar
  • മലയാളം
  • Nederlands
  • 日本語
  • Norsk (bokmål)‎
  • Polski
  • Português
  • Русский
  • Slovenčina
  • Suomi
  • Svenska
  • தமிழ்
  • Türkçe
  • Українська
  • Tiếng Việt
  • 中文
  • فارسی
原创粉丝点击