Jump to content

LDAP Authentication help


THEK

Recommended Posts

Hi,

 

I'm completely new to LDAP authentication but have managed to get a fairly smooth working script. However, I was wondering what is the easiest way to get a BASEDN from a Fully Qualified Domain Name.

 

At the moment I have a loop which would take:

 

example.com

 

and turn it into

dc=examplem,dc=com

 

But is that the best way?

Link to comment
https://forums.phpfreaks.com/topic/254537-ldap-authentication-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.