Ldap - Active Directory - Windows Server 2012 R2 - Work Fine Topic is solved

This forum is for issues with installing Joomla! 3.x on IIS webservers.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Post Reply
andreasoc
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Fri Nov 16, 2018 3:42 pm

Ldap - Active Directory - Windows Server 2012 R2 - Work Fine

Post by andreasoc » Thu Nov 22, 2018 10:22 am

I want to leave an feedback for others users to facilitate integration of Joomla 3.9 with Ldap Integration for login with the same username e password of your Windows PC.

I have Windows Server 2012 R2 with Active Directory and after lots of research and tests I found the solution!
This is my plugin ldap configuration:

Host: IP OR SERVER NAME
Port: 389
LDAP V3: Yes
Negotiate TLS: No
Follow Referrals: No
Authorisation Method: Bind and Search (THIS IS IMPORTANT..I USE BIND DIRECTLY AND USED.. AND i only worked the admin account)
Base DN: DC=mydomain,DC=com (all users of your AD work it)
Search String: sAMAccountName=[search]
User's DN:
Connect Username: cn=joomlatest,cn=Users,dc=mydomain,dc=com
Password: ***********
Map: displayName
Map: mail
Map: sAMAccountName

after that go to Global configuration --> Permissions
and set PUBLIC --> (Action) Site Login --> Allowed.

I hope to help someone. 8) ;)
Last edited by toivo on Thu Aug 01, 2019 3:51 pm, edited 2 times in total.
Reason: mod note: moved to 3.x on IIS on request

andreasoc
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Fri Nov 16, 2018 3:42 pm

Re: Ldap - Active Directory - Windows Server 2012 R2 - Work Fine

Post by andreasoc » Thu Nov 22, 2018 10:30 am

ps. the official documentation about this is old and little detailed, so I hope to have given you help

geekonthepc
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Thu Aug 01, 2019 1:23 pm

Re: Ldap - Active Directory - Windows Server 2012 R2 - Work Fine

Post by geekonthepc » Thu Aug 01, 2019 1:50 pm

I just signed up to this forum to thank you for this post! I've spent the last 2 days trying various configs to get it right and finally I've got a working connection.

Cheers!

andreasoc
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Fri Nov 16, 2018 3:42 pm

Re: Ldap - Active Directory - Windows Server 2012 R2 - Work Fine

Post by andreasoc » Thu Aug 01, 2019 1:55 pm

geekonthepc wrote:
Thu Aug 01, 2019 1:50 pm
I just signed up to this forum to thank you for this post! I've spent the last 2 days trying various configs to get it right and finally I've got a working connection.

Cheers!
i'm happy for this!
this is the COmmunity ;)

ray2940
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue Jun 18, 2019 4:07 am

Re: Ldap - Active Directory - Windows Server 2012 R2 - Work Fine

Post by ray2940 » Fri Aug 02, 2019 2:04 am

I just came across this post. Was very helpful and works for my active directory administrator account but now other accounts. There's no onscreen error. It just doesn't login.

Any ideas what the problem could be?
Is there a debug log somewhere?
I look in the apache error log but there is no errors there.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 26028
Joined: Mon Oct 27, 2008 9:27 pm
Location: Akershus, Norway

Re: Ldap - Active Directory - Windows Server 2012 R2 - Work Fine

Post by Per Yngve Berg » Fri Aug 02, 2019 4:52 am

A requirement is that the LDAP plugin returns all required fields for Joomla to create a user.

ray2940
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue Jun 18, 2019 4:07 am

Re: Ldap - Active Directory - Windows Server 2012 R2 - Work Fine

Post by ray2940 » Fri Aug 02, 2019 5:46 am

So how do you confirm or ensure that is happening?
I don't see anything in the logs and there is no error on the screen.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 26028
Joined: Mon Oct 27, 2008 9:27 pm
Location: Akershus, Norway

Re: Ldap - Active Directory - Windows Server 2012 R2 - Work Fine

Post by Per Yngve Berg » Fri Aug 02, 2019 7:39 am

Is "User name", "Full Name" and "Email" mapped to a LDAP field?

PS. This topic is marked as solved, so you wan't get mutch attention here. Alwayas make your own new topic.


Post Reply

Return to “Joomla! 3.x on IIS webserver”