• LDAP question

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #1550  by Jerry
 
Hi,

I have tried 4 days to link my company\'s LDAP, Microsoft AD. It dosen\'t work.

Could someone help me, please.

The only modification is the file \"login_config.xml\", right?

The syntax:


<application-policy name=\"OpenKM\">
<authentication>
<login-module code=\"org.jboss.security.auth.spi.LdapExtLoginModule\" flag=\"required\" >
<module-option name=\"java.naming.provider.url\">ldap:ad01.mydomain.com:389</module-option>
<module-option name=\"bindDN\">CN=Administrator,OU=Users,DC=mydomain,dc=com</module-option>
<module-option name=\"java.naming.security.authentication\">simple</module-option>
<module-option name=\"bindCredential\">admin_password</module-option>
<module-option name=\"baseCtxDN\">ou=my_department,dc=mydomain,dc=com</module-option>
<module-option name=\"baseFilter\">(sAMAccountName={0})</module-option>
<module-option name=\"rolesCtxDN\">ou=my_department,dc=mydomain,dc=com</module-option>
<module-option name=\"roleFilter\">(sAMAccountName={0})</module-option>
<module-option name=\"roleAttributeID\">memberOf</module-option>
<module-option name=\"roleAttributeIsDN\">true</module-option>
<module-option name=\"roleNameAttributeID\">cn</module-option>
<module-option name=\"roleRecursion\">-1</module-option>
<module-option name=\"searchScope\">SUBTREE_SCOPE</module-option>
<module-option name=\"defaultRole\">UserRol</module-option>
</login-module>
</authentication>
</application-policy>
 #1551  by Jerry
 
Hi,

The Syntax is right. It can work now.
 #1554  by jllort
 
Remember always must restart jboss when you change longin-config.xml
 #1559  by phillman5
 
Ok, so I am a Newbie,

I got OpenKM running, how do you stop it and JBoss?
 #1596  by pavila
 
$JBOSS_HOME/bin/shutdown.sh or simply CTRL+C in the terminal you have started JBoss (OpenKM).

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.