summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 271561e)
raw | patch | inline | side by side (parent: 271561e)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 15 Feb 2008 10:35:30 +0000 (10:35 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 15 Feb 2008 10:35:30 +0000 (10:35 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8930 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/dfs/addons/godfs/class_dfsgeneric.inc | patch | blob | history |
diff --git a/gosa-plugins/dfs/addons/godfs/class_dfsgeneric.inc b/gosa-plugins/dfs/addons/godfs/class_dfsgeneric.inc
index 12a2ed2df6554f4cbc9744d280b1d99194a50d45..78156392ae3c9d3f8a42c15a75234b2f9223785c 100644 (file)
$this->fileserver = preg_replace("/msdfs:/", "", $tmp[0]);
$this->share = preg_replace("/\\\/", "", $tmp[1]);
- #var_dump($this->dn);
- #echo "<BR>\n";
-
/* Fill array */
- #$this->reload();
$smarty->assign("sambasharename", $this->sambasharename);
$smarty->assign("sharedescription", $this->sharedescription);
$smarty->assign("fileserver", $this->fileserver);
/* Show main page */
return ($smarty->fetch (get_template_path('generic.tpl', TRUE)));
- #, dirname(__FILE__))));
}
function check()
$ldap = $this->config->get_ldap_link();
if ($this->dn == "new" || $this->dn == "") {
- echo "new<br>\n";
$base = get_base_from_people($this->ui->dn);
$ou = get_ou("DFS");
$this->basedn = "sambaShareName=$this->sambasharename,ou=$this->loc,$ou$base";
}
}
- function save_object() {
- #if (isset($_POST['base'])) {
- plugin::save_object();
- #echo "base = ".$_POST['base']."<br>\n";
- #}
-# if (chkacl($this->acl, "create") == "") {
- $this->base = $_POST['base'];
-# }
- }
+ function save_object() {
+ plugin::save_object();
+ $this->base = $_POST['base'];
+ }
function delete() {
$base = get_base_from_people($this->ui->dn);
$ou = get_ou("DFS");
$this->basedn = "sambaShareName=$this->sambasharename,ou=$this->loc,$ou$base";
- echo "BASEDN: $this->basedn<br>\n";
$ldap = $this->config->get_ldap_link();
$ldap->cd($this->basedn);