Link to home
Start Free TrialLog in
Avatar of bxglxbxglx2000
bxglxbxglx2000

asked on

How to fix PHPBB connect to LDAP (AD on Win2003)

I need config PHPBB authenticate with user in AD of Win2003
My server ip is 10.0.0.9, and I test connect LDAP OK (with LdapAdmin )

But I have problem with LDAP parameters:

 User generated image
If I type real administrator password of server 2003 to LDAP password box,  result is:
 User generated image
If I type wrong administrator password of server 2003 to LDAP password box,  result is:
 User generated image
How can I fix it ?
Thank you!
Avatar of Chris Dent
Chris Dent
Flag of United Kingdom of Great Britain and Northern Ireland image


Mostly fine, I think your real problem is 4.

4. Should be SamAccountName, but it depends on what you use as the logon name. Start with SamAccountName

6. mail

Chris
Avatar of bxglxbxglx2000
bxglxbxglx2000

ASKER

I already fill "SamAccountName" in 4 and mail in 6, but still error

"Could not find a login identity for administrator"
ASKER CERTIFIED SOLUTION
Avatar of Chris Dent
Chris Dent
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you, But Not success!
(I only user administrator account for test now, not use in production!)

This is result of your command:
C:\Documents and Settings\Administrator>dsquery user -samid administrator
"CN=Administrator,CN=Users,DC=home,DC=hht"

And I already filled it
also your line in fillter (5): (&(objectClass=user)(objectCategory=person))

If I change to WRONG password of Administrator, It say:
Binding to LDAP server failed with specified user/password.

If I change to TRUE password of Administrator, It say:
 "Could not connect to LDAP server"





I recommend Delete - Refund.

Chris
I already fix this problem:

4: SamAccountName

7, 8: Account login to Window Server (AD)
Or Account login to admin AD.

Thanks!