Commit Graph

162 Commits

Author SHA1 Message Date
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
Lars Kneschke
893c085f78 added addaccount-hook for auto created accounts 2004-01-25 22:27:31 +00:00
Miles Lott
0039d2a51c Cleanup badfilter on empty values; cleanup formatting 2004-01-25 00:04:40 +00:00
Miles Lott
9cd1308d2f update authors ;) 2004-01-02 02:54:29 +00:00
Miles Lott
20b851da6f intval -> (int), replace gettype() and ereg functions where possible 2003-12-14 17:18:41 +00:00
Lars Kneschke
2eebcbee3a phpgroupware -> egroupware
Fix for BUG [ 844428 ] X-Mailer text should be changed
2003-11-18 21:42:16 +00:00
Ralf Becker
692767bcf0 fixed problem with not set system-charset and non-ascii chars in user-name with accounts in ldap:
Username did not get translated, as at the time when the accounts-class get instanciated the user preferences, which determine the language, which determine the charset (if no system-charset), are not loaded. I use iso-8859-1 as default then, which gives us the same behavior then before all the changes.
2003-10-15 12:24:38 +00:00
Ralf Becker
d73cfd3122 fixed get_account_name to convert the values 2003-10-10 12:45:07 +00:00
Ralf Becker
71c2acae50 fix for not set system_charset 2003-10-10 12:06:40 +00:00
Lars Kneschke
cb65e22c87 typo 2003-10-10 04:42:08 +00:00
Lars Kneschke
a7318559fe converted to convert for correct utf-8 support 2003-10-10 00:55:43 +00:00
Lars Kneschke
2a4b75c483 ldap fixes 2003-09-21 19:02:12 +00:00
Lars Kneschke
bfb56ec1de ldap fixes 2003-09-14 14:35:36 +00:00
Lars Kneschke
78c74e5726 ldap fixes again 2003-09-14 08:29:29 +00:00
Lars Kneschke
c579775999 again some ldap fixes
and

support for ldap version 3
2003-09-14 06:02:25 +00:00
Lars Kneschke
ac487777b7 added support for primary group 2003-09-13 17:14:30 +00:00
Lars Kneschke
e3dde66e08 change needed for integration of emailadmin
ldap bugfixing
2003-08-31 22:09:12 +00:00
Ralf Becker
b8557e49d9 make the phpgw Version-0_9_16-branch HEAD 2003-08-28 14:31:11 +00:00
ceb
6494d641da update 2003-05-21 23:02:25 +00:00
ceb
06a871dd7c update accounts_ldap 2002-12-18 00:20:46 +00:00