Ignore:
Timestamp:
Mar 1, 2010, 3:05:48 PM (15 years ago)
Author:
Herwig Bauernfeind
Message:

Update Samba 3.3.x to 3.3.11

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.3.x/docs/htmldocs/Samba3-Developers-Guide/unix-smb.html

    r368 r411  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 1. NetBIOS in a Unix World</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="SAMBA Developers Guide"><link rel="up" href="pt01.html" title="Part I. The protocol"><link rel="prev" href="pt01.html" title="Part I. The protocol"><link rel="next" href="ntdomain.html" title="Chapter 2. NT Domain RPC's"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 1. NetBIOS in a Unix World</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="pt01.html">Prev</a> </td><th width="60%" align="center">Part I. The protocol</th><td width="20%" align="right"> <a accesskey="n" href="ntdomain.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 1. NetBIOS in a Unix World"><div class="titlepage"><div><div><h2 class="title"><a name="unix-smb"></a>Chapter 1. NetBIOS in a Unix World</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Andrew</span> <span class="surname">Tridgell</span></h3></div></div><div><p class="pubdate">April 1995</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="unix-smb.html#id2505193">Introduction</a></span></dt><dt><span class="sect1"><a href="unix-smb.html#id2505214">Usernames</a></span></dt><dt><span class="sect1"><a href="unix-smb.html#id2505546">File Ownership</a></span></dt><dt><span class="sect1"><a href="unix-smb.html#id2505577">Passwords</a></span></dt><dt><span class="sect1"><a href="unix-smb.html#id2504910">Locking</a></span></dt><dt><span class="sect1"><a href="unix-smb.html#id2504962">Deny Modes</a></span></dt><dt><span class="sect1"><a href="unix-smb.html#id2504994">Trapdoor UIDs</a></span></dt><dt><span class="sect1"><a href="unix-smb.html#id2505015">Port numbers</a></span></dt><dt><span class="sect1"><a href="unix-smb.html#id2556040">Protocol Complexity</a></span></dt></dl></div><div class="sect1" title="Introduction"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2505193"></a>Introduction</h2></div></div></div><p>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 1. NetBIOS in a Unix World</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.74.0"><link rel="home" href="index.html" title="SAMBA Developers Guide"><link rel="up" href="pt01.html" title="Part I. The protocol"><link rel="prev" href="pt01.html" title="Part I. The protocol"><link rel="next" href="ntdomain.html" title="Chapter 2. NT Domain RPC's"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 1. NetBIOS in a Unix World</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="pt01.html">Prev</a> </td><th width="60%" align="center">Part I. The protocol</th><td width="20%" align="right"> <a accesskey="n" href="ntdomain.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="unix-smb"></a>Chapter 1. NetBIOS in a Unix World</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Andrew</span> <span class="surname">Tridgell</span></h3></div></div><div><p class="pubdate">April 1995</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="unix-smb.html#id2499122">Introduction</a></span></dt><dt><span class="sect1"><a href="unix-smb.html#id2499143">Usernames</a></span></dt><dt><span class="sect1"><a href="unix-smb.html#id2499475">File Ownership</a></span></dt><dt><span class="sect1"><a href="unix-smb.html#id2499506">Passwords</a></span></dt><dt><span class="sect1"><a href="unix-smb.html#id2498843">Locking</a></span></dt><dt><span class="sect1"><a href="unix-smb.html#id2498891">Deny Modes</a></span></dt><dt><span class="sect1"><a href="unix-smb.html#id2498923">Trapdoor UIDs</a></span></dt><dt><span class="sect1"><a href="unix-smb.html#id2498944">Port numbers</a></span></dt><dt><span class="sect1"><a href="unix-smb.html#id2498960">Protocol Complexity</a></span></dt></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2499122"></a>Introduction</h2></div></div></div><p>
    22This is a short document that describes some of the issues that
    33confront a SMB implementation on unix, and how Samba copes with
     
    77It was written to help out a person who was writing a paper on unix to
    88PC connectivity.
    9 </p></div><div class="sect1" title="Usernames"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2505214"></a>Usernames</h2></div></div></div><p>
     9</p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2499143"></a>Usernames</h2></div></div></div><p>
    1010The SMB protocol has only a loose username concept. Early SMB
    1111protocols (such as CORE and COREPLUS) have no username concept at
     
    4444validation and the derivation of the username from the service name
    4545(either directly or via the user= option).
    46 </p></div><div class="sect1" title="File Ownership"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2505546"></a>File Ownership</h2></div></div></div><p>
     46</p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2499475"></a>File Ownership</h2></div></div></div><p>
    4747The commonly used SMB protocols have no way of saying "you can't do
    4848that because you don't own the file". They have, in fact, no concept
     
    6262username mapping, and forcing a specific username for particular
    6363shares.
    64 </p></div><div class="sect1" title="Passwords"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2505577"></a>Passwords</h2></div></div></div><p>
     64</p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2499506"></a>Passwords</h2></div></div></div><p>
    6565Many SMB clients uppercase passwords before sending them. I have no
    6666idea why they do this. Interestingly WfWg uppercases the password only
     
    8484by the root user. See the documentation ENCRYPTION.txt for more
    8585details.
    86 </p></div><div class="sect1" title="Locking"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2504910"></a>Locking</h2></div></div></div><p>
     86</p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2498843"></a>Locking</h2></div></div></div><p>
    8787Since samba 2.2, samba supports other types of locking as well. This
    8888section is outdated.
     
    115115give up its lock. Unix has no simple way of implementing
    116116opportunistic locking, and currently Samba has no support for it.
    117 </p></div><div class="sect1" title="Deny Modes"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2504962"></a>Deny Modes</h2></div></div></div><p>
     117</p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2498891"></a>Deny Modes</h2></div></div></div><p>
    118118When a SMB client opens a file it asks for a particular "deny mode" to
    119119be placed on the file. These modes (DENY_NONE, DENY_READ, DENY_WRITE,
     
    129129the shared memory implementation is vastly prefered and is turned on
    130130by default for those systems that support it.
    131 </p></div><div class="sect1" title="Trapdoor UIDs"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2504994"></a>Trapdoor UIDs</h2></div></div></div><p>
     131</p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2498923"></a>Trapdoor UIDs</h2></div></div></div><p>
    132132A SMB session can run with several uids on the one socket. This
    133133happens when a user connects to two shares with different
     
    139139Note that you can also get the "trapdoor uid" message for other
    140140reasons. Please see the FAQ for details.
    141 </p></div><div class="sect1" title="Port numbers"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2505015"></a>Port numbers</h2></div></div></div><p>
     141</p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2498944"></a>Port numbers</h2></div></div></div><p>
    142142There is a convention that clients on sockets use high "unprivileged"
    143143port numbers (&gt;1000) and connect to servers on low "privilegedg" port
     
    162162on. Interestingly WinNT3.1 got this right - it sends node status
    163163responses back to the source port in the request.
    164 </p></div><div class="sect1" title="Protocol Complexity"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2556040"></a>Protocol Complexity</h2></div></div></div><p>
     164</p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2498960"></a>Protocol Complexity</h2></div></div></div><p>
    165165There are many "protocol levels" in the SMB protocol. It seems that
    166166each time new functionality was added to a Microsoft operating system,
Note: See TracChangeset for help on using the changeset viewer.