Hi,
I got AD Integration 1.0-RC4 setup on my site, however when a user account is created it is not pulling in all of the data. Only the samaccount name is displayed. As you can see below I'm receiving an LDAP search error.
Any help would be greatly appreciated!
AD Integration Logon Test
openLDAP installed
[INFO] method authenticate() called
[INFO] ------------------------------------------
PHP version: 5.2.4-2ubuntu5.14
WP version: 3.1
ADI version: 1.0-RC4 (201103181213)
OS Info : Linux wordpress 2.6.24-28-virtual #1 SMP Wed Nov 24 10:38:58 UTC 2010 i686
Web Server : apache2handler
adLDAP ver.: 3.3.2 Extended (201102221155)
------------------------------------------
[INFO] loading options (WPMU) ...
[NOTICE] username: theuser
[DEBUG] password: thepassword
[INFO] Options for adLDAP connection:
- account_suffix: @thedomain.com
- base_dn: ou=users,dc=thedomain,dc=com
- domain_controllers: win2008dc1.thedomain.com;pdxdc1.thedomain.com;win2008dc3
- ad_username:
- ad_password:
- ad_port: 389
- use_tls: 0
[INFO] Bind User not set and will not be used.
[NOTICE] adLDAP object created.
[INFO] max_login_attempts: 3
[INFO] users failed logins: 1
[NOTICE] Authentication successfull
[NOTICE] cleaning up failed logins for user "theuser"
[INFO] user role:
[DEBUG] ATTRIBUTES TO LOAD: Array
(
[0] => cn
[1] => givenname
[2] => sn
[3] => displayname
[4] => description
[5] => mail
[6] => samaccountname
)
Warning: ldap_search() [function.ldap-search]: Search: No such object in /var/www/wordpress/wp-content/plugins/active-directory-integration/ad_ldap/adLDAP.php on line 1039
Warning: ldap_get_entries(): supplied argument is not a valid ldap result resource in /var/www/wordpress/wp-content/plugins/active-directory-integration/ad_ldap/adLDAP.php on line 1040
[DEBUG] USERINFO[0]:
[NOTICE] Creating user 'theuser' with following data:
- email: theuser@thedomain.com
- first name:
- last name:
- display name: theuser
- role:
[DEBUG] Setting random password.
[NOTICE] - user_id: 42
[DEBUG] cn = / type = string / meta key = adi_cn
[DEBUG] givenname = / type = string / meta key = adi_givenname
[DEBUG] sn = / type = string / meta key = adi_sn
[DEBUG] displayname = / type = string / meta key = adi_displayname
[DEBUG] description = / type = string / meta key = adi_description
[DEBUG] mail = / type = string / meta key = adi_mail
[DEBUG] samaccountname = / type = string / meta key = adi_samaccountname
[NOTICE] FINISHED
User logged on.