You could .....
- host your openfire directory in MYSQL rather than the embedded database (just install MySQL on the OpenFire server)
- ldifde -f output.txt -r "(objectclass=user)" -l "sAMAccountName" --> outputs your entire active directory usernames to a file
- open output.txt in excel and filter out usernames
- create a MYSQL query to create all openfire users with the password that you require --> All users in the query will be created with whatever password you put in the query.
I don't have the query to do this at the moment but it shouldn't be hard to figure out if you use phpMyAdmin.