[Samba] Working configuration for Apache 2.4 auth vs Samba 4 AD
L.P.H. van Belle
belle at bazuin.nl
Thu Oct 8 08:10:30 UTC 2015
Hai,
In addition to the solution below, which can be a cpu saver.
AuthLDAPMaxSubGroupDepth 1
Greetz,
Louis
> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens Julien Deloubes
> Verzonden: donderdag 8 oktober 2015 0:25
> Aan: samba at lists.samba.org
> Onderwerp: [Samba] Working configuration for Apache 2.4 auth vs Samba 4 AD
>
> Hello,
> had some problem to authenticate users with AD with my Apache 2.4 website
> following the wiki page:
> https://wiki.samba.org/index.php/Authenticating_Apache_against_Active_Dire
> ctory#Basic_LDAP_authentication
>
> Here is my working configuration (thanks to
> http://httpd.apache.org/docs/2.4/en/mod/mod_authnz_ldap.html)
>
> First you need authnz_ldap module for Apache.
>
> <Location />
> AuthName "AD authentication"
> AuthBasicProvider ldap
> AuthType Basic
> AuthLDAPGroupAttribute member
> AuthLDAPGroupAttributeIsDN On
> AuthLDAPURL "ldap://addc1:3268/?sAMAccountName?sub
> AuthLDAPBindDN apache-connect at contoso.com
> AuthLDAPBindPassword password
> Require ldap-group CN=Sysadmins_GRP,OU=groups,OU=company,DC=contoso,DC=com
> </Location>
>
> Hope this will help someone and could be a good idea to update the wiki
> page.
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
More information about the samba
mailing list