summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 92d31c9)
raw | patch | inline | side by side (parent: 92d31c9)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 29 Feb 2008 11:25:41 +0000 (11:25 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 29 Feb 2008 11:25:41 +0000 (11:25 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9211 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/admin/systems/services/ldap/class_goLdapServer.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/systems/services/ldap/class_goLdapServer.inc b/gosa-plugins/goto/admin/systems/services/ldap/class_goLdapServer.inc
index c16df038783d3f3dbc0a471892dfc3a8ce553b2e..fb9ce333817178a39de6d4fc515cadf887578d22 100644 (file)
if(empty($this->goLdapBase)){
$message[] = _("The given base is empty or contains invalid characters.");
}
+ if(!preg_match("/^ldap[si]?:\/\/[^\/]+\/.+$/", $this->goLdapBase)){
+ $message[] = _("Not in URI format.");
+ }
return($message);
}