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
Ralf Becker
8bfb6cfb07
added email-address to the accounts-data (ldap untested so far!)
2004-07-04 17:27:42 +00:00
Carsten Wolff
892123655f
fixed another typo
2004-06-30 20:19:28 +00:00
Ralf Becker
8ec4604d2a
fixed not working group-update with caching enabled
2004-06-23 12:09:00 +00:00
Ralf Becker
89870fd195
fixed not working group-update with caching enabled
2004-06-23 11:37:07 +00:00
Carsten Wolff
6881070b41
fixed syntax error
2004-06-19 21:57:06 +00:00
Carsten Wolff
3c919bba50
make users mailaddress available for use in applications, if it is found in ldap
2004-06-18 09:29:11 +00:00
Ralf Becker
ab9ec83bc4
implemented different search-types:
...
- all fields
- firstname, lastname, account-lid
- start with
- exact
for the new account-selection popup
2004-06-13 20:11:31 +00:00
reinerj
48f840d7de
move from old projct to new one
2004-05-05 12:06:13 +00:00
Miles Lott
39deb72a77
Similar to fix done for sql to fix acl access in some apps again
2004-02-07 21:25:05 +00:00
Ralf Becker
b58f7c344d
moved the existing caching-code into the shared class and implemented caching for get_list
2004-02-05 21:20:41 +00:00
bgigon
a4b6f98f04
Modify Accounts Modify function (otherwise crash)
2004-01-27 13:33:38 +00:00
Lars Kneschke
61c768f8d3
add a first and last name for auto created accounts too
2004-01-25 22:38:26 +00:00