* In debug, output the sql queries in italic. Refer to enabling debugging in the FAQ
* Don't include user_info.php3 in the user_test page.
* Make things a little bit more simple in lib/ldap/change_attrs.php3
+* Fix a small bug in lib/ldap/create_user.php3. Unset the mod array before adding any values to it.
Ver 1.61:
* Add a string encoder for greek
* If general_decode_normal_attributes is set then encode attributes in lib/ldap/change_info. In the near future
$passwd = da_encrypt($passwd);
$passwd = '{' . $config[general_encryption_method] . '}' . $passwd;
$mod[$attrmap['User-Password']] = $passwd;
- if ($config[ldap_debug] == 'true')
+ if ($config[ldap_debug] == 'true'){
print "<b>DEBUG(LDAP): ldap_mod_replace(): DN='$dn'</b><br>\n";
print "<b>DEBUG(LDAP): ldap_mod_replace(): Data:";
print_r($mod);
continue;
if ( $$attrmap["$key"] == '')
continue;
+ unset($mod);
$mod[$attrmap["$key"]] = $$attrmap["$key"];
if ($config[ldap_debug] == 'true'){