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