Need Help with Openfire + LDAP and showing all users

Hi All,

Hope someone can help me with a small issue i am having, i have searched like crazy but to no extent on finding a solution and spend more than 2 days fiddling and stuff. Here is my setup and issue it is fairly simple.

Openfire 3.8 on Windows servers 2003 in a Domain.

Openfire is connected to AD i see my users!

I have created a Group and put it in the USERS container and Openfire can see the Group and Users in the group (Admin consol)

(Setup is very basic all seems to be okay i am able to log into openfire using my user and a test user i see them online in admin)

Chat client can invite each other and the 2 users work fine!

What i would like to have is that when the user log’s in he can see ALL the users of the company / AD. At the momment, the jabber client does not see anyone. i have verified the the jabber client settings to make sure it displays offline users. i have tried 2 different chat clients / Spark / Pigin. (same issue for bolth)

Somethign is missing i guess from admin consol for the users to show. I have installed Openfire one time in LINUX and created manually all the users and groups which worked fine about 5 years ago. This is the first time i try it in a “Windows” enviroment and let me tell you i am beggining to get frustrated!!! LOL (Sorry That’s the Evil TUX speaking)

Thank you for all your help, if you need any info please just ask i will provide!

Hi Michael,

I think all you should have to do is go to your openfire admin console and enable contact shaing on the Domain Users group.

http://server:9090/group-edit.jsp?group=Domain+Users

B

Hi B,

Thanks, The link you posted doesnt seem to open

When i try to enable the List roster share Jetty spits:

HTTP ERROR 500

Problem accessing /group-edit.jsp. Reason:

Server Error

Caused by:

java.lang.UnsupportedOperationException     at java.util.AbstractMap.put(Unknown Source)     at org.jivesoftware.openfire.admin.group_002dedit_jsp._jspService(group_002dedit_jsp.java:164)     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)     at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547)     at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1359)     at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)     at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)     at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1330)     at org.jivesoftware.util.LocaleFilter.doFilter(LocaleFilter.java:74)     at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1330)     at org.jivesoftware.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:50)     at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1330)     at org.jivesoftware.admin.PluginFilter.doFilter(PluginFilter.java:78)     at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1330)     at org.jivesoftware.admin.AuthCheckFilter.doFilter(AuthCheckFilter.java:164)     at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1330)     at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:478)     at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)     at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:520)     at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)     at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:941)     at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409)     at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)     at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:875)     at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)     at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250)     at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)     at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)     at org.eclipse.jetty.server.Server.handle(Server.java:349)     at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441)     at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:919)     at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:582)     at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:218)     at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:51)     at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:586)     at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:44)     at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598)     at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533)     at java.lang.Thread.run(Unknown Source)

thanks for your help

Hi Michael,

You can navigate by logging in to your server’s admin panel clicking on Users/Groups, click on Groups and then type Domain Users in the search by name box.

From there enable contact list group sharing. If you can’t find the group, you probably need to modify the search base or create a group in the search base parameter. If you need further help, please post your BASE DN from your LDAP settings.

B

I just found this…

http://community.igniterealtime.org/thread/49366

doesntg make much sense though cause i JUST downloaded 3.8

The 3.8.0 does have a bug in it that causes issues with groups. I updated to the 3.8.1 Alpha to work around it.

B

Here is my Base DN: Base DN: OU=“Active”,OU=“Users”,OU=“Interfacing”,DC=“interfacing”,DC=“local”

When i try to enable the group list it crashes

Where can i DL this 3.8.1? I found the nightly builds but that is still 3.8.0 =(

http://www.igniterealtime.org/downloads/nightly_openfire.jsp

i went to that link! Downloaded the Latest build.

Binary Builds

                    [<img border="0" height="16" src="http://www.igniterealtime.org/images/icon_zip.gif" width="17">](http://www.igniterealtime.org/images/icon_zip.gif)                        openfire_2013-02-28.zip  February 28, 2013                                                                9.84 MB

Unzipped it and copied my old config folder to the new path but still the same issue

Are you sure you’re running the nightly build after you copy your config?

Humm i guess i wasnt but when i went back to the server and launched the \bin\openfire.bat it seem to have started and i closed the windows to go look for the service and it seemed to have crashed my server

Okay yeh scratch that! the 3.8.0 installer crerated all kinds of .exe and services and i was runnign the old version.

Just launched the 3.8.1 alpha bat and its up Sweet working!!!

thanks B and dave

np - can you mark this as answered?

Hi BC,

Your 3.8.1 Alpha is it running on windows? If yes can you point me in a direction on how to install the BAT as a Service in windows? i can not seem to locate any info excep the openfire-service /install /unistall but those files only seem to be packaged in the installer package. I tried copying the files over but the service installer does the job which doesnt seem to work.

Thanks