* Sat May 18 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-8.sme
- edit LDAP entries using Net::LDAP rather than cpu [SME: 12687]
This commit is contained in:
parent
1d67d9bd64
commit
e61e1a8096
@ -143,7 +143,7 @@ if ($event eq 'ibay-create')
|
||||
foreach my $grp ( 'shared', $ibay->prop("Group") ) {
|
||||
$result = $ldap->modify("cn=$grp,ou=Groups,$base",
|
||||
add => {
|
||||
"memberUid"=> [ $ibay->prop("Uid")]
|
||||
"memberUid" => [ $ibayName ]
|
||||
});
|
||||
# error code 20 is entry already exits.
|
||||
$result->code && ( $result->code != 20 ) && ( $x = $ldapauth ne 'enabled' ? $x : 255, warn "Failed to add (ldap) account $ibayName to supplementary group $grp.\n" );
|
||||
@ -203,7 +203,7 @@ elsif ($event eq 'ibay-modify' and $ibayName ne 'Primary')
|
||||
foreach my $grp ( 'shared', $ibay->prop("Group") ) {
|
||||
$result = $ldap->modify("cn=$grp,ou=Groups,$base",
|
||||
add => {
|
||||
"memberUid"=> [ $ibay->prop("Uid")]
|
||||
"memberUid" => [ $ibayName ]
|
||||
});
|
||||
# error code 20 is entry already exits.
|
||||
$result->code && ( $result->code != 20 ) && ( $x = $ldapauth ne 'enabled' ? $x : 255, warn "Failed to add (ldap) account $ibayName to supplementary group $grp.\n" );
|
||||
|
@ -4,7 +4,7 @@ Summary: smeserver server and gateway - ibays module
|
||||
%define name smeserver-ibays
|
||||
Name: %{name}
|
||||
%define version 11.0.0
|
||||
%define release 7
|
||||
%define release 8
|
||||
Version: %{version}
|
||||
Release: %{release}%{?dist}
|
||||
License: GPL
|
||||
@ -27,7 +27,7 @@ Provides: e-smith-ibays
|
||||
smeserver server and gateway software - ibays module.
|
||||
|
||||
%changelog
|
||||
* Sat May 18 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-7.sme
|
||||
* Sat May 18 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-8.sme
|
||||
- edit LDAP entries using Net::LDAP rather than cpu [SME: 12687]
|
||||
|
||||
* Sat Apr 13 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-6.sme
|
||||
|
Loading…
Reference in New Issue
Block a user