| @@ 316-322 (lines=7) @@ | ||
| 313 | * @param string $attribute |
|
| 314 | * @return string|bool |
|
| 315 | */ |
|
| 316 | private function getEntryGidNumber($dn, $attribute) { |
|
| 317 | $value = $this->access->readAttribute($dn, $attribute); |
|
| 318 | if(is_array($value) && !empty($value)) { |
|
| 319 | return $value[0]; |
|
| 320 | } |
|
| 321 | return false; |
|
| 322 | } |
|
| 323 | ||
| 324 | /** |
|
| 325 | * returns the group's primary ID |
|
| @@ 480-486 (lines=7) @@ | ||
| 477 | * @param string $attribute |
|
| 478 | * @return string|bool |
|
| 479 | */ |
|
| 480 | private function getEntryGroupID($dn, $attribute) { |
|
| 481 | $value = $this->access->readAttribute($dn, $attribute); |
|
| 482 | if(is_array($value) && !empty($value)) { |
|
| 483 | return $value[0]; |
|
| 484 | } |
|
| 485 | return false; |
|
| 486 | } |
|
| 487 | ||
| 488 | /** |
|
| 489 | * returns the group's primary ID |
|