powered by Jive Software

Add LDAP Administrator

Hi,

I’m having a problem with setting up OpenFire with Windows 2000 AD.

I have managed to connect to the BaseDN and the groups/users map properly, but I am then asked to: Choose one or more users from your LDAP directory to be administrators by entering their usernames.

There is no explanation of what format to enter the users. I have tried just the names, the full distingushed name and the display names.

Any other Ideas??

Thanks

Andrew

Update:

I have now managed to get the install to accept names, but when testing them they all fail.

Thanks

Andrew

Update 2:

Figured out why I couldn’t add users! I had changed the name field from “sAMAccountName” to “principalUserName” so it didn’t pickup machine accounts. Changed it back and it now works. However when selecting “Save and Continue” I get the following error message:

HTTP ERROR: 500

INTERNAL_SERVER_ERROR

RequestURI=/setup/setup-finished.jsp

Caused by:

java.lang.NullPointerException

at org.jivesoftware.openfire.admin.setup.setup_002dfinished_jsp.jspService(setup 002dfinished_jsp.java:74)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)

at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1093)

at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:11 8)

at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)

at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1084)

at org.jivesoftware.util.LocaleFilter.doFilter(LocaleFilter.java:65)

at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1084)

at org.jivesoftware.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingF ilter.java:41)

at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1084)

at org.jivesoftware.admin.PluginFilter.doFilter(PluginFilter.java:69)

at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1084)

at org.jivesoftware.admin.AuthCheckFilter.doFilter(AuthCheckFilter.java:98)

at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1084)

at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)

at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)

at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)

at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)

at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)

at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollect ion.java:211)

at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)

at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)

at org.mortbay.jetty.Server.handle(Server.java:313)

at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)

at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.j ava:830)

at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)

at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)

at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)

at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)

at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)

Update 3:

Not sure what the server error was but after restarting the server and running through the setup again, it all worked.

However, when attempting to login I was told the password was incorrect. Knowing that I had tested the connections in the setup I knew it was all correct. I checked the openfire.xml file to discover that it had stored the LDAP password inccorectly.

rather than encoding a ‘greater than’ sign as:

‘& gt ;’

it encoded it as:

‘& amp ; gt ;’

Spaces added to correctly show in this post.

After I corrected it, all logins worked fine.

Where is the best place to report a bug?

Thanks

Andrew

Hi Andrew,

this is a known bug, JM-1193 - you may want to create a JIRA account and vote for it.

Take a look at Ignite Process for Community Bug Reporting & Patches.

LG