On 2012-01-11 19:49:19 +0100, Roland Gruber said: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi Phil, > > Am 10.01.2012 23:51, schrieb Kraus Philipp: >> I'm using LAM for a long time, it's a great tool. Now I have upgraded >> LAM and my PHP Version (to 5.4.0-rc5) and I get this error message: >> PHP Fatal error: Cannot redeclare hex2bin() in /opt/lam/lib/ldap.inc >> on line 42 > > 5.4.0-rc5 sounds like a non-production release. Maybe there is a bug in > PHP? Does the error say where hex2bin was defined first?
sorry no. I have posted the whole error message. I'm using Gentoo with the unstable portage, but my old version (I don't know the version number) works with the unstable portage. > > >> If I comment out the hex2bin function, the PHP files are working, but I >> can't login because the error: (1) Operations error > > This is probably a different problem because hex2bin is only used to > generate password hashes when you add/edit users. > Please check if you use > > * the right DN to login (e.g. cn=manager/admin,...) > * a valid LDAP server name, especially regarding security options > (ldaps:// and TLS, only one can be active at the same time) > > Please also check if you can use the command line ldapsearch to access LDAP. CLI access works, because I'm using LDAP authentification on the system Phil ------------------------------------------------------------------------------ RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 _______________________________________________ Lam-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lam-public
