I've some problem with captcha 5.x-3.1 with ldap users provisioning module (5.x-1.x-dev):
captcha works everywhere, but for form_id user user_register captcha does not appears... In other form_ids like user_login or user_pass, captcha works perfectly.
If I disable ldapprov, captcha appears again...
Is needed an hack to make captcha+ldapprov work?!
Drupal version's 5.9 on LAMP environment.
Regards,
-f
Comments
Comment #1
soxofaan commentedI'm don't have LDAP in my toolbox, so I can't really test this.
But from skimming trough the source code, it appears that ldap_provisioning tries to interact with the CAPTCHA module by reading and writing directly from/in the captcha_point table:
This is however not compatible with how the CAPTCHA module (5.x-3.x and 6.x-1.x) uses the captcha_point table
for example, this is how the CAPTCHA module check if a CAPTCHA should be added to a form:
and this is how the CAPTCHA module disables or enables a CAPTCHA on a form:
This should be fixed in ldap_provisioning.
Comment #2
rosseba commentedstefaan,
thanks for your reply.
sorry but I'm not a PHP guru or so :-( : suggest to me contact directly ldap_provisioning mainteiner and ask directly with him about this trouble?
regards,
-f
Comment #3
davea commentedI can confirm this issue in the same environment.
DaveA
Comment #4
rosseba commentedI've just update to 5.x-1.0-alpha1 version of module: issue still persist... :-(
Any news about it?!
Thanks,
-f
Comment #5
miglius commentedThe code in ldap_provisioning perfectly works with the captcha module. I guess that this is a configuration issue.
To enable captcha in the ldap provisioning:
1. go to ldap provisioning configuration "admin/settings/ldapprov" and enable captcha by selecting "Use captcha in the registration form.".
2. Go to captcha configuration page "admin/user/captcha" and there you will see a row with a form id "ldapprov_register". Go on and enable it.
That's it. The captcha should appear in the ldap provisioning registration form.
Comment #6
rosseba commentedmiglius,
you're right: now it's works...!
thank you for the tip!
-f
Comment #7
miglius commentedComment #8
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.