- 浏览: 86936 次
- 性别:
- 来自: 苏州
最新评论
-
javazeke:
自己支持一下,,,希望下周有help
求oracle11g和10g 双机热备文档 -
javazeke:
kimmking 写道mr_kairy 写道看你的结构 就是 ...
江湖求方案,类似SSO系统的需求 -
javazeke:
yangdefeng95802 写道LZ的图是什么软件画的?真 ...
江湖求方案,类似SSO系统的需求 -
javazeke:
mr_kairy 写道看你的结构 就是 SOA 解决方案。。 ...
江湖求方案,类似SSO系统的需求 -
javazeke:
threestone1026 写道使用cas了
感谢thre ...
江湖求方案,类似SSO系统的需求
When you open the properties for a user account, click the Account
tab, and then either select or clear the check boxes in the
Account options
dialog box,
numerical values are assigned to
the UserAccountControl
attribute. The value that is assigned
to the attribute tells
Windows which options have been enabled.
To view user
accounts, click
Start
, point to Programs
, point to Administrative
Tools
, and then click Active Directory Users
and
Computers
.
You can view and edit these attributes by using either the
Ldp.exe tool or the Adsiedit.msc snap-in.
The following
table lists
possible flags that you can assign. You cannot set some of the
values on a user
or computer object because these values can be set or reset only by
the
directory service. Note that Ldp.exe shows the values in
hexadecimal.
Adsiedit.msc displays the values in decimal. The flags are
cumulative. To
disable a user's account, set the UserAccountControl
attribute to 0x0202 (0x002 + 0x0200). In decimal, this is 514 (2
+ 512).
Note
You can directly edit Active Directory in
both Ldp.exe and
Adsiedit.msc. Only experienced administrators should use these tools
to edit
Active Directory. Both tools are available after you install the
Support tools
from your original Windows installation media.
SCRIPT | 0x0001 | 1 |
ACCOUNTDISABLE | 0x0002 | 2 |
HOMEDIR_REQUIRED | 0x0008 | 8 |
LOCKOUT | 0x0010 | 16 |
PASSWD_NOTREQD | 0x0020 | 32 |
PASSWD_CANT_CHANGE Note You cannot assign this permission by directly modifying the UserAccountControl attribute. For information about how to set the permission programmatically, see the "Property flag descriptions" section. |
0x0040 | 64 |
ENCRYPTED_TEXT_PWD_ALLOWED | 0x0080 | 128 |
TEMP_DUPLICATE_ACCOUNT | 0x0100 | 256 |
NORMAL_ACCOUNT | 0x0200 | 512 |
INTERDOMAIN_TRUST_ACCOUNT | 0x0800 | 2048 |
WORKSTATION_TRUST_ACCOUNT | 0x1000 | 4096 |
SERVER_TRUST_ACCOUNT | 0x2000 | 8192 |
DONT_EXPIRE_PASSWORD | 0x10000 | 65536 |
MNS_LOGON_ACCOUNT | 0x20000 | 131072 |
SMARTCARD_REQUIRED | 0x40000 | 262144 |
TRUSTED_FOR_DELEGATION | 0x80000 | 524288 |
NOT_DELEGATED | 0x100000 | 1048576 |
USE_DES_KEY_ONLY | 0x200000 | 2097152 |
DONT_REQ_PREAUTH | 0x400000 | 4194304 |
PASSWORD_EXPIRED | 0x800000 | 8388608 |
TRUSTED_TO_AUTH_FOR_DELEGATION | 0x1000000 | 16777216 |
Note
In a Windows Server 2003-based domain, LOCK_OUT and PASSWORD_EXPIRED
have been replaced with a new attribute called
ms-DS-User-Account-Control-Computed. For more information about this
new attribute, visit the following Web site:
Property flag descriptions
<script type="text/javascript"> loadTOCNode(2, 'moreinformation'); </script>
- SCRIPT - The logon script will be run.
- ACCOUNTDISABLE - The user account is disabled.
- HOMEDIR_REQUIRED - The home folder is required.
- PASSWD_NOTREQD - No password is required.
- PASSWD_CANT_CHANGE
- The user cannot change the password. This
is a permission on the user's object. For information about how to
programmatically set this
permission, visit the following Web site:
http://msdn2.microsoft.com/en-us/library/aa746398.aspx (http://msdn2.microsoft.com/en-us/library/aa746398.aspx)
- ENCRYPTED_TEXT_PASSWORD_ALLOWED - The user can send an encrypted password.
- TEMP_DUPLICATE_ACCOUNT - This is an account for users whose primary account is in another domain. This account provides user access to this domain, but not to any domain that trusts this domain. This is sometimes referred to as a local user account.
- NORMAL_ACCOUNT - This is a default account type that represents a typical user.
- INTERDOMAIN_TRUST_ACCOUNT - This is a permit to trust an account for a system domain that trusts other domains.
- WORKSTATION_TRUST_ACCOUNT - This is a computer account for a computer that is running Microsoft Windows NT 4.0 Workstation, Microsoft Windows NT 4.0 Server, Microsoft Windows 2000 Professional, or Windows 2000 Server and is a member of this domain.
- SERVER_TRUST_ACCOUNT - This is a computer account for a domain controller that is a member of this domain.
- DONT_EXPIRE_PASSWD - Represents the password, which should never expire on the account.
- MNS_LOGON_ACCOUNT - This is an MNS logon account.
- SMARTCARD_REQUIRED - When this flag is set, it forces the user to log on by using a smart card.
- TRUSTED_FOR_DELEGATION - When this flag is set, the service account (the user or computer account) under which a service runs is trusted for Kerberos delegation. Any such service can impersonate a client requesting the service. To enable a service for Kerberos delegation, you must set this flag on the userAccountControl property of the service account.
- NOT_DELEGATED - When this flag is set, the security context of the user is not delegated to a service even if the service account is set as trusted for Kerberos delegation.
- USE_DES_KEY_ONLY - (Windows 2000/Windows Server 2003) Restrict this principal to use only Data Encryption Standard (DES) encryption types for keys.
- DONT_REQUIRE_PREAUTH - (Windows 2000/Windows Server 2003) This account does not require Kerberos pre-authentication for logging on.
- PASSWORD_EXPIRED - (Windows 2000/Windows Server 2003) The user's password has expired.
- TRUSTED_TO_AUTH_FOR_DELEGATION - (Windows 2000/Windows Server 2003) The account is enabled for delegation. This is a security-sensitive setting. Accounts with this option enabled should be tightly controlled. This setting allows a service that runs under the account to assume a client's identity and authenticate as that user to other remote servers on the network.
UserAccountControl values
<script type="text/javascript"> loadTOCNode(2, 'moreinformation'); </script> These are the default UserAccountControl values for the certain objects:
Domain controller : 0x82000 (532480)
Workstation/server: 0x1000 (4096)
发表评论
文章已被作者锁定,不允许评论。
-
求oracle11g和10g 双机热备文档
2010-12-17 22:13 1563项目来了,,需求下来,,怕赔不起,,决定用热备 可怜的我,, ... -
江湖求方案,类似SSO系统的需求
2010-10-16 10:59 1482现有资料,大Boss交代我来弄,说实话,这东东我也不知道怎么 ... -
js array
2010-07-04 11:18 1022zhuan zi http://renxiangzyq.i ... -
Ldap之活动目录之属性
2010-04-22 10:19 1948“常规”标签 姓 Sn 名 Givename ... -
Ldap之活动目录介绍三
2010-04-22 10:12 1256安装第二台域控制器 在安装完第一台域控制器后其域名为 n ... -
Ldap之活动目录介绍二
2010-04-22 10:10 1315运行 Active Directory 安 ... -
Ldap之活动目录介绍一
2010-04-22 09:43 2680最近一直在做java通过Ldap去操作活动目录数据的东东,过程 ... -
我迷茫,我应该怎么走。望各位JE大哥指点!
2010-03-26 09:56 1703小弟六月毕业,在学校还算好学生,从大二起接触编程,,那时的编程 ... -
xp桌面回收站恢复
2010-02-21 19:14 866开始-运行gpedit.msc-本地计算机策略-用户配 ... -
MyEclipse7.5注册机
2010-01-25 17:29 959首先感谢提供源码的那位大牛,我只是做成了exe执行文件而已 -
DSA和RSA算法的差异
2009-11-20 19:13 15961978年就出现了这种算法 ... -
仿Google自动补全 jquery
2009-11-20 16:40 2878应大家要求,发一个包,方便大家使用,有问题欢迎e-mail : ... -
对称加密的两种方式
2009-11-18 22:33 1888对称加密,这东东现在 ... -
java简单对象池
2009-11-10 20:53 3979在项目中用到,自己写了个对象池的管理(创建、保留、获取),那种 ... -
仿Google自动补全 jQuery 不含索引处理 2
2009-11-08 14:39 1080Servlet。。。。。。。。。。。。。。。。。 pu ... -
仿Google自动补全 jQuery 不含索引处理
2009-11-08 14:29 1349自动补全 1. 页面有一个文本框,一个自动提示层,一个按 ... -
Java数据库通用查询及封装
2009-11-08 13:54 6284Java数据库通用查询及封装 时常在网上看到,有关Java数据 ... -
Java实现快排的算法
2009-10-14 22:28 2954Java实现快排的算法 public class Quick ... -
Collection List Set Map 区别记忆
2009-10-13 20:15 933一篇对Java集合讲解不错的文档,不是我写的,转过来和大家分享 ... -
List Set Map实现机制
2009-10-13 20:07 1900List接口对Collection进行 ...
相关推荐
SELECT sAMAccountName, name, mail, DisplayName FROM 'LDAP://DC=jtc,DC=ad,DC=jtcsoft' WHERE objectClass='user' and objectCategory='person' and ('userAccountControl:1.2.840.113556.1.4.803:'<>2) ORDER BY...
标题 "LDAP Weblogic和AD之间的通信" 涉及到的是如何使用轻量级目录访问协议(Lightweight Directory Access Protocol, LDAP)在Weblogic服务器与活动目录(Active Directory, AD)之间建立通信,以实现身份验证和...
7. 用户账户控制(UserAccountControl, UAC)属性:"UserAccountControl属性说明.txt"会详细解释这个属性在AD中是如何控制用户账户状态的,如是否启用、密码是否过期等。 8. 密码认证:"Using LDAP for Password ...
- `userAccountControl`:用户账户控制。 - `userPrincipalName`:用户主体名称。 - `distinguishedName`:唯一名称。 - `whenChanged`:最后修改时间。 - `whenCreated`:创建时间。 - `pwdLastSet`:密码最后设置...
disable_changes = {'userAccountControl': [(ldap3.MODIFY_REPLACE, [514])] } enable_changes = {'userAccountControl': [(ldap3.MODIFY_REPLACE, [512])] } conn.modify('cn=John Doe,ou=Users,dc=example,dc...
微软为管理员提供了多种工具和技术来创建、配置和管理用户账户,其中之一就是通过ADSI(Active Directory Service Interfaces,活动目录服务接口)。ADSI允许管理员以编程方式与目录服务交互,包括Windows操作系统中...
- **设置UserAccountControl标志**:控制用户账户的状态和行为。 - **启用用户账户**:启用一个被禁用的用户账户。 - **禁用用户账户**:禁用一个用户账户。 - **解锁用户账户**:解锁因密码错误次数过多而被...
- 所有的UserAccountControl标志(all UserAccountControl flags)。 - 启用用户账户(enable a user account)。 - 禁用用户账户(disable a user account)。 - 解锁用户账户(unlock a user account)。 - 重置用户...
用户账户控制(User Account Control, UAC)是Windows操作系统中用于增强系统安全性的一组功能。UAC属性用以定义用户账户的权限和能力,例如账户是否被禁用、是否需要密码、是否为域控制器账户等。文档中列出的UAC位...
### 用户账户控制(UserAccountControl)位值 用户账户控制(UAC)是Windows系统用来增强安全性的一个机制,它通过定义用户账户的特权和行为来控制用户如何与系统交互。在文档中,UAC的位值被用于DSQuery命令来筛选...
日志示例示例: 2015/06/26 10:46:06 Student FirstName LastName, CurrentGrade not found in LDAP Search 启用帐户时,属性useraccountcontrol设置为512 ,禁用帐户时,属性切换为514 。 这些属性来自Active ...
例如,要查找所有状态为“禁用”的用户,你可以设置filter为"(userAccountControl:1.2.840.113556.1.4.803:=2)"。 在压缩包文件中,"readme.txt"通常是提供关于软件的使用指南或注意事项的文档,可能包含安装步骤、...
LDAP(轻量目录访问协议)是一种用于集中管理用户身份验证信息的协议。为了更好地管理和控制 NAS 系统的用户,如分组和设置权限等,需要配置并启用 LDAP 协议。 - 在 Web 配置界面中选择 `Services` 标签页,然后...
11.1.2 User Account Components 312 11.1.3 User Management Tools 313 11.1.4 User Management Files 313 11.2 Managing Users and Groups 314 11.2.1 Starting the Solaris Management Console 314 11.2.2 Adding...