From: hickert Date: Thu, 29 Jul 2010 13:55:16 +0000 (+0000) Subject: Updated object handling, special chars in obejct dns X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=417c910b817e1b9676e7f98264a6aec042227590;p=gosa.git Updated object handling, special chars in obejct dns git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19277 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/gofon/gofon/conference/tabs_conference.inc b/gosa-plugins/gofon/gofon/conference/tabs_conference.inc index 35038a579..3527ab293 100644 --- a/gosa-plugins/gofon/gofon/conference/tabs_conference.inc +++ b/gosa-plugins/gofon/gofon/conference/tabs_conference.inc @@ -22,7 +22,9 @@ class conferencetabs extends tabs function save($ignore_account= FALSE) { $baseobject= $this->by_object['conference']; - $new_dn= 'cn='.$baseobject->cn.','.get_ou("conference", "phoneConferenceRDN").$baseobject->base; + $cn = preg_replace('/,/', '\,', $baseobject->cn); + $cn = preg_replace('/"/', '\"', $cn); + $new_dn= @LDAP::convert('cn='.$cn.','.get_ou("conference", "phoneConferenceRDN").$baseobject->base); if(strtolower($this->dn)==strtolower($new_dn)){ $this->dn=$new_dn;