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
Ralf Becker
3d4c680760
typo
2006-07-12 20:43:38 +00:00
Ralf Becker
c094f15db4
fixed error "no accounts/groups shown in admin", reported by Max.Bidlingmaier-at-EasternGraphics.com, if maxmatches not set
2006-07-12 15:15:44 +00:00
Ralf Becker
34346b6847
fixed error in modification of existing group, if groupOfNames can NOT be used together with posixGroup (nis schema)
2006-07-11 02:28:58 +00:00
Ralf Becker
5f41dd5512
fixed now working contact-data-edit of accounts via admin for accounts in ldap
2006-06-21 23:14:18 +00:00
Ralf Becker
93c8753b73
improved emulation of old contact class
2006-06-18 05:07:10 +00:00
Ralf Becker
346164483e
using ldap::quote() to gard against LDAP query injection
2006-06-13 04:23:36 +00:00
Ralf Becker
287726dead
bugfix: set_memberships removed the not longer set memberships from $this->account_id and not the given one (which caused the admin to loose the membership)
2006-06-11 14:27:14 +00:00
Ralf Becker
767c42b43f
accounts_ldap::_get_nextid was not returning a negative number for groups, which lead to accounts_ldap::save to return a positive account_id for groups, which messed up some stuff in setup ...
2006-06-08 22:04:44 +00:00
Ralf Becker
076711adbf
fallback for posixGroup no structural object was missing
2006-06-08 03:29:07 +00:00
Ralf Becker
a59c49c2e2
also fetch the password, eg. for migration
2006-06-07 23:21:30 +00:00
Ralf Becker
c6b0c63725
- correctly set and empty some additional attributes like first name and email
...
- validation group-members before setting them (false return from id2name, gives ldap-error otherwise)
2006-06-07 17:58:20 +00:00
Ralf Becker
3234d5723e
- fixed a view error in working together with setup
...
- quitent (hopefully) all debug messages
2006-06-07 05:16:56 +00:00
Ralf Becker
98d8b30761
rewrite of the accounts classes:
...
- new cleaner AND documented interfaces
- old interfaces are still availible, but depricated
- LDAP backend stores now membership information in LDAP too, and does NO longer require the phpgwAccount schema
- LDAP backend deals now well with LDAP schema in which posixGroup is no structural object (eg. newer SuSE distros)
- password from users are done now binded as that user, so if you dont need/use our admin to manage accounts, you can give a root-dn which only allows to search&read accounts
2006-06-06 23:42:36 +00:00
Ralf Becker
b4f3452ffc
Fixed problem that on newer SuSE (and maybe other distros too) none of our required objectclasses for groups are an structural object, which caused the adding of new groups to fail. Now I add the 'namedObject' objectclass, if the first adding fails.
2006-06-03 19:44:44 +00:00