Commit 71a97fdb authored by David Surville's avatar David Surville
Browse files

Suppression de l'attribut Ldap ucbnSquidHash

parent 63b3c6f4
Loading
Loading
Loading
Loading
+0 −19
Original line number Diff line number Diff line
@@ -154,7 +154,6 @@ class People extends Entity
        'ucbnServiceWIFI',
        'ucbnSiteLocalisation',
        'ucbnSousStructure',
        'ucbnSquidHash',
        'ucbnStatus',
        'ucbnStructureRecherche',
        'uidNumber',
@@ -215,7 +214,6 @@ class People extends Entity
        'telephoneNumber',
        'ucbnServiceADE',
        'ucbnServicePapercut',
        'ucbnSquidHash',
        'uidNumber',
        'unicaenLeocarteCSN',
        'unicaenMailPrincipal',
@@ -2249,23 +2247,6 @@ class People extends Entity
        return $this;
    }

    /**
     * Attribut Ldap "ucbnSquidHash"
     *
     * @param string $value
     * @param bool $append
     * @return $this
     * @throws Exception
     * @throws LdapException
     */
    public function setUcbnSquidHash(string $value)
    {
        $value = "Unicaen:" . md5(sprintf('%s:Unicaen:%s', $this->supannAliasLogin, $value));
        $this->appendOrNot('ucbnSquidHash', $value, false);

        return $this;
    }

    /**
     * Attribut Ldap "campusPassword"
     *
+0 −1
Original line number Diff line number Diff line
@@ -718,7 +718,6 @@ class People extends BasePeople
        parent::setUserPassword($value);
        parent::setNtPassword($value);
        parent::setSambaNTPassword($value);
        parent::setUcbnSquidHash($value);
        parent::setCampusPassword($value);

        return $this;