Commit Graph

31 Commits

Author SHA1 Message Date
Ralf Becker
1b91b737ad fixed setup-cmd-ldap copy2ad to fix samba-tool clasicupgrade wrong set never expiring accounts to correct value 2013-07-09 15:28:26 +00:00
Ralf Becker
cb8f20f2b1 * Setup/Active Directory: setup_cmd_ldap sub_command=copy2ad now checks multivalue attributes caseinsensitive for doublicate values and new parameter no_sid_check=1 allow to use it for migrating mail-attributes without Samaba checks 2013-07-09 09:56:52 +00:00
Ralf Becker
1b730bd186 allow to copy uid and just set an attribute eg. "attributes={\\server\homes\}homeDirectory=uid,{H:}homeDrive=" 2013-07-06 09:37:53 +00:00
Ralf Becker
96c5697009 need to report expired accounts as NOT active and add ability to copy shadowExpire attribute from LDAP to AD (not done by samba-tool classicupgrade!) 2013-06-20 09:56:43 +00:00
Ralf Becker
81089baa60 * Setup/LDAP/ADS: script to copy from samba-tool classicupgrade not copied inetOrgPerson and mail-server attributes 2013-06-19 20:30:22 +00:00
Ralf Becker
014a273908 * Setup/LDAP/ADS: script to change uidNumber and gidNumber in LDAP to match relative id (last part of SID) in preparation of Samba4 migration and using ActiveDirectory 2013-06-18 18:14:08 +00:00
Ralf Becker
eaf3e6e1a5 offer to delete all existing accounts from SQL tables, before migration to it 2013-05-23 14:33:14 +00:00
Ralf Becker
2fed3637be migrate mailbox name (mailMessageStore) when migrating mail accounts, otherwise default get created, which might differ 2012-11-23 09:17:32 +00:00
Ralf Becker
7cd9685d71 mail account and addressbook migration in all directions and for dbmailuser schema too 2012-11-20 09:13:16 +00:00
Ralf Becker
67f71992ee first take on migrating mail accounts from LDAP to SQL (only qmailUser schema) 2012-11-19 09:59:00 +00:00
Ralf Becker
ec2ce0f943 * Setup: when migrating accounts from SQL to LDAP or back, also migrate addressbook data 2012-11-19 08:23:09 +00:00
Ralf Becker
1093103856 fixed not working account migration: need to invalidate cache: otherwise no migration takes place, if cached results says account already exists 2012-10-12 12:55:19 +00:00
Ralf Becker
a3ada52adf * Admin/ImportExport: fixed import of already hashed passwords 2012-03-29 18:33:33 +00:00
Ralf Becker
57fc9c63fc - fixed with ssha not working migration from sql <--> ldap
- using 16 char salt for ssha and smd5 as eclipse ldap admin does
- remove auth::hash_sql2ldap() method, as it is now in setup/inc/class.setup_cmd_ldap.inc.php
- added ability to create uid dn in setup_cmd_ldap subcommand create_ldap
2011-05-04 09:42:50 +00:00
Ralf Becker
26ed58af98 need to setup ldap data in setup_cmd_ldap, before calling the hook 2010-09-02 08:50:48 +00:00
Ralf Becker
20912e702d upps, fixed wrong parameter order 2010-08-31 10:26:43 +00:00
Ralf Becker
bfc3b262b3 rest to implement support for different mailbox names types / mail_login_types 2010-08-31 10:13:28 +00:00
Ralf Becker
2ebd10efba new command to set mailbox attribute 2010-08-31 09:33:29 +00:00
Ralf Becker
d6822d9564 - fixed not working accounts::cache_invalidate(): cache is now in regular egw_cache on session level
- calling static methods static: accounts::cache_invalidate() or egw::invalidate_session_cache()
- fixed wrong number of deleted items in setup_cmd_ldap sub-comand=delete_ldap
- only use create, if we have an ldap_admin_pw set
- call an add_account hook for each created account, if specified (not by default)
2010-08-29 08:16:27 +00:00
Ralf Becker
7be62b431f moved logic of account-migration to setup_cmd_ldap and using setup_cmd_ldap for account_migration.php, that way we can also create the ldap-structur during the migration 2010-08-26 20:22:02 +00:00
Ralf Becker
6c885b31fb - setting set_defaults also with values containing (now replaced) replacements like $domain
- shorten db-name/-user to self::MAX_DB_NAME_LEN chars
2010-08-25 12:24:11 +00:00
Ralf Becker
aee5936945 some fixes for base deletion and counting of active users 2010-08-20 14:18:21 +00:00
Ralf Becker
c71ffc8646 new sub-command to delete ldap tree 2010-08-20 13:27:37 +00:00
Ralf Becker
5af87bf976 using organizationalRole instead of namedObject which seems to be suse specific 2010-08-18 09:14:30 +00:00
Ralf Becker
61c48fb5c0 allow setup-cli to install ldap based right away 2009-12-05 17:42:18 +00:00
Ralf Becker
c27c36286e allow to call command objects via setup-cli 2008-01-14 05:44:32 +00:00
Ralf Becker
e3a9dc646f - installs can now be switched before the install happens to ldap, so all default records get created (eg. sitemgr is working)
- new setup command to create an admin user, used eg. from setup-cli.php
2007-12-13 02:41:55 +00:00
Ralf Becker
f0e0d84e55 next step config is now also a command object and added better&shorter passwords 2007-12-11 01:28:07 +00:00
Ralf Becker
0276cfae19 new setup command object to install, used in setup-cli so far 2007-12-10 04:59:01 +00:00
Ralf Becker
e1c115d310 docu update 2007-12-09 19:00:16 +00:00
Ralf Becker
b96ebc16fc new command objects to install an instance: create database, ldap structur, create/edit header (used by setup-cli too) 2007-12-09 08:03:15 +00:00