Commit Graph

25 Commits

Author SHA1 Message Date
Ralf Becker
262d8d6440 set network timeout for ldap connections to not block for minutes 2015-07-22 13:35:01 +00:00
Ralf Becker
5ba884f4a6 * Admin/API: remove old database based error-log 2014-07-05 08:54:36 +00:00
Ralf Becker
b0219a682f reverted accidently commited phpgwapi changes 2013-10-15 09:36:23 +00:00
Ralf Becker
0ca55a1103 * SiteMgr: fixed not working anonymous user and using now a random password 2013-10-15 09:25:49 +00:00
Ralf Becker
02e4c44624 * Addressbook/LDAP: recreation of contact (eg. because of missing objectclass) failed and lead to deleted contact or account 2013-06-18 10:45:00 +00:00
Ralf Becker
d328af7cff accounts addressbook incl. working updates for active directory 2013-06-01 17:55:33 +00:00
Ralf Becker
a211ea665d remove echo of error-message of failed ldap connection, it scares users when flushing cache in setup 2013-04-23 13:30:44 +00:00
Ralf Becker
86df4ba58b allow to use default host, but give a dn and pw 2012-07-05 07:23:06 +00:00
Ralf Becker
e1cb2efa1b moved uri parsing into _connect, to allow multiple uri not just multiple hosts and added parameter to constructor to throw exceptions instead of echoing error-messages and returning false on ldapConnect 2012-06-04 07:59:07 +00:00
Ralf Becker
8bd0e2865d keeping only info about the connected ldap server, fixes problems with changed ldap host after fallback to other server 2012-03-23 11:26:58 +00:00
Ralf Becker
61474e73c4 * LDAP: if multiple hosts given, try them all for first working one and store choice in session to start new trial only if working one fails 2012-03-21 07:55:51 +00:00
Ralf Becker
b2a6e59b09 allow to specify a port with tls too: "tls://host[:port]/" or "ldaps://host[:port]/" or "ldap://host[:port]/" or just "host" 2012-03-01 13:08:58 +00:00
Klaus Leithoff
ac2279d933 * API: is_a compatibility vs. php5.3.8 resolving to instanceof operator for most common basic classes 2011-09-26 09:52:43 +00:00
Ralf Becker
2cc8585ecb small docu about creating ssl (ldaps) or tls connections 2010-08-26 20:44:33 +00:00
Ralf Becker
ff867f4daf tls support for ldap, use "tls://host" instead of hostname 2010-08-26 20:30:01 +00:00
Ralf Becker
19e6159a4a - phpDocumentor headers and improved docu about class methods
- coding stylite cleanup
2009-08-22 06:58:38 +00:00
Klaus Leithoff
fbffb3baca fixed a bug that came with the new session handling, since session save and session restore cant handle objects, we have to serialize them first
and unserialize them on retrieval.
2008-08-29 12:43:30 +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
a33f2ab12c fix for bug #518: 2007-05-08 11:44:43 +00:00
Lars Kneschke
a934f999e9 restructured ldap connect function
- we bind now as ldap admin account to read the info about the ldap server
- we now try to use ldap v3 be default and fall back to ldap v2 when v3 fails
2006-10-28 08:38:17 +00:00
Ralf Becker
0c8f55b6ea quitened a warning 2006-06-24 15:52:42 +00:00
Ralf Becker
ae661608ab allow to use an url (eg. "ldaps://domain.com") instead just a domain name 2006-06-16 04:54:55 +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
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
Lars Kneschke
4c0a9c5f1b new classes to detect ldap capabilities 2006-04-26 06:01:21 +00:00