This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.
[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                 Priting Info     - Copyright (C) 1997 - Frank Varnavas
5 Updated:        October 16, 1997
6 Status:         Current
7
8 Subject:        Samba and Windows NT Password Handling
9 =============================================================================
10
11 There are some particular issues with Samba and Windows NT.
12
13 Passwords:
14 ==========
15 One of the most annoying problems with WinNT is that NT refuses to
16 connect to a server that is in user level security mode and that
17 doesn't support password encryption unless it first prompts the user
18 for a password.
19
20 This means even if you have the same password on the NT box and the
21 Samba server you will get prompted for a password. Entering the
22 correct password will get you connected only if Windows NT can
23 communicate with Samba using a compatible mode of password security.
24
25 All versions of Windows NT prior to 4.0 Service Pack 3 could negotiate
26 plain text (clear text) passwords. Windows NT 4.0 Service Pack 3 changed
27 this default behaviour so it now will only handle encrypted passwords.
28 The following registry entry change will re-enable clear text password
29 handling:
30
31 Run regedt32.exe and locate the hive key entry:
32 HKEY_LOCAL_MACHINE\system\CurrentControlSet\Services\Rdr\Parameters\
33
34 Add the following value:
35         EnablePlainTextPassword:REG_DWORD=1
36
37 Alternatively, use the NT4_PlainPassword.reg file in this directory (either
38 by double clicking on it, or run regedt32.exe and select "Import Registry
39 File" from the "Registry" Menu).
40
41 The other major ramification of this feature of NT is that it can't
42 browse a user level non-encrypted server unless it already has a
43 connection open. This is because there is no spot for a password
44 prompt in the browser window. It works fine if you already have a
45 drive mounted (for example, one auto mounted on startup).
46 =====================================================================
47
48 Printing:
49 =========
50 When you mount a printer using the print manager in NT you may find
51 the following info from Matthew Harrell <harrell@leech.nrl.navy.mil>
52 useful:
53
54 ------------
55         I noticed in your change-log you noted that some people were
56 still unable to use print manager under NT.  If this is the same problem
57 that I encountered, it's caused by the length of time it takes NT to
58 determine if the printer is ready.
59
60 The problem occurs when you double-click on a printer to connect it to
61 the NT machine.  Because it's unable to determine if the printer is ready
62 in the short span of time it has, it assumes it isn't and gives some
63 strange error about not having enough resources (I forget what the error
64 is).  A solution to this that seems to work fine for us is to click
65 once on the printer, look at the bottom of the window and wait until
66 it says it's ready, then clilck on "OK".
67
68 By the way, this problem probably occurs in our group because the
69 Samba server doesn't actually have the printers - it queues them to
70 remote printers either on other machines or using their own network
71 cards.  Because of this "middle layer", it takes an extra amount of
72 time for the NT machine to get verification that the printer queue
73 actually exists.
74
75 I hope this helped in some way...
76
77 =====================================================================
78 Printing Info:
79 --------------
80
81 From: Frank Varnavas <varnavas@ny.ubs.com>
82 Subject: RE: Samba as a print server
83
84 When an NT client attempts to connect  to a printer  on a non-NT print
85 server the attempt is failed with an error, something like:
86
87    "You have insufficient access to your computer to perform the
88     operation because a driver needs to be installed"
89
90 This is  because  domain users  must  have 'Power User'  status on the
91 desktop to connect to printers on a non-NT print server.
92
93 This  error  occurs regardless of  whether  the driver  in question is
94 already installed or not.  What it really means is  that the server is
95 a non-NT  server  and the client does  not  have permission to  create
96 printers  locally.   Apparently when a   connection to a  non-NT print
97 server is made the printer is defined  locally.  Such an action can be
98 performed   by  either a   local    administrator  or  a Power   User.
99 Unfortunately there is no way to limit the powers of a Power User, nor
100 is there any way to grant the Printer Creation right to another group.
101
102 This permission policy is documented in PSS database WINNT, ID Q101874
103
104 Frank Varnavas (varnavas@ny.ubs.com)