Code

Moved from "1" to "true"
[gosa.git] / html / getldif.php
index 541204607c66b26ee340a12b01e474efadcc4080..21817d1b537157a657d0b2c86a717029fa6b8e0e 100644 (file)
@@ -37,7 +37,7 @@ function dump_ldap ($mode= 0)
        }
        elseif($mode == 4){ // IVBB LDIF Export
        $dn =  base64_decode($_GET['dn']);
-       $display= $ldap->gen_ldif($dn,"(objectClass=ivbbEntry)",array(
+       $display= $ldap->gen_ldif($dn,"(objectClass=ivbbentry)",array(
              "GouvernmentOrganizationalUnit","houseIdentifier","vocation",
              "ivbbLastDeliveryCollective","gouvernmentOrganizationalPersonLocality",
              "gouvernmentOrganizationalUnitDescription","gouvernmentOrganizationalUnitSubjectArea",
@@ -65,7 +65,7 @@ session_start ();
 
 /* Logged in? Simple security check */
 if (!isset($_SESSION['ui'])){
-  gosa_log ("Error: getpic.php called without session");
+  gosa_log ("Error: getldif.php called without session");
   header ("Location: ../index.php");
   exit;
 }