Difference between revisions of "Active Directory"

From OpenKM Documentation
Jump to: navigation, search
m
Line 1: Line 1:
 
== Configuration ==
 
== Configuration ==
* [[Active Directory OpenKM 5.0| OpenKM 5.0]] [[File:Padlock.gif]] ( valid for upper versions )
+
* [[Active Directory OpenKM 5.0| OpenKM 5.0]] [[File:Padlock.gif]] ( valid for more recent versions )
 
* [[Active Directory OpenKM 4.1| OpenKM 4.1]] [[File:Padlock.gif]] ( valid for older versions )
 
* [[Active Directory OpenKM 4.1| OpenKM 4.1]] [[File:Padlock.gif]] ( valid for older versions )
  
== Enable debug at login process ==
+
== Enable debug on login process ==
It's good practice enable login debug when you make any change in autentication mechanism. Edit the file /server/default/conf/jboss-log4j.xml and add the category ( remember you must restart jboss to it takes effect ):
+
It's good practice to enable login debugging when you make any change to the authentication mechanism. Edit the file /server/default/conf/jboss-log4j.xml and add the category ( remember you must restart jboss for it to take effect ):
 
<source lang="xml">
 
<source lang="xml">
 
<category name="org.jboss.security">
 
<category name="org.jboss.security">
Line 32: Line 32:
  
 
== Active directory utilities ==
 
== Active directory utilities ==
We recommend take a look at these tools:
+
We recommend to take a look at these tools:
 
* [http://directory.apache.org/studio/ Apache Directory Studio]
 
* [http://directory.apache.org/studio/ Apache Directory Studio]
 
* [http://technet.microsoft.com/en-us/sysinternals/bb963907.aspx Active Directory Explorer Utility]
 
* [http://technet.microsoft.com/en-us/sysinternals/bb963907.aspx Active Directory Explorer Utility]

Revision as of 13:34, 14 November 2011

Configuration

Enable debug on login process

It's good practice to enable login debugging when you make any change to the authentication mechanism. Edit the file /server/default/conf/jboss-log4j.xml and add the category ( remember you must restart jboss for it to take effect ):

<category name="org.jboss.security">
    <priority value="TRACE" class="org.jboss.logging.XLevel"/>
</category>

or

<category name="org.jboss.security">
    <priority value="TRACE" class="org.jboss.logging.XLevel"/>
    <appender-ref ref="SECURITY_F"/>
</category>

<appender name="SECURITY_F" class="org.jboss.logging.appender.DailyRollingFileAppender">
    <param name="Append" value="true"/>
    <param name="DatePattern" value="'.'yyyy-MM-dd"/>
    <param name="File" value="${jboss.server.home.dir}/log/jboss.security.log"/>
    <layout class="org.apache.log4j.PatternLayout">
        <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c] %m%n"/>
    </layout>
</appender>

More info at JBoss and JAAS debug.

Active directory utilities

We recommend to take a look at these tools:

See also: