Skip to content

Commit

Permalink
document notes about Azure AD
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Sep 21, 2023
1 parent 08dbb54 commit 23affff
Showing 1 changed file with 20 additions and 5 deletions.
25 changes: 20 additions & 5 deletions raddb/mods-available/ldap
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ ldap {
# That will give you the LDAP information for 'user'.
#
# Group membership can be queried by using the above "ldapsearch" string,
# and adding "memberof" qualifiers. For ActiveDirectory, use:
# and adding "memberof" qualifiers. For Active Directory, use:
#
# ldapsearch ... '(&(objectClass=user)(sAMAccountName=user)(memberof=CN=group,${base_dn}))'
#
Expand Down Expand Up @@ -152,10 +152,10 @@ ldap {

# LDAP "bind as user" configuration to check PAP passwords.
#
# Active Directory needs "bind as user", which can be done by
# adding the following "if" statement to the authorize {} section
# of the virtual server, after the "ldap" module. For
# example:
# Active Directory (or Azure AD) needs "bind as user", which
# can be done by adding the following "if" statement to the
# authorize {} section of the virtual server, after the
# "ldap" module. For example:
#
# ...
# ldap
Expand All @@ -174,6 +174,21 @@ ldap {
# "Auth-Type LDAP" in order to do an LDAP "bind as user", which will hand
# the user name / password to AD for verification.
#
# Note that this ONLY works if FreeRADIUS receives a
# User-Password attribute in the Access-Request packet.
# e.g. PAP, or TTLS/PAP.
#
# CONNECTING TO ACTIVE DIRECTORY OVER LDAP WILL NOT WORK FOR
# MS-CHAP OR PEAP/MS-CHAP. ** EVER ***. THERE IS NOTHING YOU CAN
# DO TO MAKE IT WORK.
#
# If you have a local Active Directory server, you can use
# Samba and ntlm_auth. See the "mschap" and "ntlm_auth"
# modules for more information.
#
# Unfortunately, you cannot use Samba with Azure AD. You
# MUST use PAP or TTLS/PAP.
#

#
# Name of the attribute that contains the user DN.
Expand Down

0 comments on commit 23affff

Please sign in to comment.