Gato,
Thanks for your response.
I am running version 3.3.3 now.
I’ve made my Active Directory account a member of 22 groups (some security, some distribution). About 10 minutes later, my group changed to None.
error.log -
2007.09.25 10:02:12 [org.jivesoftware.openfire.ldap.LdapGroupProvider.getGroupNames(LdapGroupProvid er.java:386)
] Error getting groups for user: timur.shevekhman @ companyname.com
javax.naming.NamingException: [LDAP: error code 1 - 000020EF: SvcErr: DSID-020A0B12, problem 5012 (DIR_ERROR), data -1017 ]; remaining name ‘’ at com.sun.jndi.ldap.LdapCtx.mapErrorCode(Unknown Source) at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source) at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source) at com.sun.jndi.ldap.LdapCtx.searchAux(Unknown Source) at com.sun.jndi.ldap.LdapCtx.c_search(Unknown Source) at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(Unknown Source) at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(Unknown Source) at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(Unknown Source)
debug.log -
2007.09.25 10:02:10 Creating a DirContext in LdapManager.getContext()…
2007.09.25 10:02:10 Created hashtable with context values, attempting to create context…
2007.09.25 10:02:10 … context created successfully, returning.
2007.09.25 10:02:11 Creating a DirContext in LdapManager.getContext()…
2007.09.25 10:02:11 Created hashtable with context values, attempting to create context…
2007.09.25 10:02:11 … context created successfully, returning.
2007.09.25 10:02:12 Trying to find a user’s DN based on their username. sAMAccountName: timur.shevekhman, Base DN: ou=Corporate,dc=domainname,dc=com…
2007.09.25 10:02:12 Creating a DirContext in LdapManager.getContext()…
2007.09.25 10:02:12 Created hashtable with context values, attempting to create context…
2007.09.25 10:02:12 … context created successfully, returning.
2007.09.25 10:02:12 Starting LDAP search…
2007.09.25 10:02:12 … search finished
2007.09.25 10:02:12 Creating a DirContext in LdapManager.getContext()…
2007.09.25 10:02:12 Created hashtable with context values, attempting to create context…
2007.09.25 10:02:12 … context created successfully, returning.
2007.09.25 10:02:12 Trying to find group names for user: timur.shevekhman @ companyname.com using query: (&(&(cn=*)(&(objectClass=group)(memberOf=CN=OpenfireUsers,OU=Security Groups,OU=Corporate,DC=domainname,DC=com)))(member=CN=“Timur Shevekhman”,OU=“All Domain Users”,ou=Corporate,dc=domainname,dc=com))
2007.09.25 10:02:14 session 37 timeout
2007.09.25 10:02:14 session 37 sent message PNG
I tried running the LDAP query in italic against my Active Directory (using Active Directory Users and Computers snap-in) and did get the correct groups, so it looks like the query created by Openfire is correct.
Not sure if I can do debugging. I have a ton of errors in the project (I used NetBeans and checked out the project from svn), probably because I am missing dependencies, etc, and I wouldn’t know one thing about how to fix them given the size of this project.