Active Directory Groups

I have set up Openfire 3.6.4 with Spark IM, and I’m pulling users and groups via active directories. Right now all Users and Groups in Active Directories are pulled Is there a way to pull users and groups by selection? If so, how?

yes, you can use ldap filters to filter out things you doing want

for example,

you can set up your groups and then use a filter like this

lets say your groups start with Openfire_, then you can use this as a group filter

(objectClass=group)(cn=Openfire_*)

This is my AD filter user filter. If removes computer accounts, system accounts, disabled users, and contacts. It also uses users that have an email address

(objectclass=person)(mail=*)(!(objectclass=computer))(!(objectclass=contact))(!( cn=SystemMailbox))(!(cn=IUSR))(!(cn=IWAM))(!(userAccountControl:1.2.840.11 3556.1.4.803:=2)))

Hope this helps