1
jaffic
Active Directory SSL connection
  • 2014/3/5 7:42

  • jaffic

  • Just popping in

  • Posts: 2

  • Since: 2014/3/5 7


Hi,

I can't find any solution and have no idea what doing next.

Is there any chance to connect from xoops to Active Directory with SSL connection on port 636?

Connection without SSL on port 389 is OK.

Thank You for your help

2
Mamba
Re: Active Directory SSL connection
  • 2014/3/5 16:18

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


I never used that and I don't think, I have the expertise to help here.

Maybe somebody else could jump in?
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

3
iHackCode
Re: Active Directory SSL connection

You should be able to configure the authentication options "LDAP - Server Name" as ldaps://yourhostname.tld and the "LDAP - Port Number" as 636 to be able to use Active Directory over SSL.

Note: Make sure that 'Use TLS connection' is not enabled, that is for port 389 and upgrading to TLS.

4
jaffic
Re: Active Directory SSL connection
  • 2014/3/6 8:13

  • jaffic

  • Just popping in

  • Posts: 2

  • Since: 2014/3/5 7


Thanks for your help, but port 636 as "LDAP - Port Number" didn't connect.

But I figured out how can I connect:

"LDAP - Port number" - 0
"LDAP - Server Name" - ldaps://ipaddress:636

In /etc/ldap.conf must be:
TLS_REQCERT never

+ restart apache server

Then, I can connect correctly.

5
iHackCode
Re: Active Directory SSL connection

Glad you got it working.

I looked up the ldap_connect function to figure out why it didn't use the "LDAP - Port number". If you use a URL instead of a hostname in the first argument, the second argument for the port is not used. It uses the URL instead, if anyone was wondering.

6
Mamba
Re: Active Directory SSL connection
  • 2014/3/6 8:54

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


Thanks! I placed that under your name to our FAQ
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

Login

Who's Online

226 user(s) are online (166 user(s) are browsing Support Forums)


Members: 0


Guests: 226


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits