ldapi:// + SASL authentication fix. #1

Merged
merged 1 commit into from Apr 28, 2011

Conversation

Projects
None yet
2 participants
@cmikk
Contributor

cmikk commented Apr 28, 2011

When performing SASL authentication, the Net::LDAP calls the ->peerhost() method on the LDAP connection's IO::Socket object. For UNIX domain sockets, no peerhost() method is defined. This patch checks whether the peerhost() method is defined before calling it.

Chris Mikkelson
Check whether LDAP socket object has a peerhost() method defined
before calling it. This fixes SASL authentication over UNIX domain
(ldapi://) sockets.

gbarr added a commit that referenced this pull request Apr 28, 2011

Merged pull request #1 from cmikk/master.
ldapi:// + SASL authentication fix.

@gbarr gbarr merged commit bdd254c into perl-ldap:master Apr 28, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment