Skip to content
Snippets Groups Projects
Commit 71a97fdb authored by David Surville's avatar David Surville
Browse files

Suppression de l'attribut Ldap ucbnSquidHash

parent 63b3c6f4
No related branches found
No related tags found
No related merge requests found
......@@ -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"
*
......
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment