Cannot store Conf or Sessions in AD (was Storable appears to not work on 64-bit OS)
Having just set up LemonLDAP, I was unable to save my configuration. First, there was an error with LDAP (WILL_NOT_PERFORM, but no further details as to what exactly wouldn't be performed). After forcing that, I got the following:
Request failed Error code: 0,
In my system's /var/log/apache2/error.log, I got this:
[Wed Oct 08 03:24:19.906562 2014] [cgi:error] [pid 31109] [client 50.243.104.101:64396] AH01215: Storable binary image v127.246 more recent than I am (v2.10) at /usr/local/lib/perl/5.18.2/Storable.pm line 420, at /usr/share/perl5/Lemonldap/NG/Common/Conf/Serializer.pm line 159., referer: [removed]
[Wed Oct 08 03:24:19.906616 2014] [cgi:error] [pid 31109] [client 50.243.104.101:64396] End of script output before headers: index.pl, referer: [removed]
[Wed Oct 08 03:24:19.977640 2014] [:error] [pid 31110] Storable binary image v127.246 more recent than I am (v2.10) at /usr/local/lib/perl/5.18.2/Storable.pm line 420, at /usr/share/perl5/Lemonldap/NG/Common/Conf/Serializer.pm line 159.\n
Doing some research, it seems that Storable is known to be unstable, not only between versions and endian-ness, but between architectures as well. Since my server is 64-bit, I would guess that that is the problem, since the numbers involved look very irrational otherwise. Data::Serialiser, YAML, or JSON were recommended as alternatives.