summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4921336)
raw | patch | inline | side by side (parent: 4921336)
author | scheiter <scheiter@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 20 Nov 2006 10:39:28 +0000 (10:39 +0000) | ||
committer | scheiter <scheiter@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 20 Nov 2006 10:39:28 +0000 (10:39 +0000) |
Added "dummy" SASL Class for Password storage
Removed nasty "remove Kerberos account" bug
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5161 594d385d-05f5-0310-b6e9-bd551577e9d8
Removed nasty "remove Kerberos account" bug
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5161 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_password-methods-kerberos.inc | patch | blob | history | |
plugins/personal/generic/class_user.inc | patch | blob | history |
diff --git a/include/class_password-methods-kerberos.inc b/include/class_password-methods-kerberos.inc
index 03d935ac697b5260700fc9624ad1967af9fe080b..2f3173bf30feb868a2121126f462ccb85db7916e 100644 (file)
print_red (_("Kerberos database communication failed!"));
}
- $ret= kadm5_chpass_principal($handle, $this->attrs['uid'][0]."@".$cfg['REALM'],$password);
+ $ret= kadm5_chpass_principal($handle, $this->attrs['uid'][0]."@".$cfg['REALM'],$wd);
if ($ret === FALSE)
{
}
}
+/* Dummy class for OpenLDAP Kerberos/SASL change */
+class passwordMethodsasl extends passwordMethodkerberos
+{
+}
+
// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
?>
index 4117aee961f59e0ffd72c776bfef3880ad82830a..e7c13fefd0ac3d6397a473ce29f20c7cc69f7b71 100644 (file)
/* Ok. User exists. Remove him/her when pw_storage has
changed to be NOT kerberos. */
- if ($this->pw_storage != "kerberos"){
+ if ($this->pw_storage != $this->config->current['KRBSASL']){
$ret= kadm5_delete_principal ( $handle, $principal);
if ($ret === FALSE){