src/LdapTools/Ldif/Entry/LdifEntryTrait.php
protected function isUnicodePwdHackNeeded()
    {
        if (!(isset($this->connection) && $this->connection->getConfig()->getLdapType() == LdapConnection::TYPE_AD && isset($this->schema))) {
            return false;
        }

        return $this->schema->hasNamesMappedToAttribute('unicodePwd');
    }
protected function isUnicodePwdHackNeeded()
    {
        if (!(isset($this->connection) && $this->connection->getConfig()->getLdapType() == LdapConnection::TYPE_AD && isset($this->schema))) {
            return false;
        }

        return $this->schema->hasNamesMappedToAttribute('unicodePwd');
    }
protected function isUnicodePwdHackNeeded ( ) { if ( ! ( isset ( $ this -> connection ) && $ this -> connection -> getConfig ( ) -> getLdapType ( ) == LdapConnection :: TYPE_AD && isset ( $ this -> schema ) ) ) { return false ; } return $ this -> schema -> hasNamesMappedToAttribute ( 'unicodePwd' ) ; }
Determine if we might need to work around the unusual formatting for unicodePwd. This is pretty much the only
attribute that will ever need a special case for conversion for LDIF creation.

@todo How to get around this? Implementing another attribute conversion type for just a single attribute seems silly.
@link https://support.microsoft.com/en-us/kb/263991
@return bool
Determine if we might need to work around the unusual formatting for unicodePwd . This is pretty much the only attribute that will ever need a special case for conversion for LDIF creation .