| Class | Net::Ping::LDAP |
| In: |
lib/net/ping/ldap.rb
|
| Parent: | Ping |
The Ping::LDAP class encapsulates methods for LDAP pings.
Creates and returns a new Ping::LDAP object. The default timeout is 5 seconds.
uri string is expected to be a full URI with scheme (ldap/ldaps) and optionally the port (else default port is assumed) e.g.
ldap://my.ldap.host.com ldap://my.ldap.host.com:1389 ldaps://my.ldap.host.com ldaps://my.ldap.host.com:6636
If a plain hostname is provided as the uri, a default port of 389 is assumed