Allow each device to have mulitple user accounts
authorMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 12 May 2010 14:56:37 +0000 (10:56 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 12 May 2010 15:26:13 +0000 (11:26 -0400)
commitc3c08cf27fc07e8358e3615fadf693c0531b98c8
tree868cfd6782907512dae279cbf5f4534ccf9c9de8
parent49830e41f4797badf1ae7afc044fca784f667f3e
Allow each device to have mulitple user accounts

SQL update script must be run. It's necessary to force the device to refresh - sorry, Jan ;).
You might be able to get away with only refreshing one collection (like calendars), or even just
pretend to edit the account settings and re-save them (which usually produces a foldersync request).

Alternatively, you can manually add the username/device mapping if it's known to the users table,
and add the username to the other new username fields in the map table and state table.

to the database tables if they are known.
20 files changed:
framework/ActiveSync/lib/Horde/ActiveSync.php
framework/ActiveSync/lib/Horde/ActiveSync/Driver/Horde.php
framework/ActiveSync/lib/Horde/ActiveSync/Request/Base.php
framework/ActiveSync/lib/Horde/ActiveSync/Request/Ping.php
framework/ActiveSync/lib/Horde/ActiveSync/State/Base.php
framework/ActiveSync/lib/Horde/ActiveSync/State/File.php
framework/ActiveSync/lib/Horde/ActiveSync/State/History.php
framework/ActiveSync/test/Horde/ActiveSync/HordeDriverTest.php
horde/config/conf.xml
horde/lib/Prefs/Ui.php
horde/scripts/sql/create.mssql.sql
horde/scripts/sql/create.mysql.sql
horde/scripts/sql/create.oci8.sql
horde/scripts/sql/create.pgsql.sql
horde/scripts/sql/create.sql
horde/scripts/sql/create.sybase.sql
horde/scripts/sql/create.xml
horde/scripts/sql/horde_activesync.sql
horde/scripts/upgrades/2010-05-11_horde_activesync_adduserkey.sql [new file with mode: 0644]
horde/templates/prefs/activesync.html