Commit 2763040 broke the API, returning always a PDU, when the docs states that the return value should be a boolean depending on the status of the operation performed.
Changed back return values in API methods to match what documentation…
@frsantos , Why did you change?
This change affects other gems which depends on net-ldap.
Commit 2763040 broke some API methods (like bind_as) and the contract between what their documentation says to return (a boolean) and the actual returned value (a PDU).
This commit reverted the changes in those API methods to return what its documentation said.
I got it. Thanks 😄