Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
ldapi:// + SASL authentication fix. #1
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.