Commit Graph

2775 Commits

Author SHA1 Message Date
Ralf Becker
346164483e using ldap::quote() to gard against LDAP query injection 2006-06-13 04:23:36 +00:00
Ralf Becker
2c87623e9b renamed ldap::ldapAddslashes to ldap::quote, like in db::quote or preg_quote 2006-06-13 04:22:24 +00:00
Ralf Becker
b2a0081696 phpDoc compatible header 2006-06-13 04:16:38 +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
d8d93ebd77 changed the authticate method to use common::ldapConnect() and not do it yourself, which fails as the ldap-version3 attribute no longer exists 2006-06-09 00:07:57 +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
5581a73df7 allways setting account_pwd and account_status (for groups too) as they are NOT NULL, thanks to olo <aleksander.adamowski-AT-gmail.com> 2006-06-08 21:18:46 +00:00
Lars Kneschke
e4409c7b0a fixed handling of session url, when behind a proxy 2006-06-08 03:46:18 +00:00
Ralf Becker
076711adbf fallback for posixGroup no structural object was missing 2006-06-08 03:29:07 +00:00
Ralf Becker
7c203162fa fix to allow migration of accounts from LDAP to SQL (account_id already set) 2006-06-08 00:25:57 +00:00
Ralf Becker
a59c49c2e2 also fetch the password, eg. for migration 2006-06-07 23:21:30 +00:00
Ralf Becker
29f83cba19 calling now Lars new class to open ldap connections, so we detect ldap version 3 now automatic (no more config option necessary) 2006-06-07 22:59:42 +00:00
Ralf Becker
1934c4ce6d fixed some problems:
- in setup we have no sessions --> query the infos on each request
- if the server allows no version 2 binds, the class failed. Now we try again with version 3 set (and succeed)
2006-06-07 22:58:11 +00:00
Ralf Becker
9eca4904e0 allow to specify the hash type to prefix the hash, to easy migrate passwords from ldap 2006-06-07 22:08:13 +00:00
Cornelius Weiß
fdebc495f5 add autologin for anonymous user as we need to have on community.egroupware.org 2006-06-07 18:16:43 +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
5a84e151b2 need to invalidate the cache, before new users can be assigned any memberships 2006-06-07 17:55:57 +00:00
Ralf Becker
d8e53a5aab fix to NOT use tls for IMAP 2006-06-07 06:49:08 +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
Lars Kneschke
3821544b6d removed port if 80 or 443 2006-06-06 07:05:26 +00:00
Ralf Becker
73b00c865e Fixed bug introduced with the fix for the "no images" bug, thanks to John Thomas for letting me know 2006-06-06 05:33:10 +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
Ralf Becker
ef69e29a99 Fix from István Pongrácz for acl-problems in filemanager under php4.3.2 2006-06-03 01:43:40 +00:00
Lars Kneschke
fcbe2e5dd5 SyncML fixes 2006-06-01 13:38:37 +00:00
Ralf Becker
208a375928 fixed not shown images, if eGW is installed in the document root, with webserver_url empty 2006-06-01 03:48:06 +00:00
Ralf Becker
ecae41f156 fixed smal prob with non existing header 2006-05-31 01:58:03 +00:00
Ralf Becker
6ccca34f85 - updated header to be processed by phpDocumentor
- fixed bug in delete pointed out by Steven Hammer
2006-05-28 02:39:39 +00:00
Ralf Becker
070e3c2861 added WebDAV access to filemanager, use the following URL:
- konq: webdav://localhost/egroupware/filemanager/webdav.php/home
- win: http://localhost/egroupware/filemanager/webdav.php/home
You can now you drag and drop to updload files or complete folders and you can edit files directly in the filemanger
2006-05-26 01:47:05 +00:00
Pim Snel
20d7921564 tplsavant enhancements needed for jinn and japie functionality 2006-05-22 17:53:56 +00:00
Lars Kneschke
87dcfb1c10 bugifx from jan 2006-05-18 14:21:29 +00:00
Miles Lott
fb4182ea66 Correct spelling 2006-05-17 06:00:12 +00:00
Ralf Becker
32dc4fdb8b bugfix: url's containg var[]=val got corrupted 2006-05-17 05:53:12 +00:00
Ralf Becker
d03b888c94 fixed old search (read) for no filter given 2006-05-17 04:15:58 +00:00
Lars Kneschke
73441f3ac3 SyncML fixes 2006-05-17 03:33:50 +00:00
Cornelius Weiß
8c0945b4d0 fix: count returns 1 if variable dosn't exists! 2006-05-16 09:22:29 +00:00
Ralf Becker
dca9b4194d bugfix for db::expression: As the function has a variable number of arguments, you CAN NOT add further parameters !!! 2006-04-30 18:23:17 +00:00
Ralf Becker
9adfc41c1e allow to create links pointing outside egw 2006-04-30 18:04:14 +00:00
Ralf Becker
c71c53851f fixed critical bug:
a too long account-lid caused the complete lost of run-rigths from all user and groups
2006-04-30 12:18:47 +00:00
Lars Kneschke
955f766a19 some minor fixes to make funambol happy 2006-04-28 05:44:43 +00:00
Ralf Becker
253c46bb9a added old field-list (stock_contact_fields) 2006-04-26 21:24:50 +00:00
Ralf Becker
897b4e1e67 moved the logic what fields to search from the uicontacts in the socontacts 2006-04-26 14:01:10 +00:00
Lars Kneschke
4c0a9c5f1b new classes to detect ldap capabilities 2006-04-26 06:01:21 +00:00
Ralf Becker
c54ebc6323 accounts_sql::save_repository(): overwrite person_id only if set in data 2006-04-25 12:44:40 +00:00
Ralf Becker
53b47fed8d new API contacts class using the contacts service of addressbook:
- it extends the bocontacts class of addressbook and
- adds some depricated methods to add basic support for the old contacts methods: read, read_single_entry, add and update
2006-04-24 20:55:16 +00:00
Ralf Becker
9c9b127de6 bugfix suggested by <martinjcole-AT-gmail.com> 2006-04-24 20:20:48 +00:00
Lars Kneschke
2bbcde1238 add default contenttype for sifcalendar 2006-04-24 09:23:02 +00:00
Lars Kneschke
df7d119bb3 enable funambol calendar sync 2006-04-24 08:25:53 +00:00
Ralf Becker
912f82fd85 - new capability for outer joins
- new/changed param to allow to use db::get_table_definitions() without setting/chaning the definitions loaded by the db-class
2006-04-23 14:50:48 +00:00
Ralf Becker
1ed3143918 moved link registry and functions for addressbook into the bocontacts class of addressbook 2006-04-23 14:49:08 +00:00