This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SafeGuard 7.00.0.97 - sync new OUs from AD into Console

Dear Community

In an already exist safeguard implementation with ADsync, whitch works fine, I have to sync new generated OU Strukture from AD into the Enterprise Console, where new User and Workstation Objects are into.

I have tried to follow the instructions from the Sample API Script AddObjectToSGN.vbs, but that script did not work correctly - unfortunately without any error message, so I tried to switch to Powershell.

After loading the DotNet Assembly  with

[System.Reflection.Assembly]::LoadWithPartialName("Utimaco.SafeGuard.AdministrationConsole.Scripting")

I want to create the required object with

new-object Utimaco.SafeGuard.AdministrationConsole.Scripting.Base

but there come an error message with 

new-object : Exception calling ".ctor" with "0" argument(s): "Could not load file or assembly 'SGM_CBIWrapper, Version=7.0.0.97, Culture=neutral, PublicKeyToken=477ad77cf9ac4e6c'
or one of its dependencies. The system cannot find the file specified."

looks like an missing dependencies, but which one ??

System Informations:

The System is installed on a fresh setuped 2012R2 Standard with whole updates installed.

DotNet Version = 4.0.30319

Utimaco.SafeGuard.AdministrationConsole.Scripting.dll Version = 7.00.0.97

SGM_CBIWrapper.dll Version  = 7.00.0.97

System is patched with SGN700MC_ADSyncUserStatePatch.msp

thanks for any help!

kind regards 

Matthias Seuchter



This thread was automatically locked due to age.
Parents
  • Hi,

    Can you please clarify what you are trying to do?

    It sounds like you are simply trying to add another domain to your existing Safeguard server installation, if I am understanding you correctly, you don't need to be running a script to import the new domain, just follow the steps below:

    2. In the SafeGuard Management Center, select Tools > Options.
    2. Select the Directory tab and click Add.
    3. In LDAP Authentication, do the following:
    a) For Server name or IP, enter the NetBIOS name of the domain controller or its IP address.
    b) For User Credentials, enter your Windows user name and password for the environment.
    c) Click OK.
    Note: For Windows single computers, a directory must be shared to enable a connection
    through LDAP.
    4. Click Users and Computers.
    5. In the left-hand navigation window, click the root directory Root [filter is active].
    6. In the action area on the right, select the Synchronize tab.
    7. Select the required directory from the Directory DSN list and click the magnifier icon (top
    right).
    A graphical representation of the Active Directory structure of the organizational units (OU) in
    your company is displayed.

    Paul D
  • Hi Paul

    No, thats not the think I have to do - I have to Sync complete new OUs from really same AD into console, because of restructuring from it.


    So I followed the documentation , but by this error , the OUs are not synced

    Thanks,
    Matthias
  • FormerMember
    0 FormerMember in reply to MatthiasSeuchter
    Hi Matthias,

    As Joe mentioned the script just syncs what has been selected in the SafeGuard Management Centre - the reason for this is so as not to import things automatically that you don't want in there, especially if you only manage a small portion of your network with SafeGuard.

    Once you've imported the new OU and synced it the script will sync it from there onwards.
Reply
  • FormerMember
    0 FormerMember in reply to MatthiasSeuchter
    Hi Matthias,

    As Joe mentioned the script just syncs what has been selected in the SafeGuard Management Centre - the reason for this is so as not to import things automatically that you don't want in there, especially if you only manage a small portion of your network with SafeGuard.

    Once you've imported the new OU and synced it the script will sync it from there onwards.
Children