Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • basemaly, I did the following:

    1. Moved all users to a new OU called companyname_Users in the root of my AD
    2. Set baseDN in ADI->Server to ou=companyname_Users,DC=domain,DC=local
    3. Set Import members of security groups in ADI->Bulk Import to id:513

    And that works.

    tuneo, I tried as you said and it helped me too. Thank you very much.

    ssergutaboselaw, are you trying to say that I can get userlist from my AD without any passwords? All I have to specify is user? No authorization’s required? It’s nonsense!
    I’m trying to say that I can’t access my AD until I wrote password directly in the plugin’s code. So it seems that the password is not stored anywhere.

    Jason, I can’t get the idea: how can I access AD without a password? What kind of user should it be?

    BTW. By changing id (for example to 514) I can get users from almost all other groups. “Almost” means that I still can’t reach desired groups (for example with id:1123)

    Whoa! I made this think work. Only by using “id:513” in “Import members of security groups”.

    I got:
    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in //wp-content/plugins/active-directory-integration/ad_ldap/adLDAP.php on line 2581

    for every imported user. But still I got a list of users imported.

    Still have no idea what to do with password ??

    And I imported the whole Domain Users group which is not neсessary at all ??

    I got the same issue as tuneo did.

    [INFO] ————————————-
    START OF BULK IMPORT
    2014-10-02 / 07:11:12
    ————————————-

    [INFO] Options for adLDAP connection:
    – base_dn: dc=domain,dc=local
    – domain_controllers: domain.local
    – ad_username: [email protected]
    – ad_password: **not shown**
    – ad_port: 389
    – use_tls: 0
    – network timeout: 5
    [ERROR] adLDAP exception: Bind to Active Directory failed. Check the login credentials and/or server details. AD said: Success

    It seems that ADI did not store password for bulk importer. I tried to inject password directly into the code and that changed situation into this.

    [INFO] ————————————-
    START OF BULK IMPORT
    2014-10-02 / 07:18:37
    ————————————-

    [INFO] Options for adLDAP connection:
    – base_dn: dc=doamin,dc=local
    – domain_controllers: dc-01.domain.local
    – ad_username: [email protected]
    – ad_password: **not shown**
    – ad_port: 389
    – use_tls: 0
    – network timeout: 5
    [NOTICE] adLDAP object created.
    [INFO] Domain Controller: dc-01.domain.local

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in //wp-content/plugins/active-directory-integration/ad_ldap/adLDAP.php on line 2581
    [ERROR] Error retrieving group members for group “Users”.

    [INFO] Number of users to import/update: 2 (list generated in 0 seconds)
    [NOTICE] Updating user “” with following data:
    – email :
    – first name :
    – last name :
    – display name :
    – account suffix:
    – role :
    [NOTICE] – user_id : 3
    [INFO] Enabling user “”.
    [NOTICE] Updating user “” with following data:
    – email :
    – first name :
    – last name :
    – display name :
    – account suffix:
    – role :
    [NOTICE] – user_id : 2
    [INFO] Enabling user “”.
    [INFO] 0 Users added.
    [INFO] 2 Users updated.
    [INFO] In 0 seconds.
    [INFO] ————————————-
    END OF BULK IMPORT
    2014-10-02 / 07:18:37
    ————————————-

    But new users are still not imported. It’s so sad ?? What am I doing wrong?

Viewing 7 replies - 1 through 7 (of 7 total)