"Test was successful" seems to indicate your login credentials are working. Try to leave the LDAP Sync OU field blank and try again to manually run the sync task
Best posts made by ZedoGado
-
RE: How to configure ldap settings correctly
Latest posts made by ZedoGado
-
TOEC crashes on login policy with impersonation
Hi! I am trying to setup a policy to run on login, containing a command module. This command module is set to run as admin and when looking at the logs the last message in tray.log is:
DEBUG [1] ServiceImpersonationTask - Starting Impersonation Task
And in the event viewer I can see that TOEC clients crashes with a .Net Runtime error with ID 1026 (The process was terminated due to an unhandled exception.)
I can run this module using the instant module runner just fine. Is this a limitation of running the module on login with impersonation?
I have tried running it on setupcomplete or startup and no errors, but this particular command requires an elevated account when a regular user is already logged on (it's an user license key instalation for one app).Thank you in advance!
-
RE: Replication not working
Had the same problem with replication from SMB share. After checking all settings and permissions it ended up being solved by changing the decimal separator to '.' (dot) instead of ',' (comma), and copying the changes to the system account using the Administrative tab in the regional settings panel.
-
RE: script powershell runas acount admin problem
I have just searched the Web.config files and under the Com Server configuration file, in the Toec-API folder, there is an "EnableImpersonationAccess" key that should be set to 'true':
<add key="EnableImpersonationAccess" value="true" /> -
RE: script powershell runas acount admin problem
@theopenem_admin is this still required in version 1.5.6? I can't find anything in the documents about enabling impersonation access
Thank you!
Best regards -
RE: How to configure ldap settings correctly
"Test was successful" seems to indicate your login credentials are working. Try to leave the LDAP Sync OU field blank and try again to manually run the sync task
-
Error getting Inventory
Hi! I have been trying to deploy Theopenem in a test machine and after getting the first inventory from the machine I can no longer update it (manually or with a weekly policy). The computer logs show:
2024-03-08 10:33:04,745 INFO [81] ModuleInventory - Running Inventory Module
2024-03-08 10:33:14,592 ERROR [81] ApiRequest - Could Not Complete API Request. The Response Produced An Error.ProvisionedComm/Inventory/SubmitInventory/
2024-03-08 10:33:14,592 ERROR [81] ApiRequest - {"Value":"GN8Q4d93cMK7jyJceUpwb41NJ0PYgkaJJddsQmMw+MPuwLRAwu+tfC7T4OXZs/ZD078BZM1nGM6hAFkYH2CR8w=="}
2024-03-08 10:33:14,592 ERROR [81] ApiRequest - {"Message":"An error has occurred."}The error is not very helpful... On the server side I can see:
2024-03-08 10:33:04,428 [5] ERROR Toems_ApiCalls.ApiRequest Response Data Was Null For Resource: Socket/SendActionand there is also another error logged frequently:
2024-03-08 05:03:15,638 [Worker #8] ERROR Toems_Service.Workflows.WinGetManifestImporter System.UnauthorizedAccessException: Access to the path 'C:\Program Files\Theopenem\Toems-API\private\winget_manifests\winget-pkgs-master\manifests\j\joncampbell123\DOSBox-X\0.83.17\joncampbell123.DOSBox-X.installer.yaml' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at System.IO.Compression.ZipFileExtensions.ExtractToFile(ZipArchiveEntry source, String destinationFileName, Boolean overwrite)
at Toems_Service.ZipArchiveExtensions.ExtractToDirectory(ZipArchive archive, String destinationDirectoryName, Boolean overwrite)
at Toems_Service.Workflows.WinGetManifestImporter.ExtractManifests()In the COM server log this appears:
2024-03-08 10:33:14,459 [19] ERROR Toems_DataModel.UnitOfWork System.Data.Entity.Core.UpdateException: An error occurred while updating the entries. See the inner exception for details. ---> MySql.Data.MySqlClient.MySqlException: Data too long for column 'manufacturer' at row 1
at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)
at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)
at MySql.Data.MySqlClient.MySqlDataReader.NextResult()
at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery()
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func
3 operation, TInterceptionContext interceptionContext, Action3 executing, Action
3 executed)
at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.NonQuery(DbCommand command, DbCommandInterceptionContext interceptionContext)
at System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute(Dictionary2 identifierValues, List
1 generatedValues)
at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()Do I have a corrupted inventory because of the size of the manufacturer string? How can I fix this?
EDIT: The manufacturer information returned from Powershell 'Get-CimInstance' is "Chuwi Innovation and Technology (ShenZhen)Co.,Ltd". In the inventory that could be collected the information appears cropped at 45 characters (missing the 'Ltd' part)
Thank you!
Best regards