1<html> 2<body bgcolor="#ffffff"> 3 4<img src="samba2_xs.gif" border="0" alt=" " height="100" width="76" 5hspace="10" align="left" /> 6 7<h1 class="head0">Preface</h1> 8 9 10<p>You are reading a book about Samba, a software suite that networks 11Windows, Unix, and other operating systems using 12Windows' native networking protocol. Samba allows 13Unix servers to offer Windows networking services by matching the 14filesystem and networking models of Unix to those of Windows. Samba 15acts as a bridge between the two systems, connecting the 16corresponding parts of their architectures and providing a 17translation wherever necessary.</p> 18 19<p>Bridging the gap between systems as dissimilar as Windows and Unix is 20a complex task, which Samba handles surprisingly well. To be a good 21Samba administrator, your abilities must parallel 22Samba's. For starters, you need to know basic Unix 23system and network administration and have a good understanding of 24Windows filesystems and networking fundamentals. In addition, you 25need to learn how Samba fills in the "gray 26area" between Unix and Windows. Once you know how 27everything fits together, you'll find it easy to 28configure a Samba server to provide your network with reliable and 29high-performance computational resources.</p> 30 31<p>Our job is to make all of that easier for you. We do this by starting 32out with a quick and yet comprehensive tour of Windows networking in 33<a href="ch01.html">Chapter 1</a>, followed by tutorially-oriented 34<a href="ch02.html">Chapter 2</a> and <a href="ch03.html">Chapter 3</a>, which tell you how to set up a minimal Samba server 35and configure Windows clients to work with it. Most likely, you will 36be surprised how quickly you can complete the required tasks.</p> 37 38<p>We believe that a hands-on approach is the most effective, and you 39can use the Samba server you build in <a href="ch02.html">Chapter 2</a> and <a href="ch03.html">Chapter 3</a> as a test 40system for trying out examples that we show and describe throughout 41the book. You can jump around from chapter to chapter if you like, 42but if you continue sequentially from <a href="ch04.html">Chapter 4</a> 43onward, by the time you finish the book you will have a 44well-configured production Samba server ready for use. All you have 45to do is add the appropriate support for your intended purpose as we 46explain how to use each feature.</p> 47 48 49 50<div class="sect1"><a name="samba2-PREFACE-2-SECT-1"/> 51 52<h2 class="head1">Audience for This Book</h2> 53 54<p>This book is primarily intended for Unix administrators who need to 55support Windows clients on their network, as well as anyone who needs 56to access the resources of a Windows network environment from a Unix 57client. While we assume you are familiar with basic Unix system 58administration, we do <em class="emphasis">not</em> assume you are a 59networking expert. We do our best along the way to help out with 60unusual definitions and terms.</p> 61 62<p>Furthermore, we don't assume that you are an expert 63in Microsoft Windows. We carefully explain all the essential concepts 64related to Windows networking, and we go through the Windows side of 65the installation task in considerable detail, providing examples for 66both Windows 95/98/Me and Windows NT/2000/XP, which are significantly 67different. For the Unix side, we give examples that work with common 68Unix operating systems, such as Linux, Solaris, FreeBSD, and Mac OS 69X.</p> 70 71 72</div> 73 74 75 76<div class="sect1"><a name="samba2-PREFACE-2-SECT-2"/> 77 78<h2 class="head1">Organization</h2> 79 80<p>Here is a quick description of each chapter:</p> 81 82<p><a href="ch01.html">Chapter 1</a> introduces Samba and its capabilities, 83then describes the most important concepts of NetBIOS and SMB/CIFS 84networking. Finally, we give you a quick overview of the daemons and 85utilities that are included in the Samba distribution.</p> 86 87<p><a href="ch02.html">Chapter 2</a> covers configuring, compiling, 88installing, setting up, and testing the Samba server on a Unix 89platform.</p> 90 91<p><a href="ch03.html">Chapter 3</a> explains how to configure Microsoft 92Windows 95/98/Me and Windows NT/2000/XP clients to participate in an 93SMB network.</p> 94 95<p><a href="ch04.html">Chapter 4</a> explains the ins and outs of Windows NT 96domains and how to configure Samba to work in a network set up as a 97Windows NT domain.</p> 98 99<p><a href="ch05.html">Chapter 5</a> describes methods for accessing SMB 100shares on the network from Unix client systems.</p> 101 102<p><a href="ch06.html">Chapter 6</a> 103gets you up to speed on the structure of the Samba 104configuration file and shows you how to take control of file-sharing 105services.</p> 106 107<p><a href="ch07.html">Chapter 7</a> introduces name resolution, which is 108used to convert NetBIOS computer names into IP addresses, and 109browsing, the method used in SMB networking to find what resources 110are being shared on the network.</p> 111 112<p><a href="ch08.html">Chapter 8</a> continues the discussion of file-sharing options, and 113covers more advanced functions such as permissions, access control 114lists, opportunistic locks, and setting up a Distributed filesystem 115tree.</p> 116 117<p><a href="ch09.html">Chapter 9</a> discusses how 118to set up Samba users, introduces you to Samba security, and shows 119you how to work with encrypted and nonencrypted passwords.</p> 120 121<p><a href="ch10.html">Chapter 10</a> 122discusses printer setup for sharing Unix printers on the 123SMB network, and allowing Unix workstations to access SMB shared 124printers.</p> 125 126<p><a href="ch11.html">Chapter 11</a> 127bundles several miscellaneous topics associated with 128Samba, such as configuring Samba shares for programmers and 129internationalization issues.</p> 130 131<p><a href="ch12.html">Chapter 12</a> details what to do if 132you have problems installing Samba. This comparatively 133large chapter is packed with troubleshooting hints and strategies for 134identifying what is going wrong.</p> 135 136<p><a href="appa.html">Appendix A</a> provides working examples of 137<em class="filename">smb.conf</em> files for use in configuring Samba for 138its more common applications. You can easily modify the examples for 139use in a wide variety of circumstances.</p> 140 141<p><a href="appb.html">Appendix B</a> covers each option that can be used in 142the Samba configuration file.</p> 143 144<p><a href="appc.html">Appendix C</a> is a quick reference that covers each 145server daemon and tool that make up the Samba suite.</p> 146 147<p><a href="appd.html">Appendix D</a> explains how to download the latest 148development version of the Samba source code using CVS.</p> 149 150<p><a href="appe.html">Appendix E</a> documents each option that can be used 151with the <em class="emphasis">configure</em> command before compiling the 152Samba source code.</p> 153 154<p><a href="appf.html">Appendix F</a> includes directions for sharing files 155and printers with the Server edition of Mac OS X.</p> 156 157<p><a href="appg.html">Appendix G</a> is the copyright license under which 158this book is published.</p> 159 160 161</div> 162 163 164 165<div class="sect1"><a name="samba2-PREFACE-2-SECT-3"/> 166 167<h2 class="head1">Conventions Used in This Book</h2> 168 169<p>The following font conventions are followed throughout this book:</p> 170 171<dl> 172<dt><b>Italic </b></dt> 173<dd> 174<p>Filenames, file extensions, URLs, executable files, command options, 175and emphasis.</p> 176</dd> 177 178 179 180<dt><b><tt class="literal">Constant</tt> <tt class="literal">width</tt> </b></dt> 181<dd> 182<p>Samba configuration options, computer names, user and group names, 183hostnames, domain names, other code that appears in the text, and 184command-line information that should be typed verbatim on the screen.</p> 185</dd> 186 187 188 189<dt><b><tt class="userinput"><b>Constant width bold</b></tt> </b></dt> 190<dd> 191<p>Commands that are entered by the user and new configuration options 192that we wish to bring to the attention of the reader.</p> 193</dd> 194 195 196 197<dt><b><em class="replaceable">Constant width italic</em></b></dt> 198<dd> 199<p>Replaceable content in code and command-line information.</p> 200</dd> 201 202</dl> 203 204<a name="samba2-PREFACE-2-NOTE-82"/><blockquote class="note"><h4 class="objtitle">TIP</h4> 205<p>This designates a note, which is an important aside to the nearby 206text.</p> 207</blockquote> 208<a name="samba2-PREFACE-2-NOTE-83"/><blockquote class="note"><h4 class="objtitle">WARNING</h4> 209<p>This designates a warning related to the nearby text.</p> 210</blockquote> 211 212 213</div> 214 215 216 217<div class="sect1"><a name="samba2-PREFACE-2-SECT-4"/> 218 219<h2 class="head1">How to Contact Us</h2> 220 221<p>We have tested and verified the information in this book to the best 222of our ability, but you might find that features have changed (or 223even that we have made mistakes!). Please let us know about any 224errors you find, as well as your suggestions for future editions, by 225writing to:</p> 226 227<blockquote class="simplelist"> 228 229<p>O'Reilly & Associates, Inc.</p> 230 231<p>1005 Gravenstein Highway North</p> 232 233<p>Sebastopol, CA 95472</p> 234 235<p>(800) 998-9938 (in the United States or Canada)</p> 236 237<p>(707) 829-0515 (international/local)</p> 238 239<p>(707) 829-0104 (fax)</p> 240 241</blockquote> 242 243<p>To ask technical questions or comment on the book, send email to:</p> 244 245<blockquote class="simplelist"> 246 247<p><em class="email">bookquestions@oreilly.com</em></p> 248 249</blockquote> 250 251<p>We have a web page for this book where we list examples and any plans 252for future editions. You can access this information at:</p> 253 254<blockquote class="simplelist"> 255 256<p><a href="http://www.oreilly.com/catalog/samba2">http://www.oreilly.com/catalog/samba2</a></p> 257 258</blockquote> 259 260<p>You can also contact Jay Ts, the lead author of this edition, through 261his web site at:</p> 262 263<blockquote class="simplelist"> 264 265<p><a href="http://www.jayts.com">http://www.jayts.com</a></p> 266 267</blockquote> 268 269 270</div> 271 272 273 274<div class="sect1"><a name="samba2-PREFACE-2-SECT-5"/> 275 276<h2 class="head1">Acknowledgments</h2> 277 278<p>We thank Leon Towns-von Stauber for thoroughly researching the use of 279Samba on Mac OS X and writing material that appears in <a href="ch02.html">Chapter 2</a>, <a href="ch05.html">Chapter 5</a>, and <a href="ch10.html">Chapter 10</a>, as well as the entire <a href="appf.html">Appendix F</a>. We also thank our technical reviewers Sam 280Johnston, Matthew Temple, Marty Leisner, and Don McCall.</p> 281 282 283<div class="sect2"><a name="samba2-PREFACE-2-SECT-5.1"/> 284 285<h3 class="head2">Jay Ts</h3> 286 287<p>This book would have been extremely difficult to write if it 288hadn't been for the copy of VMware Workstation 289graciously provided by VMware, Inc. I want to thank Rik Farrow for 290his clarifying comments on security topics related to Samba and 291Windows, and both him and Rose Moon for their supportive friendship. 292Thanks also go to Mark Watson for his encouragement and advice on the 293topic of authoring technical books. Additionally, 294I'd like to express my appreciation to Andy Oram at 295O'Reilly for being a supportive, friendly, and 296easygoing editor, and for offering me terms that I could say yes 297to—something that a few other publishers 298didn't even approach. SuSE, Inc. generously provided 299a copy of SuSE Linux 8.1 Professional.</p> 300 301 302</div> 303 304 305<div class="sect2"><a name="samba2-PREFACE-2-SECT-5.2"/> 306 307<h3 class="head2">Robert Eckstein</h3> 308 309<p>I'd first like to recognize Dave Collier-Brown and 310Peter Kelly for all their help in the creation of this book. 311I'd also like to thank each technical reviewer who 312helped polish this book into shape on such short notice: Matthew 313Temple, Jeremy Allison, and of course Andrew Tridgell. Andrew and 314Jeremy deserve special recognition, not only for creating such a 315wonderful product, but also for providing a tireless amount of 316support in the final phase of this book—hats off to you, guys! 317A warm hug goes out to my wife Michelle, who once again put up with a 318husband loaded down with too much caffeine and a tight schedule. 319Thanks to Dave Sifry and the people at LinuxCare, San Francisco, for 320hosting me on such short notice for Andrew 321Tridgell's visit. And finally, a huge amount of 322thanks to our editor, Andy Oram, who (very) patiently helped guide 323this book through its many stages until we got it right.</p> 324 325 326</div> 327 328 329<div class="sect2"><a name="samba2-PREFACE-2-SECT-5.3"/> 330 331<h3 class="head2">David Collier-Brown</h3> 332 333<p>I'd particularly like to thank Joyce, who put up 334with me during the sometimes exciting development of the book. My 335thanks to Andy Oram, who was kind enough to provide the criticism 336that allowed me to contribute; the crew at ACE (Opcom) who humored 337the obvious madman in their midst; and Ian MacMillan, who voluntarily 338translated several of my early drafts from nerd to English. I would 339also like to give special thanks to Perry Donham, Drew Sullivan, and 340Jerry DeRoo for starting and sustaining this mad project. Finally, 341I'd like to thank Bob Eckstein for a final, 342sustained, and professional effort that lifted the whole book up to 343the level that Andy needed.</p> 344 345 346</div> 347 348 349<div class="sect2"><a name="samba2-PREFACE-2-SECT-5.4"/> 350 351<h3 class="head2">All</h3> 352 353<p>We would especially like to give thanks to Perry Donham and Peter 354Kelly for helping mold the first draft of this book. Although Perry 355was unable to contribute to subsequent drafts, his material was 356essential to getting this book off on the right foot. In addition, 357some of the browsing material came from text originally written by 358Dan Shearer for O'Reilly.</p> 359 360 361</div> 362 363 364</div> 365 366 367<hr/><h4 class="head4"><a href="toc.html">TOC</a></h4> 368</body></html> 369