Title: mcrypt_decrypt()
Last modified: August 30, 2016

---

# mcrypt_decrypt()

 *  [Alfrescow](https://wordpress.org/support/users/alfrescow/)
 * (@alfrescow)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/mcrypt_decrypt/)
 * I have two issues
 * 1. When running the URL to import users I get the following error:
 * Warning: mcrypt_decrypt(): Key of size 27 not supported by this algorithm. Only
   keys of sizes 16, 24 or 32 supported in C:\xampp\htdocs\Test\wp-content\plugins\
   active-directory-integration\ad-integration.php on line 3253
 * I’ve looked at this file on line 3253 but have no idea what I need to change 
   it too?
 * 2. When I attempt import users I get the following:
 * [ERROR] Error retrieving group members for group “SG-GroupName”.
 * I can log in with a user who is a member of the SG (and others are blocked) –
   say UserA – and when I attempt to re-run the bulk import I am told the UserA 
   cannot be found in Active Directory.
 * I presume it is trying to run an update on the user that has now been created
   from me logging in with it which is now highlighted as an ADI User.
 * Any ideas on what I am doing wrong?
 * The Security Group is in an OU called Users however I have set the base name 
   up as dc=company,dc=local
 * The import user has been set up and tested correctly
 * I have tried putting the SG and the user in the same OU and running the import
 * I have checked the port number is correct
 * Out of ideas now.
 * Thanks
 * [https://wordpress.org/plugins/active-directory-integration/](https://wordpress.org/plugins/active-directory-integration/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [Alfrescow](https://wordpress.org/support/users/alfrescow/)
 * (@alfrescow)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/mcrypt_decrypt/#post-6302713)
 * for reference if the first issue is not contributing to the second I’m not fussed
   about it, I just need to bulk import all the users.
 * Any ideas on what else I can check?

Viewing 1 replies (of 1 total)

The topic ‘mcrypt_decrypt()’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/active-directory-integration_e2ecae.
   svg)
 * [Active Directory Integration](https://wordpress.org/plugins/active-directory-integration/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/active-directory-integration/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/active-directory-integration/)
 * [Active Topics](https://wordpress.org/support/plugin/active-directory-integration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/active-directory-integration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/active-directory-integration/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [Alfrescow](https://wordpress.org/support/users/alfrescow/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/mcrypt_decrypt/#post-6302713)
 * Status: not resolved