Hello Everyone,
I just got Openfire installed and that was a major hassle, as I used the .deb package (Running on Debian 5.0 Lenny) but it installed the files under /etcopenfire but only a couple. In order for it to work I had to get the tar files and copy them over raw into the /usr/bin/openfire cretaing two different openfire.xml files. No big deal as it is running now and connected to mysql database.
the issue is when we try to connect it to Microsoft Windows 2003 Active Directory it authenticates successfully and moves on to the “User Mapping” were it fails with the following error:
Test: User Mapping
A
random profile is selected for you to review. Bold fields with no value
mean that an error may have been found. To view another profile click
‘Next random profile’. When you are finished close this window.
Status: Error
No users were found using the specified configuration. Try changing the base DN, user filter or username field.
In the webGUI the “Username Field:” is set to “uid” and the “User Filter:” is left blank. I have tried numberous combinations on the “BaseDN:” under the “Connection Settings:” Here is the basic line I add to get authetication:
ou=state, dc=xyz, dc=com
The above ou=state is not the actual ou it is just based off the state the branch office is in, which we only have one now. The dc=xyz is not the actual name used but it is a single line with no spaces or periods.
Here is our openfire.xml file after i skipped using LDAP / Active Directory and went with the “default” settings
<?xml version="1.0" encoding="UTF-8"?> 9090 9091 en org.jivesoftware.database.DefaultConnectionProvider com.mysql.jdbc.Driver jdbc:mysql://servername:3306/openfire dbusername dbpassword select 1 true true 5 25 1.0 true
Is there anything I can add manual to get the Openfire application to pull the Active Directory users though editing the openfire.xml file or does it have to be through the WebGUI?
If I can edit the openfire.xml file does anyone have an example of a fully functional openfire.xml file i can use as a template?
If not then how in the world do I get this to communicate with the Active Directory server to find users and add them?
I have search the forums all day only to find references to things such as:
(&(objectClass=organizationalPerson)(memberOf=cn=IM,dc=domain,dc=com))
However I don’t understand where this type of information is suppose to go?
Any and all suggestions are welcomed with open eyes, PLEASE help because the Net Admin and myself are at our wits end trying to get this working and we really want to use this software!
Thank you!