summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b21c0eb)
raw | patch | inline | side by side (parent: b21c0eb)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 19 Oct 2007 12:24:37 +0000 (12:24 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 19 Oct 2007 12:24:37 +0000 (12:24 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7599 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_password-methods-heimdal.inc | patch | blob | history | |
plugins/admin/devices/class_deviceGeneric.inc | patch | blob | history |
diff --git a/include/class_password-methods-heimdal.inc b/include/class_password-methods-heimdal.inc
index f136aa6e02dc309af4fb8ded2a32722446f21b9f..fb087474733e60aaaa6a9c9d91912d88cde436ad 100644 (file)
class passwordMethodheimdal extends passwordMethod
{
+
function passwordMethodheimdal(&$config)
{
$this->config= $config;
{
# Check if heimdal information is available
# in configuration and return true/false
+ #
+ # In particular, we need the hook to feed kadmin
+ #
return true;
}
function set_password()
{
# Add or modify kerberos entry below $this->dn
+
}
diff --git a/plugins/admin/devices/class_deviceGeneric.inc b/plugins/admin/devices/class_deviceGeneric.inc
index f583e3f9e3fd51d9375cafbc44570aaf26a81bf7..46d5821459058351143c7bcd84a02f403ed83e2c 100644 (file)
}
/* Skip serial check if vendor and product id are given */
- if(preg_match("/^[0-9a-z]+$/i",$this->dev_id)){
+ if(preg_match("/^\s+$/i",$this->dev_id)){
$message[]=_("Please specify a valid iSerial.");
}
if(empty($this->serial) || !$this->is_2byteHex($this->serial)){