summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 102a700)
raw | patch | inline | side by side (parent: 102a700)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 21 May 2007 09:33:23 +0000 (09:33 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 21 May 2007 09:33:23 +0000 (09:33 +0000) |
Adden logging to password change
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6414 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6414 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_log.inc | patch | blob | history | |
include/class_password-methods.inc | patch | blob | history |
diff --git a/include/class_log.inc b/include/class_log.inc
index e3ec3a513fd594f6a1764e323c6f104a22ec2932..3b8a56c1aac24837cccb12a355c0b8126338769d 100644 (file)
--- a/include/class_log.inc
+++ b/include/class_log.inc
var $LOG_TO_MYSQL = FALSE;
var $LOG_TO_SYSLOG= FALSE;
-
+ var $config;
/*! \brief logging constructor
function log($action,$objecttype,$object,$changes_array = array(),$result = TRUE)
{
global $config;
+ $this->config = $config;
$ui = get_userinfo();
/* Create string out of changes */
index 2755134f11c15115fe7420b9ffada04b9da1afc6..b3c07653d868f7487592a86a72c7b48c412dfab7 100644 (file)
$attrs['userPassword']= array();
$attrs['userPassword']= $newpass;
-
$ldap->modify($attrs);
-
+
+ new log("modify","users/passwordMethod",$dn,array_keys($attrs),$ldap->get_error());
if ($ldap->error != 'Success') {
print_red(sprintf(_("Setting the password failed. LDAP server says '%s'."),