Library of Congress Cataloging-in-Publication Data

A CIP record of this book can be obtained from the Library of Congress.

Production Supervisor: Faye Gemmellaro

Manufacturing Buyer: Maura Zaldivar

Cover Design Director: Jerry Votta

Executive Editor: Jill Harry

Editorial Assistant: Brenda Mulligan

Marketing Manager: Dan DePasquale

Published by Pearson Education, Inc.

Publishing as Prentice Hall Professional Technical Reference

Upper Saddle River, New Jersey 07458

Introduction, Parts 1, 2, and 3, Appendices A, B, C, Glossary, and References copyright 2004 Christopher R. Hertel. This material may be distributed only subject to the terms and conditions set forth in the Open Publication License, v1.0 or later (the latest version is presently available at ).

Code examples are licensed under the terms of the GNU Lesser General Public License. This allows you to build libraries from the licensed code and use these libraries with your own code, even if your code is proprietary. This library source code, however, must be made available if you distribute your product. See the LGPL for details.

Appendix D, "CIFS Technical Reference" copyright 2001, 2002 Storage Networking Industry Association (SNIA). The SNIA CIFS Technical Reference is included by kind permission of the SNIA. Please see page v of the CIFS Technical Reference for SNIA copyright information.

All rights reserved.

Prentice Hall offers excellent discounts on this book when ordered in quantity for bulk purchases or special sales. For more information, please contact: U.S. Corporate and Government Sales, 1-800-382-3419, For sales outside of the United States, please contact: International Sales, 1-317-581-3793,

Company and product names mentioned herein are the trademarks or registered trademarks of their respective owners .

Printed in the United States of America

First Printing

Pearson  Education  LTD.
Pearson  Education  Australia  PTY,  Limited
Pearson  Education  Singapore,  Pte.  Ltd.
Pearson  Education  North  Asia  Ltd.
Pearson  Education  Canada,  Ltd.
Pearson  Educaci ³n  de  Mexico,  S.A.  de  C.V.
Pearson  EducationJapan
Pearson  Education  Malaysia,  Pte.  Ltd.


Queen Victoria, it is said, so enjoyed Alice's Adventures in Wonderland that she asked for a copy of the author's next work. Carroll obliged with the Syllabus of Plane Algebraical Geometry . Her Majesty was not amused.

In that same spirit, I dedicate this effort to the memory of my mother.

Praise for Implementing CIFS

"I think Implementing CIFS is simply the best conceptual overview of SMB I have seen."

Stanley Hopcroft
Network Specialist

"You've done an incredibly nice job of steering the line between a damn good read and an essential systems manual."

Danny Smith
Senior Systems Administrator
Cinesite Digital Studios

"You know you totally rule. I am in awe of your RFCness."

Mark W. "catfood" Schumann
Software Under Flap

"I was just reading your book. It's very funny ! :~)"

Michael B. Allen
jCIFS Team

Bruce Perens' Open Source Series

  • Managing Linux Systems with Webmin: System Administration and Module Development
    Jamie Cameron

  • Implementing CIFS: The Common Internet File System
    Christopher R. Hertel

  • Embedded Software Development with eCos
    Anthony J. Massa

  • Rapid Application Development with Mozilla
    Nigel McFarlane

  • The Linux Development Platform: Configuring, Using, and Maintaining a Complete Programming Environment
    Rafeeq Ur Rehman, Christopher Paul

  • Intrusion Detection Systems with Snort: Advanced IDS Techniques with Snort, Apache, MySQL, PHP, and ACID
    Rafeeq Ur Rehman