Ralf Becker
f63aee9618
trunk commits 25026+25079 fixing problems introduced by Connys performance stuff, which he also commited to 1.4
2008-03-19 11:37:19 +00:00
Cornelius Weiß
1bf5414fc7
performance enhancement: accounts::search
...
on the test installation with 7200 accounts it reduces time for account-sel popup from 15 to < 1 sec
2008-02-12 15:45:10 +00:00
Ralf Becker
a542085c7e
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:27:43 +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
Cornelius Weiß
8c0945b4d0
fix: count returns 1 if variable dosn't exists!
2006-05-16 09:22:29 +00:00
Lars Kneschke
cfc4ad5006
$accountID is a string not a int
2006-03-10 08:09:42 +00:00
Ralf Becker
dc48662fc8
fix for bug:
...
- [ 1442406 ] patch: Account hooks don't see installed applications
- [ 1232664 ] new ldap users not activating hook
2006-03-08 17:21:52 +00:00
Cornelius Weiß
b55f6deb14
fix: deleting of accounts resulted in deleting of group
2006-01-04 21:01:33 +00:00
Lars Kneschke
ca2e74f153
added objectclass for rfc2307bis.schema
2005-12-16 07:12:36 +00:00
Ralf Becker
36138f346e
setting group-context from (user-)context, if not set
2005-12-14 23:31:51 +00:00
Ralf Becker
0cfdea3f97
fixed error in user-creation under ldap: account_id of group was send negative to the ldap-server
2005-11-27 22:33:08 +00:00
Ralf Becker
9606f6ea25
eGW uses now negative id's for groups, this allows to better support ldap (you can have users and groups with identical id's)
2005-11-24 19:48:21 +00:00
Ralf Becker
65c41b525e
fixed bug report by Dros on the german list: using account in ldap, nextmatch (eg. in setting group ACL's) is not working
2005-11-04 06:57:22 +00:00
Ralf Becker
3960fcc0ae
implemented the same default, as for the sql class: everything which is not 'accounts' or 'groups' gives a list of both
2005-11-02 20:40:44 +00:00
Ralf Becker
c85d34c0fe
changed the following table-names:
...
- phpgw_accounts --> egw_accounts
- phpgw_acl --> egw_acl
- phpgw_log(_msg) --> egw_log(_msg)
- phpgw_config --> egw_config
- phpgw_applications --> egw_applications
This requires code-changes in many apps. Quite often I was able to replace the db access, with calls to the appropreate classes.
2005-11-02 11:45:52 +00:00
Ralf Becker
a9e8ee4e1c
some fixes:
...
- using string 'not set' for a not set lastname, as LDAP allows no accounts without lastname.
- addaccount hook was not called if account was auto-created at login-time (as the apps array is not yet read). Atm. app-names with hooks need to be listed here. I just added felamimail, which need to create mailboxes for new users
2005-05-13 16:02:37 +00:00
Ralf Becker
a828ba73f3
added missing charset-translation of the cn (common name), thanks to Martin Dalum <martin-AT-cabo.dk>
2005-04-12 09:54:07 +00:00
Ralf Becker
4e2bce12e6
modernized code and fixed problem reported on the list: new installs cant create admin-account due to not longer existing phpgw class in the api
2005-03-24 13:15:12 +00:00
ak703
0719a89986
fixed bug #1097058 ldap, adding user to groups changes phpgwaccounttype to u
2005-01-09 17:12:50 +00:00
mgalgoci
a089746e47
fix the fix
2004-08-31 15:18:25 +00:00
mgalgoci
606c1064be
- re-write of the phpgwapi::accounts_ldap::auto_add function
...
- set a default account email address as well as a user preference email
address in the users' preferences
- actually check if the account creation succeeds before we commit the transaction to the database.
- remove some crap and make function readable
2004-08-30 15:16:40 +00:00
Ralf Becker
b3b3420674
allow sorting after multiple criteria as in sql
2004-08-28 14:44:05 +00:00
Ralf Becker
788440b69d
fixed get_list, which was only returning groups if 'both' were requested, which caused eg. in calender only groups to be selectable
2004-07-25 15:51:54 +00:00
Ralf Becker
eba1ec911f
fixed name2id for groups (was still the old variable-name) and limited id2name & name2id for groups on certain fields only
2004-07-12 21:25:51 +00:00
Ralf Becker
0a5573a0fe
1) using hint-values of auth class about name, group, email, primary-group in $GLOBALS['auto_create_acct'], as the sql-class already does
...
2) using default group as specified in Setup >> Configuration for the primary group too, if none is given, this should fix also bug [ 958418 ] Registration problem with LDAP accounts
2004-07-10 08:25:02 +00:00
Ralf Becker
13bcfd8318
fixed wrong ldap attribut-names
2004-07-04 18:32:29 +00:00