Dreamscapes/Ldap/Core/Ldap.php
public function saslBind(
        $bindDn = null,
        $bindPassword = null,
        $saslMech = null,
        $saslRealm = null,
        $saslAuthcId = null,
        $saslAuthzId = null,
        $props = null
    ) {
        @ldap_sasl_bind(
            $this->resource,
            $bindDn,
            $bindPassword,
            $saslMech,
            $saslRealm,
            $saslAuthcId,
            $saslAuthzId,
            $props
        );
        $this->verifyOperation();

        return $this;
    }
public function saslBind(
        $bindDn = null,
        $bindPassword = null,
        $saslMech = null,
        $saslRealm = null,
        $saslAuthcId = null,
        $saslAuthzId = null,
        $props = null
    ) {
        @ldap_sasl_bind(
            $this->resource,
            $bindDn,
            $bindPassword,
            $saslMech,
            $saslRealm,
            $saslAuthcId,
            $saslAuthzId,
            $props
        );
        $this->verifyOperation();

        return $this;
    }
Bind to LDAP directory using SASL

@param  string $bindDn
@param  string $bindPassword
@param  string $saslMech
@param  string $saslRealm
@param  string $saslAuthcId
@param  string $saslAuthzId
@param  string $props
@return self