Novell Home

Another Way to Manage AD's "Account is Disabled" Attribute

Novell Cool Solutions: Trench
By Glen Knutti

Digg This - Slashdot This

Posted: 24 May 2004
 

In a related article, "Account is Disabled" Attribute, we (and a few of our friends) dealt with ways to modify this Active Directory attribute via Nsure Identity Manager. Here's another take on that process:

Problem

Posted tip '"Account is Disabled" Attribute' can be optimized.

Solution

Put this stylesheet in the Output Transform.

<?xml version="1.0" encoding="UTF-8"?.>
<xsl:stylesheet version="1.0" 
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:strip-space elements="*"/>
    <xsl:output indent="yes" method="xml"/>
    <xsl:template match="@*|node()">
        <xsl:copy>
            <xsl:apply-templates select="node()|@*"/>
          </xsl:copy>
     </xsl:template>
    <xsl:template match="modify/modify-attr[@attr-name='userAccountControl']/remove-value"/>
</xsl:stylesheet>


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell