Migrate FusionDirectory from 1.0.20 to 1.1 ========================================== Ubuntu 12.0.4 TLS users ^^^^^^^^^^^^^^^^^^^^^^^ .. warning:: Since 1.0.9.2 FusionDirectory need the php-cas library for CAS server support. This library can normally found in universe in the Ubuntu repositories. In case you did not find it, grab the deb from here and install it ``_ and select your preferred mirror Removed plugins ^^^^^^^^^^^^^^^ If you used kolab2 plugin you need to remove the plugin and its schema with the following command .. code-block:: shell apt-get remove fusiondirectory-plugin-kolab2 apt-get remove fusiondirectory-plugin-kolab2-schema Splitted plugins ^^^^^^^^^^^^^^^^ The posix tab of fusiondirectory is now a plugin by itself, if you use posix attributes install the corresponding plugin .. code-block:: shell apt-get install fusiondirectory-plugin-posix Upgrade schema2ldif ^^^^^^^^^^^^^^^^^^^ For Jessie distribution add extra repository .. code-block:: shell #fusiondirectory debian-extra repository deb http://repos.fusiondirectory.org/fusiondirectory-extra/debian-jessie jessie main Update the package list and upgrade schema2ldif .. code-block:: shell apt-get update apt-get install schema2ldif Upgrade FusionDirectory first ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Upgrade FusionDirectory core package before other ones to avoid dependencies errors: .. code-block:: shell apt-get install fusiondirectory Upgrade FusionDirectory schema package too. .. code-block:: shell apt-get install fusiondirectory-schema Upgrade of LDAP directory ^^^^^^^^^^^^^^^^^^^^^^^^^ Upgrade the core schemas .. code-block:: shell fusiondirectory-insert-schema -m /etc/ldap/schema/fusiondirectory/core-fd-conf.schema fusiondirectory-insert-schema -m /etc/ldap/schema/fusiondirectory/core-fd.schema Upgrade of LDAP directory ^^^^^^^^^^^^^^^^^^^^^^^^^ if you are using the argonaut plugin you have to update its schema .. code-block:: shell fusiondirectory-insert-schema -m /etc/ldap/schema/fusiondirectory/argonaut-fd.schema if you are using the dhcp plugin you have to update its schema .. code-block:: shell fusiondirectory-insert-schema -m /etc/ldap/schema/fusiondirectory/dhcp-fd.schema if you are using the fai plugin you have to update its schema .. code-block:: shell fusiondirectory-insert-schema -m /etc/ldap/schema/fusiondirectory/fai.schema if you are using the mail plugin you have to update its schema .. code-block:: shell fusiondirectory-insert-schema -m /etc/ldap/schema/fusiondirectory/mail-fd.schema if you are using the systems plugin you have to update its schema .. code-block:: shell fusiondirectory-insert-schema -m /etc/ldap/schema/fusiondirectory/service-fd.schema fusiondirectory-insert-schema -m /etc/ldap/schema/fusiondirectory/systems-fd-conf.schema fusiondirectory-insert-schema -m /etc/ldap/schema/fusiondirectory/systems-fd.schema Migrate old objects ^^^^^^^^^^^^^^^^^^^ If you have systems use this command to migrate them .. code-block:: shell fusiondirectory-setup --migrate-systems If you have phones use this command to migrate them .. code-block:: shell fusiondirectory-setup --migrate-phones If you have winstations use this command to migrate them .. code-block:: shell fusiondirectory-setup --migrate-winstations Check for deprecated attributes and objectClasses in your LDAP ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The **list-deprecated** option of **fusiondirectory-setup** show deprecated attributes and objectClasses for FusionDirectory .. code-block:: shell fusiondirectory-setup --list-deprecated List deprecated attributes and objectclasses Deprecated attributes: gotoModules (GOto - Gonicus Terminal Concept, value kernel modules.) - 1.3.6.1.4.1.10098.1.1.1.32`` fdPasswordHook (FusionDirectory - Password hook (external command)) - 1.3.6.1.4.1.38414.8.13.4`` fdSnapshotURI (FusionDirectory - Snaphost URI) - 1.3.6.1.4.1.38414.8.17.3`` gotoXVsync (GOto - Gonicus Terminal Concept, value xVsync.) - 1.3.6.1.4.1.10098.1.1.1.19`` ghSoundAdapter (Hardware definitions, value soundAdapter) - 1.3.6.1.4.1.10098.1.1.2.7`` gotoXMouseport (GOto - Gonicus Terminal Concept, value xMouseport.) - 1.3.6.1.4.1.10098.1.1.1.22`` gotoXMonitor (GOto - Gonicus Terminal Concept, value xMonitor.) - 1.3.6.1.4.1.10098.1.1.1.17`` gotoAdaptPath (GOto - Gonicus Terminal Concept, value adaptpath.) - 1.3.6.1.4.1.10098.1.1.1.33`` gotoScannerClients (GOto - Gonicus Terminal Concept, value scannerClients.) - 1.3.6.1.4.1.10098.1.1.1.11`` gotoHardwareChecksum (GOto - quick way to see if something has changed) - 1.3.6.1.4.1.10098.1.1.2.12`` gotoRootPasswd (GOto - Gonicus Terminal Concept, value rootPasswd.) - 1.3.6.1.4.1.10098.1.1.1.14`` gotoXKbLayout (GOto - Gonicus Terminal Concept, value xKblayout.) - 1.3.6.1.4.1.10098.1.1.1.26`` gotoProfileServer (GOto - specifies the profile server) - 1.3.6.1.4.1.10098.1.1.11.8`` fdAccountRDN (FusionDirectory - use a placeholder pattern for generating account RDNs) - 1.3.6.1.4.1.38414.8.12.2`` gotoScannerEnable (GOto - Gonicus Terminal Concept, value scannerEnable.) - 1.3.6.1.4.1.10098.1.1.1.10`` ghGfxAdapter (Hardware definitions, value Grafikkarte) - 1.3.6.1.4.1.10098.1.1.2.9`` gotoFontPath (GOto - Gonicus Terminal Concept, value fontPath.) - 1.3.6.1.4.1.10098.1.1.1.5`` ghIdeDev (Hardware definitions, value ideDev) - 1.3.6.1.4.1.10098.1.1.2.4`` gotoLpdEnable (GOto - Gonicus Terminal Concept, value lpdEnable.) - 1.3.6.1.4.1.10098.1.1.1.9`` gotoXKbVariant (GOto - Gonicus Terminal Concept, value xKbvariant.) - 1.3.6.1.4.1.10098.1.1.1.27`` fdRfc2307bis (FusionDirectory - rfc2307bis) - 1.3.6.1.4.1.38414.8.10.1`` gotoAutoFs (GOto - Gonicus Terminal Concept, value autofs.) - 1.3.6.1.4.1.10098.1.1.1.31`` gotoSndModule (GOto - Gonicus Terminal Concept, value sound Modules.) - 1.3.6.1.4.1.10098.1.1.1.29`` gotoCdromEnable (GOto - Gonicus Terminal Concept, value cdromEnable.) - 1.3.6.1.4.1.10098.1.1.1.8`` gotoScannerModel (GOto - Gonicus Terminal Concept, value scannerModel.) - 1.3.6.1.4.1.10098.1.1.1.40`` gosaLoginRestriction (GOsa - Multivalue attribute to carry a number of allowed ips/subnets) - 1.3.6.1.4.1.10098.1.1.12.46`` gotoXColordepth (GOto - Gonicus Terminal Concept, value xColordepth.) - 1.3.6.1.4.1.10098.1.1.1.21`` academicTitle (Field to represent the academic title) - 1.3.6.1.4.1.10098.1.1.6.2`` fdSnapshotAdminDn (FusionDirectory - Snaphost admin dn) - 1.3.6.1.4.1.38414.8.17.4`` gotoFilesystem (GOto - Gonicus Terminal Concept, value filesystem.) - 1.3.6.1.4.1.10098.1.1.1.6`` ghInventoryNumber (Unique number for inclusion in an inventory) - 1.3.6.1.4.1.10098.1.1.2.10`` gosaSubtreeACL (GOsa - ACL entry) - 1.3.6.1.4.1.10098.1.1.12.1`` fdIdGenerator (FusionDirectory - An automatic way to generate new user ids) - 1.3.6.1.4.1.38414.8.12.4`` ghUsbSupport (Hardware definitions, value usbSupport) - 1.3.6.1.4.1.10098.1.1.2.3`` gotoSysStatus (Keeps current system status - info shown in GOsa) - 1.3.6.1.4.1.10098.1.1.2.11`` fdCopyPaste (FusionDirectory - (de)Activate copy/paste) - 1.3.6.1.4.1.38414.8.14.5`` gotoXDriver (GOto - Gonicus Terminal Concept, value xDriver.) - 1.3.6.1.4.1.10098.1.1.1.28`` gotoXKbModel (GOto - Gonicus Terminal Concept, value xKbmodel.) - 1.3.6.1.4.1.10098.1.1.1.25`` fdPersonalTitleInDN (FusionDirectory - Personal title in dn) - 1.3.6.1.4.1.38414.8.12.5`` gotoLpdServer (GOto - Gonicus Terminal Concept, value lpdServer.) - 1.3.6.1.4.1.10098.1.1.1.4`` gotoXHsync (GOto - Gonicus Terminal Concept, value xHsync.) - 1.3.6.1.4.1.10098.1.1.1.18`` gotoProfileFlags (GOto - Flags for Profile handling - C is for caching) - 1.3.6.1.4.1.10098.1.1.11.7`` ghCpuType (Hardware definitions, value cpuType) - 1.3.6.1.4.1.10098.1.1.2.1`` gotoXResolution (GOto - Gonicus Terminal Concept, value xResolution.) - 1.3.6.1.4.1.10098.1.1.1.20`` gotoShare (GOto - specifies a share) - 1.3.6.1.4.1.10098.1.1.11.9`` gotoScannerBackend (GOto - Gonicus Terminal Concept, value scannerBackend.) - 1.3.6.1.4.1.10098.1.1.1.39`` fdSnapshotAdminPassword (FusionDirectory - Snaphost admin password) - 1.3.6.1.4.1.38414.8.17.5`` fdVoicemailContexts (FusionDirectory - available voicemail contexts) - 1.3.6.1.4.1.38414.19.11.2`` gosaDefaultLanguage (GOsa - Defines the default language for a user) - 1.3.6.1.4.1.10098.1.1.12.14`` ghMemSize (Hardware definitions, value memSize) - 1.3.6.1.4.1.10098.1.1.2.2`` gotoProfileQuota (GOto - save quota for home) - 1.3.6.1.4.1.10098.1.1.11.15`` fdSipContexts (FusionDirectory - available sip contexts) - 1.3.6.1.4.1.38414.19.11.1`` fdPhoneConferenceRDN (FusionDirectory - Phone conference RDN) - 1.3.6.1.4.1.38414.19.10.3`` ghScsiDev (Hardware definitions, value scsiDev) - 1.3.6.1.4.1.10098.1.1.2.5`` fdPhoneMacroRDN (FusionDirectory - Phone macro RDN) - 1.3.6.1.4.1.38414.19.10.2`` ghNetNic (Hardware definitions, value Network Device) - 1.3.6.1.4.1.10098.1.1.2.8`` gotoFloppyEnable (GOto - Gonicus Terminal Concept, value floppyEnable.) - 1.3.6.1.4.1.10098.1.1.1.7`` gotoXMouseButtons (GOto - Gonicus Terminal Concept, value xMouseButtons.) - 1.3.6.1.4.1.10098.1.1.1.23`` gotoXMouseType (Hardware definitions, value Type of mouse) - 1.3.6.1.4.1.10098.1.1.1.34`` Deprecated objectClasses: .. code-block:: shell goCupsServer (CUPS server description) - 1.3.6.1.4.1.10098.1.2.1.23`` gosaCacheEntry (GOsa - Class for GOsa caching) - 1.3.6.1.4.1.10098.1.2.1.19.3`` gosaUserTemplate (GOsa - Class for GOsa User Templates) - 1.3.6.1.4.1.10098.1.2.1.19.11`` gosaAccount (GOsa - Class for GOsa Accounts) - 1.3.6.1.4.1.10098.1.2.1.19.6`` gosaObject (GOsa - Class for GOsa settings) - 1.3.6.1.4.1.10098.1.2.1.19.1`` The **check-deprecated** option will output a list of dn using old attributes and objectClasses of they are present in your ldap server .. code-block:: shell fusiondirectory-setup --check-deprecated List LDAP entries using deprecated attributes or objectclasses There are no entries in the LDAP using obsolete attributes There are no entries in the LDAP using obsolete classes The **ldif-deprecated** option will output an ldif file on the console that you can use with ldapmodify to clean you ldap server from old attributes. .. code-block:: shell fusiondirectory-setup --ldif-deprecated > remove_deprecated.ldif If they are old objectClasses it will warn you and you will have to remove it by hand, they have been specified at the **fusiondirectory-setup --check-deprecated** step. .. warning:: Please read it carefully before applying !! Checking your indexed attributes ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Check that all you index still match with valid attributes present in your ldap directory New format for repository service ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ If you have a repository service. Open and save it back so it will use the new format Enjoy :)