I am trying to install Openfire with LDAP integration. Our users are split into different OU structures for different areas of the company so I have set the base DN to be dc=domain,dc=parentdomain,dc=co,dc=uk And I am able to connect and query.
The isseu is I am getting objects returned that do not have {cn} or {mail} attributes when I test the settings. I figured the best Idea would be to filter where the email address is not null as only users with mail addresses will be using the service but I am not sure of the correct filter.
I would appreciate if somone can lend a hand with this.
I have tried the query you have given and it is sucessful in only returning users but it still returns users that show no name or email information when I test the query.
I have got a workaround by filtering members that ore only in a particular group with the query
However for future expansion I like to be able to return all users that have name and email details and arent in a particular group. That way I can give access glabally and restrict the few people who I don’t want to give access to.
It is the returning users that have no email address that is causing me issues.
I have tried this and it returns only users however the first few records returned have no name or email. Then it starts with the A records. I am thinking this is perhaps a ghost in the machine with my ActiveDirectory.