Ignore:
Timestamp:
Jan 15, 2010, 8:21:06 AM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Update Samba 3.3 to 3.3.10 (docs)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/PolicyMgmt.html

    r342 r368  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 26. System and Account Policies</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="AdvancedNetworkManagement.html" title="Chapter 25. Advanced Network Management"><link rel="next" href="ProfileMgmt.html" title="Chapter 27. Desktop Profile Management"></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 26. System and Account Policies</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="AdvancedNetworkManagement.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="ProfileMgmt.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="PolicyMgmt"></a>Chapter 26. System and Account Policies</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">April 3 2003</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="PolicyMgmt.html#id2658804">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2658910">Creating and Managing System Policies</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2659098">Windows 9x/ME Policies</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2659235">Windows NT4-Style Policy Files</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2659457">MS Windows 200x/XP Professional Policies</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2659906">Managing Account/User Policies</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2660133">Management Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2660146">Samba Editreg Toolset</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2660228">Windows NT4/200x</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2660268">Samba PDC</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2660333">System Startup and Logon Processing Overview</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2660490">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2660502">Policy Does Not Work</a></span></dt></dl></dd></dl></div><p>
    2 <a class="indexterm" name="id2658790"></a>
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 26. System and Account Policies</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="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="AdvancedNetworkManagement.html" title="Chapter 25. Advanced Network Management"><link rel="next" href="ProfileMgmt.html" title="Chapter 27. Desktop Profile Management"></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 26. System and Account Policies</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="AdvancedNetworkManagement.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="ProfileMgmt.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 26. System and Account Policies"><div class="titlepage"><div><div><h2 class="title"><a name="PolicyMgmt"></a>Chapter 26. System and Account Policies</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">April 3 2003</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="PolicyMgmt.html#id2664856">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2664962">Creating and Managing System Policies</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2665151">Windows 9x/ME Policies</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2665288">Windows NT4-Style Policy Files</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2665509">MS Windows 200x/XP Professional Policies</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2665958">Managing Account/User Policies</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2666185">Management Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2666198">Samba Editreg Toolset</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2666280">Windows NT4/200x</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2666320">Samba PDC</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2666385">System Startup and Logon Processing Overview</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2666542">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2666554">Policy Does Not Work</a></span></dt></dl></dd></dl></div><p>
     2<a class="indexterm" name="id2664842"></a>
    33This chapter summarizes the current state of knowledge derived from personal
    44practice and knowledge from Samba mailing list subscribers. Before reproduction
     
    66Where additional information was uncovered through this validation, it is provided
    77also.
    8 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2658804"></a>Features and Benefits</h2></div></div></div><p>
    9 <a class="indexterm" name="id2658812"></a>
    10 <a class="indexterm" name="id2658819"></a>
    11 <a class="indexterm" name="id2658826"></a>
     8</p><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2664856"></a>Features and Benefits</h2></div></div></div><p>
     9<a class="indexterm" name="id2664864"></a>
     10<a class="indexterm" name="id2664871"></a>
     11<a class="indexterm" name="id2664878"></a>
    1212When MS Windows NT 3.5 was introduced, the hot new topic was the ability to implement
    1313Group Policies for users and groups. Then along came MS Windows NT4 and a few sites
    14 started to adopt this capability. How do we know that? By the number of &#8220;<span class="quote">boo-boos</span>&#8221;
     14started to adopt this capability. How do we know that? By the number of <span class="quote">&#8220;<span class="quote">boo-boos</span>&#8221;</span>
    1515(or mistakes) administrators made and then requested help to resolve.
    1616</p><p>
    17 <a class="indexterm" name="id2658844"></a>
    18 <a class="indexterm" name="id2658851"></a>
    19 <a class="indexterm" name="id2658861"></a>
    20 <a class="indexterm" name="id2658867"></a>
    21 <a class="indexterm" name="id2658874"></a>
     17<a class="indexterm" name="id2664897"></a>
     18<a class="indexterm" name="id2664904"></a>
     19<a class="indexterm" name="id2664913"></a>
     20<a class="indexterm" name="id2664920"></a>
     21<a class="indexterm" name="id2664926"></a>
    2222By the time that MS Windows 2000 and Active Directory was released, administrators
    2323got the message: Group Policies are a good thing! They can help reduce administrative
     
    2828how to replicate them in a Samba environment.
    2929</p><p>
    30 <a class="indexterm" name="id2658896"></a>
     30<a class="indexterm" name="id2664948"></a>
    3131Judging by the traffic volume since mid 2002, GPOs have become a standard part of
    3232the deployment in many sites. This chapter reviews techniques and methods that can
    3333be used to exploit opportunities for automation of control over user desktops and
    3434network client workstations.
    35 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2658910"></a>Creating and Managing System Policies</h2></div></div></div><p>
    36 <a class="indexterm" name="id2658918"></a>
    37 <a class="indexterm" name="id2658925"></a>
    38 <a class="indexterm" name="id2658932"></a>
    39 <a class="indexterm" name="id2658938"></a>
     35</p></div><div class="sect1" title="Creating and Managing System Policies"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2664962"></a>Creating and Managing System Policies</h2></div></div></div><p>
     36<a class="indexterm" name="id2664970"></a>
     37<a class="indexterm" name="id2664977"></a>
     38<a class="indexterm" name="id2664984"></a>
     39<a class="indexterm" name="id2664990"></a>
    4040Under MS Windows platforms, particularly those following the release of MS Windows
    4141NT4 and MS Windows 95, it is possible to create a type of file that would be placed
     
    4545affect users, groups of users, or machines.
    4646</p><p>
    47 <a class="indexterm" name="id2658956"></a>
    48 <a class="indexterm" name="id2658963"></a>
    49 <a class="indexterm" name="id2658970"></a>
     47<a class="indexterm" name="id2665008"></a>
     48<a class="indexterm" name="id2665015"></a>
     49<a class="indexterm" name="id2665022"></a>
    5050For MS Windows 9x/Me, this file must be called <code class="filename">Config.POL</code> and may
    5151be generated using a tool called <code class="filename">poledit.exe</code>, better known as the
     
    5555a part of the MS Windows Me Resource Kit.
    5656</p><p>
    57 <a class="indexterm" name="id2658998"></a>
     57<a class="indexterm" name="id2665050"></a>
    5858MS Windows NT4 server products include the <span class="emphasis"><em>System Policy Editor</em></span>
    5959under <span class="guimenu">Start -&gt; Programs -&gt; Administrative Tools</span>.
    6060For MS Windows NT4 and later clients, this file must be called <code class="filename">NTConfig.POL</code>.
    6161</p><p>
    62 <a class="indexterm" name="id2659027"></a>
     62<a class="indexterm" name="id2665079"></a>
    6363New with the introduction of MS Windows 2000 was the Microsoft Management Console
    6464or MMC. This tool is the new wave in the ever-changing landscape of Microsoft
     
    6868be a step forward, but improved functionality comes at a great price.
    6969</p><p>
    70 <a class="indexterm" name="id2659045"></a>
    71 <a class="indexterm" name="id2659052"></a>
    72 <a class="indexterm" name="id2659059"></a>
    73 <a class="indexterm" name="id2659066"></a>
     70<a class="indexterm" name="id2665097"></a>
     71<a class="indexterm" name="id2665104"></a>
     72<a class="indexterm" name="id2665111"></a>
     73<a class="indexterm" name="id2665118"></a>
    7474Before embarking on the configuration of network and system policies, it is highly
    7575advisable to read the documentation available from Microsoft's Web site regarding
     
    7777Implementing Profiles and Policies in Windows NT 4.0</a>.
    7878There are a large number of documents in addition to this old one that should also
    79 be read and understood. Try searching on the Microsoft Web site for &#8220;<span class="quote">Group Policies</span>&#8221;.
     79be read and understood. Try searching on the Microsoft Web site for <span class="quote">&#8220;<span class="quote">Group Policies</span>&#8221;</span>.
    8080</p><p>
    8181What follows is a brief discussion with some helpful notes. The information provided
    8282here is incomplete  you are warned.
    83 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2659098"></a>Windows 9x/ME Policies</h3></div></div></div><p>
    84 <a class="indexterm" name="id2659106"></a>
    85 <a class="indexterm" name="id2659113"></a>
     83</p><div class="sect2" title="Windows 9x/ME Policies"><div class="titlepage"><div><div><h3 class="title"><a name="id2665151"></a>Windows 9x/ME Policies</h3></div></div></div><p>
     84<a class="indexterm" name="id2665159"></a>
     85<a class="indexterm" name="id2665165"></a>
    8686        You need the Windows 98 Group Policy Editor to set up Group Profiles under Windows 9x/Me.
    8787        It can be found on the original full-product Windows 98 installation CD-ROM under
     
    8989        Add/Remove Programs facility, and then click on <span class="guiicon">Have Disk</span>.
    9090        </p><p>
    91 <a class="indexterm" name="id2659140"></a>
    92 <a class="indexterm" name="id2659147"></a>
     91<a class="indexterm" name="id2665192"></a>
     92<a class="indexterm" name="id2665199"></a>
    9393        Use the Group Policy Editor to create a policy file that specifies the location of
    9494        user profiles and/or <code class="filename">My Documents</code>, and so on. Then save these
     
    100100        Further details are covered in the Windows 98 Resource Kit documentation.
    101101        </p><p>
    102 <a class="indexterm" name="id2659186"></a>
     102<a class="indexterm" name="id2665238"></a>
    103103        If you do not take the correct steps, then every so often Windows 9x/Me will check the
    104104        integrity of the registry and restore its settings from the backup
     
    106106        occasionally notice things changing back to the original settings.
    107107        </p><p>
    108 <a class="indexterm" name="id2659201"></a>
    109 <a class="indexterm" name="id2659208"></a>
     108<a class="indexterm" name="id2665253"></a>
     109<a class="indexterm" name="id2665260"></a>
    110110        Install the Group Policy handler for Windows 9x/Me to pick up Group Policies. Look on the
    111111        Windows 98 CD-ROM in <code class="filename">\tools\reskit\netadmin\poledit</code>.
     
    114114        if Windows 98 picks up Group Policies. Unfortunately, this needs to be done on every
    115115        Windows 9x/Me machine that uses Group Policies.
    116         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2659235"></a>Windows NT4-Style Policy Files</h3></div></div></div><p>
    117 <a class="indexterm" name="id2659244"></a>
    118 <a class="indexterm" name="id2659250"></a>
    119 <a class="indexterm" name="id2659257"></a>
    120 <a class="indexterm" name="id2659264"></a>
     116        </p></div><div class="sect2" title="Windows NT4-Style Policy Files"><div class="titlepage"><div><div><h3 class="title"><a name="id2665288"></a>Windows NT4-Style Policy Files</h3></div></div></div><p>
     117<a class="indexterm" name="id2665296"></a>
     118<a class="indexterm" name="id2665303"></a>
     119<a class="indexterm" name="id2665309"></a>
     120<a class="indexterm" name="id2665316"></a>
    121121        To create or edit <code class="filename">ntconfig.pol</code>, you must use the NT Server
    122122        Policy Editor, <code class="literal">poledit.exe</code>, which is included with NT4 Server
     
    127127        the NT Server will run happily enough on an NT4 workstation.
    128128        </p><p>
    129 <a class="indexterm" name="id2659294"></a>
    130 <a class="indexterm" name="id2659301"></a>
    131 <a class="indexterm" name="id2659308"></a>
    132 <a class="indexterm" name="id2659314"></a>
     129<a class="indexterm" name="id2665346"></a>
     130<a class="indexterm" name="id2665353"></a>
     131<a class="indexterm" name="id2665360"></a>
     132<a class="indexterm" name="id2665367"></a>
    133133        You need <code class="filename">poledit.exe</code>, <code class="filename">common.adm</code>, and <code class="filename">winnt.adm</code>.
    134134        It is convenient to put the two <code class="filename">*.adm</code> files in  the <code class="filename">c:\winnt\inf</code>
    135135        directory, which is where the binary will look for them unless told otherwise. This
    136         directory is normally &#8220;<span class="quote">hidden.</span>&#8221;
    137         </p><p>
    138 <a class="indexterm" name="id2659360"></a>
    139 <a class="indexterm" name="id2659367"></a>
    140 <a class="indexterm" name="id2659374"></a>
    141 <a class="indexterm" name="id2659381"></a>
     136        directory is normally <span class="quote">&#8220;<span class="quote">hidden.</span>&#8221;</span>
     137        </p><p>
     138<a class="indexterm" name="id2665413"></a>
     139<a class="indexterm" name="id2665420"></a>
     140<a class="indexterm" name="id2665426"></a>
     141<a class="indexterm" name="id2665433"></a>
    142142        The Windows NT Policy Editor is also included with the Service Pack 3 (and
    143143        later) for Windows NT 4.0. Extract the files using <code class="literal">servicepackname /x</code>
     
    147147        files for Office97 and get a copy of the Policy Editor. Another possible
    148148        location is with the Zero Administration Kit available for download from Microsoft.
    149         </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2659418"></a>Registry Spoiling</h4></div></div></div><p>
    150 <a class="indexterm" name="id2659425"></a>
    151 <a class="indexterm" name="id2659432"></a>
     149        </p><div class="sect3" title="Registry Spoiling"><div class="titlepage"><div><div><h4 class="title"><a name="id2665470"></a>Registry Spoiling</h4></div></div></div><p>
     150<a class="indexterm" name="id2665478"></a>
     151<a class="indexterm" name="id2665484"></a>
    152152                        With NT4-style registry-based policy changes, a large number of settings are not
    153153                        automatically reversed as the user logs off. The settings that were in the
     
    156156                        as tattooing. It can have serious consequences downstream, and the administrator must
    157157                        be extremely careful not to lock out the ability to manage the machine at a later date.
    158                         </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2659457"></a>MS Windows 200x/XP Professional Policies</h3></div></div></div><p>
    159 <a class="indexterm" name="id2659465"></a>
     158                        </p></div></div><div class="sect2" title="MS Windows 200x/XP Professional Policies"><div class="titlepage"><div><div><h3 class="title"><a name="id2665509"></a>MS Windows 200x/XP Professional Policies</h3></div></div></div><p>
     159<a class="indexterm" name="id2665517"></a>
    160160        Windows NT4 system policies allow the setting of registry parameters specific to
    161161        users, groups, and computers (client workstations) that are members of the NT4-style
     
    166166        to create them is different, and the mechanism for implementing them is much improved.
    167167        </p><p>
    168         <a class="indexterm" name="id2659487"></a>
    169 <a class="indexterm" name="id2659494"></a>
     168        <a class="indexterm" name="id2665540"></a>
     169<a class="indexterm" name="id2665546"></a>
    170170        The older NT4-style registry-based policies are known as <span class="emphasis"><em>Administrative Templates</em></span>
    171171        in MS Windows 2000/XP GPOs. The latter includes the ability to set various security
     
    176176        users and/or groups.
    177177        </p><p>
    178 <a class="indexterm" name="id2659523"></a>
    179 <a class="indexterm" name="id2659530"></a>
    180 <a class="indexterm" name="id2659537"></a>
     178<a class="indexterm" name="id2665575"></a>
     179<a class="indexterm" name="id2665582"></a>
     180<a class="indexterm" name="id2665589"></a>
    181181        Remember, NT4 policy files are named <code class="filename">NTConfig.POL</code> and are stored in the root
    182182        of the NETLOGON share on the domain controllers. A Windows NT4 user enters a username and password
     
    185185        the authenticating server and modifies the local registry values according to the settings in this file.
    186186        </p><p>
    187 <a class="indexterm" name="id2659566"></a>
    188 <a class="indexterm" name="id2659573"></a>
    189 <a class="indexterm" name="id2659580"></a>
    190 <a class="indexterm" name="id2659587"></a>
    191 <a class="indexterm" name="id2659593"></a>
    192 <a class="indexterm" name="id2659600"></a>
    193 <a class="indexterm" name="id2659610"></a>
    194 <a class="indexterm" name="id2659620"></a>
     187<a class="indexterm" name="id2665619"></a>
     188<a class="indexterm" name="id2665625"></a>
     189<a class="indexterm" name="id2665632"></a>
     190<a class="indexterm" name="id2665639"></a>
     191<a class="indexterm" name="id2665646"></a>
     192<a class="indexterm" name="id2665652"></a>
     193<a class="indexterm" name="id2665662"></a>
     194<a class="indexterm" name="id2665672"></a>
    195195        Windows 200x GPOs are feature-rich. They are not stored in the NETLOGON share, but rather part of
    196196        a Windows 200x policy file is stored in the Active Directory itself and the other part is stored
     
    200200        known as the Group Policy Template (GPT).
    201201        </p><p>
    202 <a class="indexterm" name="id2659639"></a>
     202<a class="indexterm" name="id2665691"></a>
    203203        With NT4 clients, the policy file is read and executed only as each user logs onto the network.
    204204        MS Windows 200x policies are much more complex  GPOs are processed and applied at client machine
     
    208208        the administrator to also set filters over the policy settings. No such equivalent capability
    209209        exists with NT4-style policy files.
    210         </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2659660"></a>Administration of Windows 200x/XP Policies</h4></div></div></div><p>
    211                 <a class="indexterm" name="id2659669"></a>
    212                 <a class="indexterm" name="id2659675"></a>
    213 <a class="indexterm" name="id2659682"></a>
    214 <a class="indexterm" name="id2659689"></a>
    215 <a class="indexterm" name="id2659696"></a>
     210        </p><div class="sect3" title="Administration of Windows 200x/XP Policies"><div class="titlepage"><div><div><h4 class="title"><a name="id2665713"></a>Administration of Windows 200x/XP Policies</h4></div></div></div><p>
     211                <a class="indexterm" name="id2665721"></a>
     212                <a class="indexterm" name="id2665727"></a>
     213<a class="indexterm" name="id2665734"></a>
     214<a class="indexterm" name="id2665741"></a>
     215<a class="indexterm" name="id2665748"></a>
    216216                Instead of using the tool called <span class="application">the System Policy Editor</span>, commonly called Poledit (from the
    217217                executable name <code class="literal">poledit.exe</code>), <acronym class="acronym">GPOs</acronym> are created and managed using a
    218                 <span class="application">Microsoft Management Console</span> <acronym class="acronym">(MMC)</acronym> snap-in as follows:</p><div class="procedure"><ol type="1"><li><p>
     218                <span class="application">Microsoft Management Console</span> <acronym class="acronym">(MMC)</acronym> snap-in as follows:</p><div class="procedure"><ol class="procedure" type="1"><li class="step" title="Step 1"><p>
    219219                        Go to the Windows 200x/XP menu <span class="guimenu">Start-&gt;Programs-&gt;Administrative Tools</span>
    220220                        and select the MMC snap-in called <span class="guimenuitem">Active Directory Users and Computers</span>
    221                         </p></li><li><p>
    222 <a class="indexterm" name="id2659760"></a>
     221                        </p></li><li class="step" title="Step 2"><p>
     222<a class="indexterm" name="id2665812"></a>
    223223                        Select the domain or organizational unit (OU) that you wish to manage, then right-click
    224224                        to open the context menu for that object, and select the <span class="guibutton">Properties</span>.
    225                         </p></li><li><p>
     225                        </p></li><li class="step" title="Step 3"><p>
    226226                        Left-click on the <span class="guilabel">Group Policy</span> tab, then
    227227                        left-click on the New tab. Type a name
    228228                        for the new policy you will create.
    229                         </p></li><li><p>
     229                        </p></li><li class="step" title="Step 4"><p>
    230230                         Left-click on the <span class="guilabel">Edit</span> tab to commence the steps needed to create the GPO.
    231231                        </p></li></ol></div><p>
     
    237237                refer to the Microsoft Windows Resource Kit for your particular
    238238                version of MS Windows.
    239                 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    240 <a class="indexterm" name="id2659825"></a>
    241 <a class="indexterm" name="id2659832"></a>
    242 <a class="indexterm" name="id2659839"></a>
     239                </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     240<a class="indexterm" name="id2665878"></a>
     241<a class="indexterm" name="id2665884"></a>
     242<a class="indexterm" name="id2665891"></a>
    243243                The MS Windows 2000 Resource Kit contains a tool called <code class="literal">gpolmig.exe</code>. This tool can be used
    244244                to migrate an NT4 <code class="filename">NTConfig.POL</code> file into a Windows 200x style GPO. Be VERY careful how you
    245245                use this powerful tool. Please refer to the resource kit manuals for specific usage information.
    246                 </p></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2659866"></a>Custom System Policy Templates</h4></div></div></div><p>
     246                </p></div></div><div class="sect3" title="Custom System Policy Templates"><div class="titlepage"><div><div><h4 class="title"><a name="id2665918"></a>Custom System Policy Templates</h4></div></div></div><p>
    247247                Over the past year, there has been a bit of talk regarding the creation of customized
    248248                templates for the Windows Sytem Policy Editor. A recent announcement on the Samba mailing
     
    257257                For further information please see the <a class="ulink" href="http://www.pcc-services.com/custom_poledit.html" target="_top">Petersen</a> Computer Consulting web site. There is
    258258                a download link for the template file.
    259                 </p></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2659906"></a>Managing Account/User Policies</h2></div></div></div><p>
    260 <a class="indexterm" name="id2659914"></a>
    261 <a class="indexterm" name="id2659921"></a>
    262 <a class="indexterm" name="id2659928"></a>
     259                </p></div></div></div><div class="sect1" title="Managing Account/User Policies"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2665958"></a>Managing Account/User Policies</h2></div></div></div><p>
     260<a class="indexterm" name="id2665966"></a>
     261<a class="indexterm" name="id2665973"></a>
     262<a class="indexterm" name="id2665980"></a>
    263263Policies can define a specific user's settings or the settings for a group of users. The resulting
    264264policy file contains the registry settings for all users, groups, and computers that will be using
    265265the policy file. Separate policy files for each user, group, or computer are not necessary.
    266266</p><p>
    267 <a class="indexterm" name="id2659943"></a>
     267<a class="indexterm" name="id2665995"></a>
    268268If you create a policy that will be automatically downloaded from validating domain controllers,
    269269you should name the file <code class="filename">NTConfig.POL</code>. As system administrator, you have the option of renaming the
     
    273273but if a change is necessary to all machines, it must be made individually to each workstation.
    274274</p><p>
    275 <a class="indexterm" name="id2659969"></a>
    276 <a class="indexterm" name="id2659976"></a>
     275<a class="indexterm" name="id2666021"></a>
     276<a class="indexterm" name="id2666028"></a>
    277277When a Windows NT4/200x/XP machine logs onto the network, the client looks in the NETLOGON share on
    278278the authenticating domain controller for the presence of the <code class="filename">NTConfig.POL</code> file. If one exists, it is
    279279downloaded, parsed, and then applied to the user's part of the registry.
    280280</p><p>
    281 <a class="indexterm" name="id2659997"></a>
    282 <a class="indexterm" name="id2660003"></a>
    283 <a class="indexterm" name="id2660010"></a>
    284 <a class="indexterm" name="id2660017"></a>
     281<a class="indexterm" name="id2666049"></a>
     282<a class="indexterm" name="id2666056"></a>
     283<a class="indexterm" name="id2666062"></a>
     284<a class="indexterm" name="id2666069"></a>
    285285MS Windows 200x/XP clients that log onto an MS Windows Active Directory security domain may additionally
    286286acquire policy settings through GPOs that are defined and stored in Active Directory
     
    288288This has considerable advantage compared with the use of <code class="filename">NTConfig.POL</code> (NT4) style policy updates.
    289289</p><p>
    290 <a class="indexterm" name="id2660043"></a>
    291 <a class="indexterm" name="id2660050"></a>
     290<a class="indexterm" name="id2666095"></a>
     291<a class="indexterm" name="id2666102"></a>
    292292In addition to user access controls that may be imposed or applied via system and/or group policies
    293293in a manner that works in conjunction with user profiles, the user management environment under
     
    295295Common restrictions that are frequently used include:
    296296</p><p>
    297 <a class="indexterm" name="id2660066"></a>
    298 </p><div class="itemizedlist"><ul type="disc"><li><p>Logon hours</p></li><li><p>Password aging</p></li><li><p>Permitted logon from certain machines only</p></li><li><p>Account type (local or global)</p></li><li><p>User rights</p></li></ul></div><p>
    299 </p><p>
    300 <a class="indexterm" name="id2660103"></a>
    301 <a class="indexterm" name="id2660110"></a>
     297<a class="indexterm" name="id2666118"></a>
     298</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Logon hours</p></li><li class="listitem"><p>Password aging</p></li><li class="listitem"><p>Permitted logon from certain machines only</p></li><li class="listitem"><p>Account type (local or global)</p></li><li class="listitem"><p>User rights</p></li></ul></div><p>
     299</p><p>
     300<a class="indexterm" name="id2666155"></a>
     301<a class="indexterm" name="id2666162"></a>
    302302Samba-3.0.20 does not yet implement all account controls that are common to MS Windows NT4/200x/XP.
    303303While it is possible to set many controls using the Domain User Manager for MS Windows NT4, only password
     
    305305that may eventually be completed to provide actual control. Do not be misled by the fact that a
    306306parameter can be set using the NT4 Domain User Manager or in the <code class="filename">NTConfig.POL</code>.
    307 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2660133"></a>Management Tools</h2></div></div></div><p>
     307</p></div><div class="sect1" title="Management Tools"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2666185"></a>Management Tools</h2></div></div></div><p>
    308308Anyone who wishes to create or manage Group Policies will need to be familiar with a number of tools.
    309309The following sections describe a few key tools that will help you to create a low-maintenance user
    310310environment.
    311 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2660146"></a>Samba Editreg Toolset</h3></div></div></div><p>
    312         <a class="indexterm" name="id2660154"></a>
    313         <a class="indexterm" name="id2660160"></a>
    314         <a class="indexterm" name="id2660167"></a>
     311</p><div class="sect2" title="Samba Editreg Toolset"><div class="titlepage"><div><div><h3 class="title"><a name="id2666198"></a>Samba Editreg Toolset</h3></div></div></div><p>
     312        <a class="indexterm" name="id2666206"></a>
     313        <a class="indexterm" name="id2666212"></a>
     314        <a class="indexterm" name="id2666219"></a>
    315315        A new tool called <code class="literal">editreg</code> is under development. This tool can be used
    316316        to edit registry files (called <code class="filename">NTUser.DAT</code>) that are stored in user
     
    321321        to realize this capability, so do not be surprised if this feature does not materialize. Formal
    322322        capabilities will be announced at the time that this tool is released for production use.
    323         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2660228"></a>Windows NT4/200x</h3></div></div></div><p>
    324 <a class="indexterm" name="id2660236"></a>
    325 <a class="indexterm" name="id2660242"></a>
    326 <a class="indexterm" name="id2660249"></a>
     323        </p></div><div class="sect2" title="Windows NT4/200x"><div class="titlepage"><div><div><h3 class="title"><a name="id2666280"></a>Windows NT4/200x</h3></div></div></div><p>
     324<a class="indexterm" name="id2666288"></a>
     325<a class="indexterm" name="id2666295"></a>
     326<a class="indexterm" name="id2666302"></a>
    327327        The tools that may be used to configure these types of controls from the MS Windows environment are
    328328        the NT4 User Manager for Domains, the NT4 System and Group Policy Editor, and the Registry Editor (regedt32.exe).
    329329        Under MS Windows 200x/XP, this is done using the MMC with appropriate
    330         &#8220;<span class="quote">snap-ins,</span>&#8221; the registry editor, and potentially also the NT4 System and Group Policy Editor.
    331         </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2660268"></a>Samba PDC</h3></div></div></div><p>
    332 <a class="indexterm" name="id2660276"></a>
    333 <a class="indexterm" name="id2660283"></a>
    334 <a class="indexterm" name="id2660289"></a>
    335 <a class="indexterm" name="id2660296"></a>
     330        <span class="quote">&#8220;<span class="quote">snap-ins,</span>&#8221;</span> the registry editor, and potentially also the NT4 System and Group Policy Editor.
     331        </p></div><div class="sect2" title="Samba PDC"><div class="titlepage"><div><div><h3 class="title"><a name="id2666320"></a>Samba PDC</h3></div></div></div><p>
     332<a class="indexterm" name="id2666328"></a>
     333<a class="indexterm" name="id2666335"></a>
     334<a class="indexterm" name="id2666342"></a>
     335<a class="indexterm" name="id2666348"></a>
    336336        With a Samba domain controller, the new tools for managing user account and policy information include:
    337337        <code class="literal">smbpasswd</code>, <code class="literal">pdbedit</code>, <code class="literal">net</code>, and <code class="literal">rpcclient</code>.
    338338        The administrator should read the man pages for these tools and become familiar with their use.
    339         </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2660333"></a>System Startup and Logon Processing Overview</h2></div></div></div><p>
     339        </p></div></div><div class="sect1" title="System Startup and Logon Processing Overview"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2666385"></a>System Startup and Logon Processing Overview</h2></div></div></div><p>
    340340The following attempts to document the order of processing the system and user policies following a system
    341341reboot and as part of the user logon:
    342 </p><div class="orderedlist"><ol type="1"><li><p>
    343 <a class="indexterm" name="id2660354"></a>
    344 <a class="indexterm" name="id2660364"></a>
     342</p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>
     343<a class="indexterm" name="id2666407"></a>
     344<a class="indexterm" name="id2666416"></a>
    345345        Network starts, then Remote Procedure Call System Service (RPCSS) and multiple universal naming
    346346        convention provider (MUP) start.
    347         </p></li><li><p>
    348 <a class="indexterm" name="id2660381"></a>
    349 <a class="indexterm" name="id2660387"></a>
     347        </p></li><li class="listitem"><p>
     348<a class="indexterm" name="id2666433"></a>
     349<a class="indexterm" name="id2666440"></a>
    350350        Where Active Directory is involved, an ordered list of GPOs is downloaded
    351351        and applied. The list may include GPOs that:
    352 </p><div class="itemizedlist"><ul type="disc"><li><p>Apply to the location of machines in a directory.</p></li><li><p>Apply only when settings have changed.</p></li><li><p>Depend on configuration of the scope of applicability: local,
     352</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Apply to the location of machines in a directory.</p></li><li class="listitem"><p>Apply only when settings have changed.</p></li><li class="listitem"><p>Depend on configuration of the scope of applicability: local,
    353353        site, domain, organizational unit, and so on.</p></li></ul></div><p>
    354354        No desktop user interface is presented until the above have been processed.
    355         </p></li><li><p>
     355        </p></li><li class="listitem"><p>
    356356        Execution of startup scripts (hidden and synchronous by default).
    357         </p></li><li><p>
     357        </p></li><li class="listitem"><p>
    358358        A keyboard action to effect start of logon (Ctrl-Alt-Del).
    359         </p></li><li><p>
     359        </p></li><li class="listitem"><p>
    360360        User credentials are validated, user profile is loaded (depends on policy settings).
    361         </p></li><li><p>
     361        </p></li><li class="listitem"><p>
    362362        An ordered list of user GPOs is obtained. The list contents depends on what is configured in respect of:
    363363
    364 </p><div class="itemizedlist"><ul type="disc"><li><p>Is the user a domain member, thus subject to particular policies?</p></li><li><p>Loopback enablement, and the state of the loopback policy (merge or replace).</p></li><li><p>Location of the Active Directory itself.</p></li><li><p>Has the list of GPOs changed? No processing is needed if not changed.</p></li></ul></div><p>
    365         </p></li><li><p>
     364</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Is the user a domain member, thus subject to particular policies?</p></li><li class="listitem"><p>Loopback enablement, and the state of the loopback policy (merge or replace).</p></li><li class="listitem"><p>Location of the Active Directory itself.</p></li><li class="listitem"><p>Has the list of GPOs changed? No processing is needed if not changed.</p></li></ul></div><p>
     365        </p></li><li class="listitem"><p>
    366366        User policies are applied from Active Directory. Note: There are several types.
    367         </p></li><li><p>
     367        </p></li><li class="listitem"><p>
    368368        Logon scripts are run. New to Windows 200x and Active Directory, logon scripts may be obtained based on GPOs
    369369        (hidden and executed synchronously). NT4-style logon scripts are then run in a normal
    370370        window.
    371         </p></li><li><p>
     371        </p></li><li class="listitem"><p>
    372372        The user interface as determined from the GPOs is presented. Note: In a Samba domain (like an NT4
    373373        domain), machine (system) policies are applied at startup; user policies are applied at logon.
    374         </p></li></ol></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2660490"></a>Common Errors</h2></div></div></div><p>
     374        </p></li></ol></div></div><div class="sect1" title="Common Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2666542"></a>Common Errors</h2></div></div></div><p>
    375375Policy-related problems can be quite difficult to diagnose and even more difficult to rectify. The following
    376376collection demonstrates only basic issues.
    377 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2660502"></a>Policy Does Not Work</h3></div></div></div><p>
    378 &#8220;<span class="quote">We have created the <code class="filename">Config.POL</code> file and put it in the <span class="emphasis"><em>NETLOGON</em></span> share.
     377</p><div class="sect2" title="Policy Does Not Work"><div class="titlepage"><div><div><h3 class="title"><a name="id2666554"></a>Policy Does Not Work</h3></div></div></div><p>
     378<span class="quote">&#8220;<span class="quote">We have created the <code class="filename">Config.POL</code> file and put it in the <span class="emphasis"><em>NETLOGON</em></span> share.
    379379It has made no difference to our Win XP Pro machines, they just do not see it. It worked fine with Win 98 but does not
    380 work any longer since we upgraded to Win XP Pro. Any hints?</span>&#8221;
     380work any longer since we upgraded to Win XP Pro. Any hints?</span>&#8221;</span>
    381381</p><p>
    382382Policy files are not portable between Windows 9x/Me and MS Windows NT4/200x/XP-based platforms. You need to
Note: See TracChangeset for help on using the changeset viewer.