Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


April 19, 2004

Access Denied: Viewing Hidden Permissions for Individual Properties

RSS
Subscribe to Windows IT Pro | See More Microsoft Management Console (MMC) Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

In "Setting Active Directory Property Permissions," July 2000, InstantDoc ID 9187, you explained how to use dssec.dat to expose hidden permissions for individual properties. I need to edit the values of some properties that Active Directory (AD) defines for user objects but that don't appear in the Microsoft Management Console (MMC) Active Directory Users and Computers snap-in. For example, AD defines a property for Social Security number, but no corresponding field appears in the user's property sheet. Can I use the GUI to view some of these properties? Can I expose a property so that it shows up as an additional tab in the Active Directory Users and Computers snap-in?

As you know, the Active Directory Users and Computers snap-in doesn't expose all permissions for each user-object property. As a result, the granularity with which you can delegate access to subadministrators is limited.

For example, when you look at a user object's Advanced Security Settings dialog box, you don't see an entry for lockoutTime, which is the field to which you must have write access if you want to unlock a user account. You can edit dssec.dat so that fields that by default are hidden show up in the advanced permissions dialog box. However, dssec.dat has no effect on which properties the Active Directory Users and Computers snap-in displays data entry fields for. The fields you see when you open a user object are hard-coded.

To read or write to other properties, you need to write a script that uses Microsoft Active Directory Service Interfaces (ADSI) or the Lightweight Directory Access Protocol (LDAP) Data Interchange Format (LDIF) Directory Exchange (Ldifde) utility. Ldifde lets you use a simple text file and command-line parameters to import objects to and export them from AD. For more information about Ldifde, see "The LDIF Directory Exchange Tool," June 2003, InstantDoc ID 38947.

End of Article



Reader Comments

You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
Kon-Boot Lets You Bypass Logon for Windows and Linux

Kon-Boot looks like a very interesting tool since it can get you into a system without having to logon first. ...

Google to Take On Windows with New OS

It's official: Google will compete head-to-head with Microsoft's dominant Windows OS with a new system called Google Chrome OS. Based on the Google Chrome browser and not its previous OS effort, the smart phone-based Android system, Google Chrome OS will ...

Q. How can I continually check a performance counter from Windows PowerShell?

...


Security Whitepapers Sustainable Compliance: How to reconnect compliance, security and business goals

The Impact of Messaging and Web Threats

Why SaaS is the Right Solution for Log Management

Related Events Security Summit

Concrete Ways to Make Sure Your SharePoint Deployment Doesn't Blow Up

Top 10 Email Security Challenges and Solutions

Check out our list of Free Email Newsletters!

Security eBooks Spam Fighting and Email Security for the 21st Century

Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

Related Security Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format

Test Drive IT Solutions and Get Free Music Downloads
Solve your toughest IT problems with these free downloads and receive 5 free music downloads!


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement | Reprints and Licensing