fix
This commit is contained in:
parent
df86859903
commit
2c4e6db03a
@ -88,7 +88,7 @@ public class LdapUserImporter : IDisposable
|
||||
|
||||
public void Init(LdapSettings settings, LdapLocalization resource)
|
||||
{
|
||||
LdapHelper.Init(settings);
|
||||
((NovellLdapHelper)LdapHelper).Init(settings);
|
||||
Resource = resource;
|
||||
}
|
||||
|
||||
|
@ -459,4 +459,12 @@ public abstract class LdapOperation
|
||||
return Resource.LdapSettingsErrorUnknownError;
|
||||
}
|
||||
}
|
||||
|
||||
public static class LdapOperationExtension
|
||||
{
|
||||
public static void Register(DIHelper services)
|
||||
{
|
||||
services.TryAdd<NovellLdapSettingsChecker>();
|
||||
}
|
||||
}
|
||||
}
|
@ -19,7 +19,7 @@
|
||||
using Constants = ASC.Core.Users.Constants;
|
||||
|
||||
namespace ASC.ActiveDirectory.ComplexOperations;
|
||||
[Scope]
|
||||
[Scope(Additional = typeof(LdapOperationExtension))]
|
||||
public class LdapSaveSyncOperation : LdapOperation
|
||||
{
|
||||
private LdapChangeCollection _ldapChanges;
|
||||
|
Loading…
Reference in New Issue
Block a user