Migrate FusionDirectory from to 1.0.9

Backup you template First

The template system has been completely rewritten, and the old template will not be converted, so you need to backup them, remove them from FusionDirectory and then redo them.

The new system is much cleaner because template are stored in they own branch now and are the basis for having template for the whole application in the future.

Backup your phones

You must backup all your phones in a LDIF and remove them. Modify your LDIF like below:


cn: namePhone
goFonType: friend
goFonDmtfMode: inband
dynamic ipHostNumber:
macAddress: 00:0C:7F:31:33:F1
objectClass: top


cn: namePhone
macAddress: 00:0C:7F:31:33:F1
objectClass: fdPhone
objectClass: device
objectClass: ieee802Device
objectClass: ipHost

After the migration you may insert your phone again in your LDAP.

You can use the next command to backup your phones

ldapsearch -xLLL -b ou=phones,ou=systems,dc=fusiondirectory,dc=org > backupPhones.ldif

Moved Attributes

We cleaned the core of FusionDirectory to only used classical attributes and objectClass, so the FusionDirectory special attributes on the first page of FusionDirectory are now managed by the personal plugin.

The personal plugin has been made to manage all kind of personal data and is best suited to contain those data not normalized. So of you use personalTitle, dateOfBirth, gender you will need to install the personal plugin.

Upgrade FusionDirectory

Upgrade FusionDirectory core package before other ones to avoid dependencies errors


apt-get install fusiondirectory

Upgrade FusionDirectory schema package too.

apt-get install fusiondirectory-schema


apt-get install fusiondirectory

Upgrade FusionDirectory schema package too.

yum remove fusiondirectory
yum install fusiondirectory

Upgrade FusionDirectory schema package too.

apt-get install fusiondirectory

Upgrade FusionDirectory schema package too.

yum remove fusiondirectory-schema
yum install fusiondirectory-schema

There is a new schema for the templates, so you need to run


Removed obsolete plugins

In this version we removed obsolete plugin, because they where based on software no longer existing or needed an sql backend and we decided they need to be rewritten using the now ldap backend of those softwares :

  • asterisk : old plugin not maintainable anymore based on the sql backend, but now asterisk has an ldap backend has well.

  • fax : old code based on the gofax software from gonicus, not maintained anymore upstream.

  • openstack-compute : openstack management interface changed and this plugin is no longer relevant

  • uw-imap : long gone imap server, nobody that whe know still use it

They are no longer supported and should be removed from your installation

New Plugin for peoples using a mix of groupOfNames and posixGroup on the same object

We cleaned the code of FusionDirectory and by default it make posixGroup or clean standard compliant groupOfNames. If you need a mix of groupOfNames and posixGroup on the same object you will need to install a new plugin called mixedgroups.


Please take note that this plugin is for special cases and need modified core schema. !!

If you need to have a link between user and groups you are better using the standard compliant groupOfNames or roles for examples for web applications.

apt-get install fusiondirectory-plugin-mixedgroups

Upgrade of LDAP directory

Upgrade Core FusionDirectory Schema

The password recovery schema has been migrated into the core schema so you must remove it first

fusiondirectory-insert-schema -e recovery-fd
Are you sure you want to empty schema(s) recovery-fd?
[Yes/No]? Yes

Upgrade the core-fd.schema and core-fd-conf.schema

fusiondirectory-insert-schema -m /etc/ldap/schema/fusiondirectory/core-fd.schema

fusiondirectory-insert-schema -m /etc/ldap/schema/fusiondirectory/core-fd-conf.schema

If you use the argonaut plugin, upgrade the argonaut.schema

fusiondirectory-insert-schema -m /etc/ldap/schema/fusiondirectory/argonaut-fd.schema

If you use the fai plugin, upgrade the fai-fd-conf.schema

fusiondirectory-insert-schema -m /etc/ldap/schema/fusiondirectory/fai-fd-conf.schema

If you use the mail plugin, upgrade the mail-fd.schema

fusiondirectory-insert-schema -m /etc/ldap/schema/fusiondirectory/mail-fd.schema

If you use the personal plugin, upgrade the personal-fd.schema

fusiondirectory-insert-schema -m /etc/ldap/schema/fusiondirectory/personal-fd.schema

If you use the squid plugin, upgrade the proxy-fd.schema

fusiondirectory-insert-schema -m /etc/ldap/schema/fusiondirectory/proxy-fd.schema``

If you use the system plugin, upgrade the service-fd.schema, systems-fd.schema, systems-fd-conf.schema

The Phone object has been migrated to the system plugin due to the removal of the asterisk plugin.

fusiondirectory-insert-schema -e asterisk-fd-conf
Are you sure you want to empty schema(s) asterisk-fd-conf?
[Yes/No]? Yes
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

Check for deprecated attributes and objectClasses in your LDAP

  • fusiondirectory-setup –list-deprecated List deprecated attributes and objectclasses Deprecated attributes:

fusiondirectory-setup --list-deprecated List deprecated attributes and objectclasses Deprecated attributes:

 gotoModules                    (GOto - Gonicus Terminal Concept, value kernel modules.)        -``
 fdPasswordHook                 (FusionDirectory - Password hook (external command))            -``
 fdSnapshotURI                  (FusionDirectory - Snaphost URI)                                -``
 gotoXVsync                     (GOto - Gonicus Terminal Concept, value xVsync.)                -``
 ghSoundAdapter                 (Hardware definitions, value soundAdapter)                      -``
 gotoXMouseport                 (GOto - Gonicus Terminal Concept, value xMouseport.)            -``
 gotoXMonitor                   (GOto - Gonicus Terminal Concept, value xMonitor.)              -``
 gotoAdaptPath                  (GOto - Gonicus Terminal Concept, value adaptpath.)             -``
 gotoScannerClients             (GOto - Gonicus Terminal Concept, value scannerClients.)        -``
 gotoHardwareChecksum           (GOto - quick way to see if something has changed)              -``
 gotoRootPasswd                 (GOto - Gonicus Terminal Concept, value rootPasswd.)            -``
 gotoXKbLayout                  (GOto - Gonicus Terminal Concept, value xKblayout.)             -``
 gotoProfileServer              (GOto - specifies the profile server)                           -``
 fdAccountRDN                   (FusionDirectory - use a placeholder pattern for generating account RDNs)       -``
 gotoScannerEnable              (GOto - Gonicus Terminal Concept, value scannerEnable.)         -``
 ghGfxAdapter                   (Hardware definitions, value Grafikkarte)                       -``
 gotoFontPath                   (GOto - Gonicus Terminal Concept, value fontPath.)              -``
 ghIdeDev                       (Hardware definitions, value ideDev)                            -``
 gotoLpdEnable                  (GOto - Gonicus Terminal Concept, value lpdEnable.)             -``
 gotoXKbVariant                 (GOto - Gonicus Terminal Concept, value xKbvariant.)            -``
 fdRfc2307bis                   (FusionDirectory - rfc2307bis)                                  -``
 gotoAutoFs                     (GOto - Gonicus Terminal Concept, value autofs.)                -``
 gotoSndModule                  (GOto - Gonicus Terminal Concept, value sound Modules.)         -``
 gotoCdromEnable                (GOto - Gonicus Terminal Concept, value cdromEnable.)           -``
 gotoScannerModel               (GOto - Gonicus Terminal Concept, value scannerModel.)          -``
 gosaLoginRestriction           (GOsa - Multivalue attribute to carry a number of allowed ips/subnets)  -``
 gotoXColordepth                (GOto - Gonicus Terminal Concept, value xColordepth.)           -``
 academicTitle                  (Field to represent the academic title)                         -``
 fdSnapshotAdminDn              (FusionDirectory - Snaphost admin dn)                           -``
 gotoFilesystem                 (GOto - Gonicus Terminal Concept, value filesystem.)            -``
 ghInventoryNumber              (Unique number for inclusion in an inventory)                   -``
 gosaSubtreeACL                 (GOsa - ACL entry)                                              -``
 fdIdGenerator                  (FusionDirectory - An automatic way to generate new user ids)   -``
 ghUsbSupport                   (Hardware definitions, value usbSupport)                        -``
 gotoSysStatus                  (Keeps current system status - info shown in GOsa)              -``
 fdCopyPaste                    (FusionDirectory - (de)Activate copy/paste)                     -``
 gotoXDriver                    (GOto - Gonicus Terminal Concept, value xDriver.)               -``
 gotoXKbModel                   (GOto - Gonicus Terminal Concept, value xKbmodel.)              -``
 fdPersonalTitleInDN            (FusionDirectory - Personal title in dn)                        -``
 gotoLpdServer                  (GOto - Gonicus Terminal Concept, value lpdServer.)             -``
 gotoXHsync                     (GOto - Gonicus Terminal Concept, value xHsync.)                -``
 gotoProfileFlags               (GOto - Flags for Profile handling - C is for caching)          -``
 ghCpuType                      (Hardware definitions, value cpuType)                           -``
 gotoXResolution                (GOto - Gonicus Terminal Concept, value xResolution.)           -``
 gotoShare                      (GOto - specifies a share)                                      -``
 gotoScannerBackend             (GOto - Gonicus Terminal Concept, value scannerBackend.)        -``
 fdSnapshotAdminPassword        (FusionDirectory - Snaphost admin password)                     -``
 fdVoicemailContexts            (FusionDirectory - available voicemail contexts)                -``
 gosaDefaultLanguage            (GOsa - Defines the default language for a user)                -``
 ghMemSize                      (Hardware definitions, value memSize)                           -``
 gotoProfileQuota               (GOto - save quota for home)                                    -``
 fdSipContexts                  (FusionDirectory - available sip contexts)                      -``
 fdPhoneConferenceRDN           (FusionDirectory - Phone conference RDN)                        -``
 ghScsiDev                      (Hardware definitions, value scsiDev)                           -``
 fdPhoneMacroRDN                (FusionDirectory - Phone macro RDN)                             -``
 ghNetNic                       (Hardware definitions, value Network Device)                    -``
 gotoFloppyEnable               (GOto - Gonicus Terminal Concept, value floppyEnable.)          -``
 gotoXMouseButtons              (GOto - Gonicus Terminal Concept, value xMouseButtons.)         -``
 gotoXMouseType                 (Hardware definitions, value Type of mouse)                     -``

Deprecated objectClasses:

goCupsServer                   (CUPS server description)                                       -``
gosaCacheEntry                 (GOsa - Class for GOsa caching)                                 -``
gosaUserTemplate               (GOsa - Class for GOsa User Templates)                          -``
gosaAccount                    (GOsa - Class for GOsa Accounts)                                -``
gosaObject                     (GOsa - Class for GOsa settings)                                -``
  • fusiondirectory-setup –check-deprecated will output a list of dn using old attributes and objectClasses

fusiondirectory-setup --check-deprecated
List LDAP entries using deprecated attributes or objectclasses
cn=fusiondirectory,ou=configs,dc=fusiondirectory,dc=org contains an obsolete attribute
cn=fusiondirectory,ou=configs,dc=fusiondirectory,dc=org uses the obsolete object class fdAsteriskPluginConf
uid=fd-admin,ou=people,dc=fusiondirectory,dc=org uses the obsolete object class gosaAccount
  • fusiondirectory-setup –ldif-deprecated will output an ldif file on the console that you can use with ldapmodify to clean you ldap server from old attributes. 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.

fusiondirectory-setup –ldif-deprecated

changetype:modify delete:fdRfc2307bis

WARNING: There are entries in the LDAP using obsolete classes, you need to edit them manually


Please read it carefully before applying !!

Remove old schema from /etc/ldap/schema/fusiondirectory

The old schema are not automatically removed from /etc/ldap/schema/fusiondirectory. You can safely remove recovery-fd.schema and asterisk-fd.conf

Problems when we removing objectClasses

When you remove gosaAccount you can have some troubles.

If you have samba plugin installed you must remove the next attributes on the users where the samba tab is not activate.

  • sambaBadPasswordTime

  • sambaBadPasswordCount

  • sambaNTPassword

  • sambaPwdLastSet

If you use argonaut client tab on some objets

To add the new attribute argonautClientProtocol, you must only open the objets that have an argonaut client tab and save it again.