Compare commits
2 Commits
d4c2274d34
...
d1a3187cba
Author | SHA1 | Date | |
---|---|---|---|
d1a3187cba | |||
8574a7e35a |
1
Makefile
1
Makefile
@ -8,7 +8,6 @@ EOLE_VERSION=2.6
|
|||||||
EOLE_RELEASE=2.6.2
|
EOLE_RELEASE=2.6.2
|
||||||
PKGAPPS=web
|
PKGAPPS=web
|
||||||
|
|
||||||
|
|
||||||
################################
|
################################
|
||||||
# Début de zone à ne pas éditer
|
# Début de zone à ne pas éditer
|
||||||
################################
|
################################
|
||||||
|
@ -441,6 +441,10 @@ class ldapService
|
|||||||
$attrs['cn'] = $niveau01->getLabel();
|
$attrs['cn'] = $niveau01->getLabel();
|
||||||
$attrs['gidNumber'] = $niveau01->getId();
|
$attrs['gidNumber'] = $niveau01->getId();
|
||||||
$attrs['siren'] = $niveau01->getSiren();
|
$attrs['siren'] = $niveau01->getSiren();
|
||||||
|
|
||||||
|
if($this->type=="AD") {
|
||||||
|
$attrs['sAMAccountName'] = $niveau01->getLabel();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getNiveau01DN($id) {
|
public function getNiveau01DN($id) {
|
||||||
@ -530,6 +534,10 @@ class ldapService
|
|||||||
$attrs['gidNumber'] = $niveau02->getId();
|
$attrs['gidNumber'] = $niveau02->getId();
|
||||||
$attrs['siret'] = $niveau02->getSiret();
|
$attrs['siret'] = $niveau02->getSiret();
|
||||||
$attrs['postalAddress'] = $niveau02->getPostaladress();
|
$attrs['postalAddress'] = $niveau02->getPostaladress();
|
||||||
|
|
||||||
|
if($this->type=="AD") {
|
||||||
|
$attrs['sAMAccountName'] = $niveau02->getLabel();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getNiveau02DN($id) {
|
public function getNiveau02DN($id) {
|
||||||
@ -616,6 +624,10 @@ class ldapService
|
|||||||
$attrs['cn'] = $group->getLabel();
|
$attrs['cn'] = $group->getLabel();
|
||||||
$attrs['gidNumber'] = $group->getId();
|
$attrs['gidNumber'] = $group->getId();
|
||||||
$attrs['mail'] = $group->getEmail();
|
$attrs['mail'] = $group->getEmail();
|
||||||
|
|
||||||
|
if($this->type=="AD") {
|
||||||
|
$attrs['sAMAccountName'] = $group->getLabel();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getGroupDN($id) {
|
public function getGroupDN($id) {
|
||||||
|
Reference in New Issue
Block a user