]> git.sur5r.net Git - contagged/blobdiff - entry.php
mod_auth_ldap, non-anon binding and openxchange support
[contagged] / entry.php
index a8550534f7a76ae47b86bc91c8c3d786e3431239..594e1eb2b95fb54d8b9e1474eb4e3749413816ee 100644 (file)
--- a/entry.php
+++ b/entry.php
@@ -41,6 +41,9 @@
   tpl_std();
   tpl_orgs();
   tpl_markers();
+  tpl_categories();
+  tpl_timezone();
+  tpl_country();
   //display templates
   if($_REQUEST[mode]=='vcf'){
     $entry = $smarty->get_template_vars('entry');
@@ -132,6 +135,10 @@ print '</pre>';*/
       if($conf[extended]){
         ldap_store_objectclasses($dn,array('inetOrgPerson','contactPerson'));
       }
+      // in openxchange mode we have to make sure the right classes are set
+      if ($conf[openxchange]){
+        ldap_store_objectclasses($dn,array('inetOrgPerson','OXUserObject'));
+      }
       //modify entry (touches only our attributes)
       foreach (array_keys($entries) as $key){
         if($key == 'dn'){