auth:ldap_ad
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
auth:ldap_ad [2016-09-26 09:07] – [Active Directory with groups] 124.39.43.146 | auth:ldap_ad [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== LDAP Auth Backend: Active Directory Examples ====== | ||
- | | Since the release 2013-05-10 “Weatherwax”\\ see AuthLDAP [[plugin: | ||
- | Below are example configurations for use with the [[auth: | ||
- | |||
- | Please note that there is a dedicated [[auth: | ||
- | |||
- | Note: Beware of uppercase in domain names, login will work but the use of Active Directory group won't, use a tool like [[http:// | ||
- | |||
- | ===== Active Directory with groups ===== | ||
- | |||
- | * replace " | ||
- | |||
- | <code php> | ||
- | $conf[' | ||
- | $conf[' | ||
- | $conf[' | ||
- | $conf[' | ||
- | $conf[' | ||
- | $conf[' | ||
- | $conf[' | ||
- | $conf[' | ||
- | $conf[' | ||
- | $conf[' | ||
- | $conf[' | ||
- | $conf[' | ||
- | </ | ||
- | |||
- | If you receive a binding error like "LDAP: bind with xxx failed [ldap.class.php: | ||
- | |||
- | <code php> | ||
- | $conf[' | ||
- | </ | ||
- | |||
- | Replace domain with your domain name. | ||
- | |||
- | If you need nested group. | ||
- | <code php> | ||
- | $conf[' | ||
- | </ | ||
- | |||
- | |||
- | ===== Limit access to USR_* only ===== | ||
- | |||
- | <code php> | ||
- | $conf[' | ||
- | $conf[' | ||
- | $conf[' | ||
- | $conf[' | ||
- | $conf[' | ||
- | $conf[' | ||
- | $conf[' | ||
- | //remember dn is the full dn to the user's account - filters on groups starting with USR_ | ||
- | $conf[' | ||
- | $conf[' | ||
- | $conf[' | ||
- | </ |
auth/ldap_ad.1474873677.txt.gz · Last modified: 2016-09-26 09:07 by 124.39.43.146