I started to use AD in order for all of my staff to have a single login for all of the applications.
So, first i tried to use the wizard, but i gave up on that, so i tried to edit the config manually, and i could actually login. Unfortunantly when i restarted the openfire server it erased mostly of my ldap variables and I don’t remember them… This was really annoying, so tried to refill the file, and it keeps deleting the content i’m adding, which is very annoying.
Then i decided to start all over, and I reached the page with the user mapping settings:
What I found that worked for us was a post that had a lot of LDAP basic data. I am using Linux for the Open Fire server so I got a copy of ldapsearch to try to figure this out. THey requirement was to have only a single group have access to the server for IM.
Using the provided name of the group and the LDAP user for search I ended up with and LDAP line for the ldap.searchFilter of:
They way I understand this all working, as I am not even an LDAP newbie level, is that the members of the IM group are restricted to use Spark. The rest of it, OU and DC are part of the server setups.
When I ran an ldapsearch with just DC=my,DC=com then it dumped out everything in the LDAP domain including proper contexts for everything including lost of memberOf: lines. I just dug through the long output to keep getting more specific until I got the one like above.
I think you need an OU setting before CNs. Look at the LDAP settings for the “useradm” account and find the memberOf line. That is a lot of what I had to do to get ours to work.
Thanks for your appriciated assistance so far, but I’m still out of luck, it doesn’t find anything. Maybe I’m using a bad username field? I’m just using the sAMAccountName but i got no idea if that’s the actual field, and I have no idea of the search field either How can i find those?