JHT ==> Been playing again! Whooooooo!
[nivanova/samba-autobuild/.git] / docs / textdocs / DOMAIN_CONTROL.txt
1 Initial Release:        August 22, 1996
2 Contributor:            John H Terpstra <samba-bugs@samba.anu.edu.au>
3 Updated:                June 27, 1997
4 Status:                 Current - New Content
5
6 Subject:     Windows NT Domain Control & Samba
7 ============================================================================
8
9 ****NOTE:****
10 =============
11 Microsoft Windows NT Domain Control is an extremely complex protocol.
12 We have received countless requests to implement Domain Control in Samba
13 and have seriously investigated the potential to support this. The Samba
14 Team have now concluded that since Domain Control is a completely
15 undocumented protocol we ought NOT to implement our best guess of this
16 technology. It is a Microsoft business policy NOT to release the information
17 necessary to enable this to be implemented in a dependable manner.
18 ============================================================================
19
20 Windows NT Server can be installed as either a plain file and print server
21 (WORKGROUP workstaion or server) or as a server that participates in Domain
22 Control (DOMAIN member, Primary Domain controller or Backup Domain controller).
23
24 The same is true for OS/2 Warp Server, Digital Pathworks and other similar
25 products, all of which can participate in Domain Control along with Windows NT.
26
27 To many people these terms can be confusing, so let's try to clear the air.
28
29 Every Windows NT system (workstation or server) has a registry database.
30 The registry contains entries that describe the initialisation information
31 for all services (the equivalent of Unix Daemons) that run within the Windows
32 NT environment. The registry also contains entries that tell application
33 software where to find dynamically loadable libraries that they depend upon.
34 In fact, the registry contains entries that describes everything that anything
35 may need to know to interact with the rest of the system.
36
37 The registry files will can be located on any Windows NT machine by opening a
38 command prompt and typing:
39         dir %SystemRoot%\System32\config
40
41 The environment variable %SystemRoot% value can be obtained by typing:
42         echo %SystemRoot%
43
44 The active parts of the registry that you may want to be familiar with are
45 the files called: default, system, software, sam and security.
46
47 In a domain environment, Microsoft Windows NT domain controllers participate
48 in replication of the SAM and SECURITY files so that all controllers within
49 the domain have an exactly identical copy of each.
50
51 The Microsoft Windows NT system is structured within a security model that
52 says that all applications and services must authenticate themselves before
53 they can obtain permission from the security manager to do what they set out
54 to do.
55
56 The Windows NT User database also resides within the registry. This part of
57 the registry contains the user's security identifier, home directory, group
58 memberships, desktop profile, and so on.
59
60 Every Windows NT system (workstation as well as server) will have it's own
61 registry. Windows NT Servers that participate in Domain Security control
62 have a database that they share in common - thus they do NOT own an
63 independant full registry database of their own, as do Workstations and
64 plain Servers.
65
66 The User database is called the SAM (Security Access Manager) database and
67 is used for all user authentication as well as for authentication of inter-
68 process authentication (ie: to ensure that the service action a user has
69 requested is permitted within the limits of that user's privilidges).
70
71 Windows for Workgroups, Windows 95, and Windows NT Workstations and Servers
72 can participate in a Domain security system that is controlled by Windows NT
73 servers that have been correctly configured. At most every domain will have
74 ONE Primary Domain Controller (PDC). It is desirable that each domain will
75 have at least one Backup Domain Controller (BDC).
76
77 The PDC and BDCs then participate in replication of the SAM database so that
78 each Domain Controlling participant will have an up to date SAM component
79 within it's registry.
80
81 Samba can NOT at this time function as a Domain Controller for any of these
82 security services, but like all other domain members can interact with the
83 Windows NT security system for all access authentication.
84
85 When Samba is configured with the 'security = server' option and the
86 'password server = Your_Windows_NT_Server_Name' option, then it will
87 redirect all access authentication to that server. This way you can
88 use Windows NT to act as your password server with full support for
89 Microsoft encrypted passwords.
90