Samba 3 how to

The O?cial Samba 3.2.x HOWTO and Reference Guide
Jelmer R. Vernooij, John H. Terpstra, and Gerald (Jerry) Carter May 27, 2009


The cover artwork of this book continues the freedom theme of the ?rst edition of “The O?cial Samba-3 HOWTO and Reference Guide”. We may look back upon the past to question the motives of those who have gone before us. Seldom do we realisethat the past owes us no answer, and despite what we may think of the actions of those who have travelled lifes’ road before us, we must feel a sense of pride and gratitude for those who, in the past, have protected our liberties. Developments in information technology continue to move at an alarming pace. Human nature causes us to adopt and embrace new developments that appear to answer the needsof the moment, but that can entrap us at a future date. There are many examples in the short history of information technology. MS-DOS was seen as a tool that liberated users from the tyrany of large computer system operating costs, and that made possible the rapid progres we are bene?ciaries of today. Yet today we are inclined to look back with disdain on MS-DOS as an obsolete and constrainingtechnology that belongs are an era that is best forgotten. The embrace of Windows networking, Windows NT4, and MS Active Directory in more recent times, may seem modern and progressive today, but sooner or later something better will replace them. The current preoccupation with extended identity management solutions and with directories is not unexpected. The day will come that these too will beevaluated, and what may seem refreshing and powerful may be better recogized as the chilly winds of the night. To argue against progress is unthinkable, no matter what may lie ahead. The development of Samba is moving forwards. The changes since Samba 3.0.0 are amazing, yet many users would like to see more and faster progress. The bene?ts of recent developments can be realized quickly, butdocumentation is necessary to unlock the pandoras’ box. It is our hope that this book will help the network administrator to rapidly deploy the new features with minimum e?ort. As you deploy and gain mileage from the new enablement,



About the Cover Artwork

take the time to think through what may lie ahead. Above all, take stock of the freedom of choice that Samba provides in your world,and enjoy the new potential for seamless interoperability.


Chapter 1, “How to Install and Test SAMBA” • Andrew Tridgell • Jelmer R. Vernooij • John H. Terpstra • Karl Auer • Dan Shearer Chapter 2, “Fast Start: Cure for Impatience” • John H. Terpstra Chapter 3, “Server Types and Security Modes” • Andrew Tridgell • Jelmer R. Vernooij • John H. Terpstra Chapter 4, “Domain Control” •John H. Terpstra • Gerald (Jerry) Carter • David Bannon • Guenther Deschner (LDAP updates) Chapter 5, “Backup Domain Control” • John H. Terpstra • Volker Lendecke • Guenther Deschner (LDAP updates) Chapter 6, “Domain Membership” • John H. Terpstra




• Jeremy Allison • Gerald (Jerry) Carter • Andrew Tridgell • Jelmer R. Vernooij • Guenther Deschner (LDAP updates)Chapter 7, “Standalone Servers” • John H. Terpstra Chapter 8, “MS Windows Network Con?guration Guide” • John H. Terpstra Chapter 9, “Important and Critical Change Notes for the Samba 3.x Series” • John H. Terpstra • Gerald (Jerry) Carter Chapter 10, “Network Browsing” • John H. Terpstra • Jelmer R. Vernooij • Jonathan Johnson Chapter 11, “Account Information Databases” • Jelmer R. Vernooij • John H.Terpstra • Gerald (Jerry) Carter • Jeremy Allison • Guenther Deschner (LDAP updates) • Olivier (lem) Lemaire Chapter 12, “Group Mapping: MS Windows and UNIX” • John H. Terpstra • Jean Fran¸ois Micouleau c • Gerald (Jerry) Carter



Chapter 13, “Remote and Local Management: The Net Command” • John H. Terpstra • Volker Lendecke • Guenther Deschner Chapter 14, “Identity…