Solved 3CX and Active Directory integration / sync users problem

Discussion in '3CX Phone System - General' started by route, Dec 3, 2016.

Thread Status:
Not open for further replies.
  1. route

    Joined:
    Dec 3, 2016
    Messages:
    13
    Likes Received:
    0
    Hello
    I have 3CX Windows server which is in a domain group. When i try to import users using AD import button its not doing anything.. no import, no errors... how can i debug the problem?

    i can properly query AD using a small windows tool at 3CX server..


    any help?
     
  2. George_3cx

    George_3cx Guest

    Dear route,

    This procedure does not import the whole database. It does import only the information of the current call asynchronously . When a call comes in, the pbx search the synchronized LDAP directory and use the contact information from there. But you will not see the information on the phone at the first call as the search is taking place. You will see the information on the second call when the contact information is imported and so on.
     
  3. route

    Joined:
    Dec 3, 2016
    Messages:
    13
    Likes Received:
    0
    is there any updated manual? or can you please tell me steps to to?
     
  4. route

    Joined:
    Dec 3, 2016
    Messages:
    13
    Likes Received:
    0
    When i press search why nothing happening ?
     

    Attached Files:

  5. route

    Joined:
    Dec 3, 2016
    Messages:
    13
    Likes Received:
    0
    how can i debug this problem? nothing happens when we click search...
     
  6. andreasc

    Joined:
    May 19, 2014
    Messages:
    35
    Likes Received:
    3
    Hi route,

    Please Check this document http://www.3cx.com/blog/docs/import-active-directory/.
    I will suggest you to change Authentication type to Negotiate as from the screenshot i can see that you use anonymous.
    If this doesn't work for you enable logging to verbose and check Management Console and System Service Log from
    %programdata%\3CX\Instance1\Data\Logs
     
  7. route

    Joined:
    Dec 3, 2016
    Messages:
    13
    Likes Received:
    0
    2016/12/10 13:35:12.716|2688|0018|Dbg|Connection id "0HL0VF543KJND" started.
    2016/12/10 13:35:12.716|2688|0055|Trc|Request starting HTTP/1.0 GET http://192.168.70.200/api/ldap/getOptions
    2016/12/10 13:35:12.717|2688|0055|Dbg|The request path /api/ldap/getOptions does not match a supported file type
    2016/12/10 13:35:12.717|2688|0055|Dbg|The request path does not match the path filter
    2016/12/10 13:35:12.717|2688|0055|Dbg|The request path /api/ldap/getOptions does not match a supported file type
    2016/12/10 13:35:12.717|2688|0055|Dbg|The request path does not match the path filter
    2016/12/10 13:35:12.717|2688|0055|Trc|Performing unprotect operation to key {7367db4a-42ba-4f3f-b343-8e92e3cb05e5} with purposes ('C:\ProgramData\3CX\Instance1\Data\Http\webroot', 'Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationMiddleware', 'Cookies', 'v2').
    2016/12/10 13:35:12.717|2688|0055|Trc|HttpContext.User merged via AutomaticAuthentication from authenticationScheme: Cookies.
    2016/12/10 13:35:12.717|2688|0055|Dbg|Request successfully matched the route with name '' and template 'api/Ldap/getOptions'.
    2016/12/10 13:35:12.717|2688|0055|Dbg|Executing action ManagementConsoleJS.Controllers.LdapController.GetOptions (3CXManagementConsole)
    2016/12/10 13:35:12.717|2688|0055|Trc|Authorization was successful for user: Administrator.
    2016/12/10 13:35:12.717|2688|0055|Trc|Authorization was successful for user: Administrator.
    2016/12/10 13:35:12.717|2688|0055|Trc|Executing action method ManagementConsoleJS.Controllers.LdapController.GetOptions (3CXManagementConsole) with arguments () - ModelState is Valid
    2016/12/10 13:35:12.717|2688|0055|Dbg|Executed action method ManagementConsoleJS.Controllers.LdapController.GetOptions (3CXManagementConsole), returned result Microsoft.AspNetCore.Mvc.ObjectResult.
    2016/12/10 13:35:12.717|2688|0055|Dbg|No information found on request to perform content negotiation.
    2016/12/10 13:35:12.718|2688|0055|Dbg|Selected output formatter 'Microsoft.AspNetCore.Mvc.Formatters.JsonOutputFormatter' and content type 'application/json' to write the response.
    2016/12/10 13:35:12.718|2688|0055|Trc|Executing ObjectResult, writing value Microsoft.AspNetCore.Mvc.ControllerContext.
    2016/12/10 13:35:12.718|2688|0055|Trc|Executed action ManagementConsoleJS.Controllers.LdapController.GetOptions (3CXManagementConsole) in 0.6822ms
    2016/12/10 13:35:12.718|2688|0055|Trc|Request finished in 1.4911ms 200 application/json; charset=utf-8
    2016/12/10 13:35:12.718|2688|0055|Dbg|Connection id "0HL0VF543KJND" disconnecting.
    2016/12/10 13:35:12.718|2688|0018|Dbg|Connection id "0HL0VF543KJND" sending FIN.
    2016/12/10 13:35:12.718|2688|0018|Dbg|Connection id "0HL0VF543KJND" sent FIN with status "0".
    2016/12/10 13:35:12.718|2688|0018|Dbg|Connection id "0HL0VF543KJND" stopped.
    2016/12/10 13:35:37.543|2688|0009|Trc|Incoming Event: REGISTRATION.51->Updated
    2016/12/10 13:35:37.543|2688|0009|Dbg|Enqueue Updated.REGISTRATION.51
    2016/12/10 13:35:37.543|2688|0009|Trc|EventConnector.Root_Updated(REGISTRATION 700)
    2016/12/10 13:35:37.543|2688|0009|Trc|EventConnector.EventRoutePoint.OnEvent(Updated REGISTRATION:700)
    2016/12/10 13:35:37.543|2688|0009|Trc|PipelineTransformer.OnEvent(Updated REGISTRATION:700)
    2016/12/10 13:35:37.543|2688|0009|Trc|InsertonFixTransformer.OnEvent(Updated REGISTRATION:700)
    2016/12/10 13:35:37.543|2688|0009|Trc|ExtensionCeationTransformer.OnEvent(Updated REGISTRATION:700)
    2016/12/10 13:35:37.543|2688|0009|Trc|ConnectionRegistrationTransformer.OnEvent(Updated REGISTRATION:700)
    2016/12/10 13:35:37.544|2688|0009|Dbg|'Updated REGISTRATION:700' skipped
    2016/12/10 13:35:37.544|2688|0009|Trc|PipelineTransformer.OnEvent(Updated REGISTRATION:700)
    2016/12/10 13:35:37.544|2688|0009|Trc|InsertonFixTransformer.OnEvent(Updated REGISTRATION:700)
    2016/12/10 13:35:37.544|2688|0009|Trc|ExtensionCeationTransformer.OnEvent(Updated REGISTRATION:700)
    2016/12/10 13:35:37.544|2688|0009|Trc|ConnectionRegistrationTransformer.OnEvent(Updated REGISTRATION:700)
    2016/12/10 13:35:37.544|2688|0009|Dbg|'Updated REGISTRATION:700' skipped
    2016/12/10 13:35:37.545|2688|0008|Dbg|Dequeue Updated.REGISTRATION.51
    2016/12/10 13:35:37.545|2688|0008|Dbg|GetGroupsChange enters
    2016/12/10 13:35:37.545|2688|0008|Dbg|GetGroupsChange ends
    2016/12/10 13:35:37.545|2688|0008|Dbg|Processed REGISTRATION.51
     
  8. andreasc

    Joined:
    May 19, 2014
    Messages:
    35
    Likes Received:
    3
    Hi route ,

    Do you use firefox ? if yes please try from chrome and let us know if that was the issue
     
    admin likes this.
  9. route

    Joined:
    Dec 3, 2016
    Messages:
    13
    Likes Received:
    0
    i waste 1 week, its done with chrome!
     
Thread Status:
Not open for further replies.