JHT ===> Documentation header updates only - inserting/mod Updates date.
[kai/samba.git] / docs / textdocs / WinNT.txt
1 Contributors:   Various
2                 Password Section - Copyright (C) 1997 - John H Terpstra
3                 Printing Section - Copyright (C) 1997 - Matthew Harrell
4 Updated:        August 20, 1997
5 Status:         Current
6
7 Subject:        Samba and Windows NT Password Handling
8 =============================================================================
9
10 There are some particular issues with Samba and Windows NT.
11
12 Passwords:
13 ==========
14 One of the most annoying problems with WinNT is that NT refuses to
15 connect to a server that is in user level security mode and that
16 doesn't support password encryption unless it first prompts the user
17 for a password.
18
19 This means even if you have the same password on the NT box and the
20 Samba server you will get prompted for a password. Entering the
21 correct password will get you connected only if Windows NT can
22 communicate with Samba using a compatible mode of password security.
23
24 All versions of Windows NT prior to 4.0 Service Pack 3 could negotiate
25 plain text (clear text) passwords. Windows NT 4.0 Service Pack 3 changed
26 this default behaviour so it now will only handle encrypted passwords.
27 The following registry entry change will re-enable clear text password
28 handling:
29
30 Run regedt32.exe and locate the hive key entry:
31 HKEY_LOCAL_MACHINE\system\CurrentControlSet\Services\rdr\parameters\
32
33 Add the following value:
34         EnablePlainTextPassword:REG_DWORD=1
35
36 Alternatively, use the NT4_PlainPassword.reg file in this directory (either
37 by double clicking on it, or run regedit.exe and select "Import Registry
38 File" from the "Registry" Menu).
39
40 The other major ramification of this feature of NT is that it can't
41 browse a user level non-encrypted server unless it already has a
42 connection open. This is because there is no spot for a password
43 prompt in the browser window. It works fine if you already have a
44 drive mounted (for example, one auto mounted on startup).
45 =====================================================================
46
47 Printing:
48 =========
49 When you mount a printer using the print manager in NT you may find
50 the following info from Matthew Harrell <harrell@leech.nrl.navy.mil>
51 useful:
52
53 ------------
54         I noticed in your change-log you noted that some people were
55 still unable to use print manager under NT.  If this is the same problem
56 that I encountered, it's caused by the length of time it takes NT to
57 determine if the printer is ready.
58
59 The problem occurs when you double-click on a printer to connect it to
60 the NT machine.  Because it's unable to determine if the printer is ready
61 in the short span of time it has, it assumes it isn't and gives some
62 strange error about not having enough resources (I forget what the error
63 is).  A solution to this that seems to work fine for us is to click
64 once on the printer, look at the bottom of the window and wait until
65 it says it's ready, then clilck on "OK".
66
67 By the way, this problem probably occurs in our group because the
68 Samba server doesn't actually have the printers - it queues them to
69 remote printers either on other machines or using their own network
70 cards.  Because of this "middle layer", it takes an extra amount of
71 time for the NT machine to get verification that the printer queue
72 actually exists.
73
74 I hope this helped in some way...