Commit Graph

229 Commits

Author SHA1 Message Date
Ralf Becker
2841317b08 * all apps: exclude expired or deactivated accounts from all lists and selections (beside admin app to be able to activate them again) 2013-01-25 13:21:31 +00:00
Ralf Becker
60a22fe179 accounts part missed in r40877: first take on migrating mail accounts from LDAP to SQL (only qmailUser schema) 2012-11-19 13:19:14 +00:00
Ralf Becker
1d743830c9 need to allow account_lid string as parameter for accounts::id2name(), it is used in many places 2012-08-13 14:26:00 +00:00
Ralf Becker
a3ada52adf * Admin/ImportExport: fixed import of already hashed passwords 2012-03-29 18:33:33 +00:00
Ralf Becker
046c0919cc make basic data of current user available via egw.user(_field) 2011-08-31 12:17:34 +00:00
Ralf Becker
4915952262 setting account_fullname, to get id2name($uid,account_fullname) working for groups in LDAP too 2011-01-02 21:53:04 +00:00
Klaus Leithoff
1e314fb59d shadowLastChange vs. shadowlastchange. Normalize to shadowlastchange - all lower case 2010-11-17 14:39:12 +00:00
Klaus Leithoff
2e33eeaab6 fixing ACL check for nopasswordchange; fixing setting of shadowlastchange by using the correct data with propper format 2010-09-24 08:20:14 +00:00
Klaus Leithoff
0a53a95bdc password-feature ldap specific stuff 2010-09-22 13:13:27 +00:00
Klaus Leithoff
3843c0b59b Feature: to allow admins a) to set an allowed password age, to require all users to change their password regularily; b) force password change for a given user on the users next login; c) better control about the password strength required; Funded by Cricket 2010-09-22 09:48:27 +00:00
Ralf Becker
8ef7201027 fixed wrong extraction of the extra_attr, eg. uid 2010-07-21 14:39:07 +00:00
Ralf Becker
f7c1f243ae fixed PHP warning: Illegal offset type in phpgwapi/inc/class.accounts_ldap.inc.php on line 1100 and not working update of group mail addresses 2010-07-21 14:20:31 +00:00
Ralf Becker
6aebe8485b "fixed not working limited result and sorting for type 'both', caused by an (now disabled) optimisation, which only works for type 'accounts'" 2010-04-20 11:07:02 +00:00
Ralf Becker
2ce6c9ecbb "support for Mandriva mailaccount schema for group email addresses " 2010-04-16 13:30:38 +00:00
Ralf Becker
2d6cc439c3 "fixed not working sort" 2010-03-28 15:01:58 +00:00
Ralf Becker
90a3a946f6 restructured accounts::search() code, to handle $param[app] for ldap too, fixed ldap backend to also index array by account_id 2010-03-20 13:24:01 +00:00
Ralf Becker
b40f14a95e new setup config denying (default) or allowing user names identical to system users (ldap only) 2010-03-16 16:33:28 +00:00
Klaus Leithoff
914861ac59 bugfix groupmembers of groups got lost, while renaming accounts 2009-11-04 11:17:06 +00:00
Ralf Becker
65a08ece84 "2. fixing the fix ;-)
only add optional user objectclasses for users NOT for groups"
2009-09-15 08:43:44 +00:00
Ralf Becker
ceaf32919f "fixing the fix ;-)
adding the addressbook object classes only when adding new accounts"
2009-08-22 07:51:55 +00:00
Ralf Becker
1628c09432 "- adding addressbook object classes to accounts (if they are supported by the server)
--> overcome problem reported by krupka(at)depag.de on the german list: password get's lost if contact get saved, because it had to remove the account first to add the addressbook object classes
- docu update
"
2009-08-22 07:13:59 +00:00
Klaus Leithoff
b6f0321b52 prevent using the numeric value of a group or user twice, by checking if it already exists for both sides 2009-07-17 10:32:57 +00:00
Ralf Becker
e003dfd82a "fixed an other accounts_ldap problem: too many entries returned on 2. and further pages" 2009-04-23 11:49:44 +00:00
Ralf Becker
defe88e0cf "fixed not / only partialy working lettersearch in Admin >> Manage groups" 2009-04-23 06:24:58 +00:00
Ralf Becker
5291d0ac39 Fixing the fix ;-)
shadowLastChange has to be an integer
2009-04-09 08:11:24 +00:00
Ralf Becker
7698d3ef65 Fixed not (always) updated last password change date 2009-04-09 06:41:41 +00:00
Klaus Leithoff
e4c29d36fc fix/improve the filter handling for querying all accounts, due to problems with unlimited querys, and/or large groups 2008-09-19 09:12:30 +00:00
Klaus Leithoff
b2ae4fe5c7 fixed a typo that prevented the ldap creation and modification timestamps to show in accounts listview 2008-08-21 07:31:34 +00:00
Ralf Becker
4edd90a8bf "removed php < 5.1 fallback function" 2008-06-05 07:42:21 +00:00
Klaus Leithoff
3b874ad66f added fields created/modified to the retrieval of the single account info.
added accountstatus/created/modified to the retrieval of the account list.
2008-04-10 09:06:24 +00:00
Ralf Becker
bf31f4e94a "removing unnecessary instancations" 2008-03-25 17:02:09 +00:00
Ralf Becker
ac04409df7 dynamically autoloading sub-object of egw-object, moved __wakeup methods to concerned classes and other "modernsations" ;-) 2008-03-21 20:50:13 +00:00
Ralf Becker
14bc5239b7 "fixed not found first entry of result-set" 2008-03-13 19:12:14 +00:00
Ralf Becker
108cb59d3c fixed bug introduced by Connys performance stuff: function returned limited resultset with unset or empty start parameter 2008-03-06 16:11:49 +00:00
Cornelius Weiß
ed6fea6f5b performance enhancement: accounts::search 2008-02-12 15:57:39 +00:00
Lars Kneschke
31f2ea4a07 minor formating changes 2008-02-08 11:16:40 +00:00
Ralf Becker
b0146349db moved __wakeup code to reconnect to ldap server to the accounts_ldap class own __wakeup method, fixing an error with editing accounts using php4-restore together with accounts in ldap 2007-12-20 19:38:26 +00:00
Ralf Becker
2aa096915c reworked the accounts class, to be able to instanciate both backends (ldap&sql), as well as specify the config (account_repository, ldap_*) 2007-12-13 02:32:44 +00:00
Ralf Becker
a55b1a5163 "fixed bug reported from sim <sim-at-compulab.co.il>: _read_group not searching for posixGroup, which makes problems if you have identical numbers and context for users and groups
also added a filter for objectclass=posixAccount to _read_user"
2007-06-27 05:26:46 +00:00
Lars Kneschke
a71db5a07c write a empty memberuid array to ldap only when updating groups 2007-03-20 09:24:22 +00:00
Lars Kneschke
c58a299113 REQUEST_URI can contain also some get paramters 2007-02-05 16:01:29 +00:00
Ralf Becker
3ca0341bf9 "fixed docu of search method: order and sort were exchanged" 2007-01-08 08:58:48 +00:00
Ralf Becker
a6131d726e fix for bug #240: PHP Warning at accountsel popup if search has no result (accounts in ldap) 2007-01-04 06:54:33 +00:00
Ralf Becker
3dcbd0ae30 fixed adi's patch to allow again searching in other fields then the one used in account-filter (by default uid) 2006-10-28 09:32:04 +00:00
Ralf Becker
3b3c5351de forgot to remove a debugging comment, dbmailForwardingAddress should have the highes precedence 2006-10-12 09:20:22 +00:00
Ralf Becker
cfc6f23dbd ability to set an email-address for groups (with automatic forwards to member's email) 2006-10-11 21:59:43 +00:00
Ralf Becker
bbd2b7a55c Patch from Adi Kriegisch: accounts_ldap::search was NOT using the ldap search-filter from setup >> configuration 2006-10-10 07:33:43 +00:00
Ralf Becker
a594d2f0b9 make sure multiple email-addresses in the mail attribute "survive" 2006-09-16 10:00:06 +00:00
Ralf Becker
fb62796694 big performance improvment (developed and tested on an install with > 2000 users) 2006-09-15 16:19:39 +00:00
Ralf Becker
410a7a6c15 - fixed LDAP error when expiration date is set (under debain/Ubuntu)
- fixed calculation of shadow_expire (UTC conversation)
2006-08-24 06:27:03 +00:00