DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:authldap

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
plugin:authldap [2019-04-26 07:41] – Correction d'une typo (it's => its) + generalisation du type de server schplurtzplugin:authldap [2019-08-18 22:26] – Update lastupdate per plugin.info.txt phy25
Line 6: Line 6:
 email      : andi@splitbrain.org email      : andi@splitbrain.org
 type       : Auth type       : Auth
-lastupdate : 2014-05-18+lastupdate : 2015-07-13
 compatible : (bundled) compatible : (bundled)
 depends    :  depends    : 
Line 80: Line 80:
 $conf['plugin']['authldap']['userfilter' = '(&(uid=%{user})(objectClass=posixAccount))'; $conf['plugin']['authldap']['userfilter' = '(&(uid=%{user})(objectClass=posixAccount))';
 $conf['plugin']['authldap']['groupfilter'] = '(&(objectClass=posixGroup)(memberUID=%{user}))'; $conf['plugin']['authldap']['groupfilter'] = '(&(objectClass=posixGroup)(memberUID=%{user}))';
 +$conf['plugin']['authldap']['attributes' = array('cn', 'displayname', 'mail', 'givenname', 'objectclass', 'sn', 'uid', 'memberof');
  
 # This is optional but may be required for your server: # This is optional but may be required for your server:
Line 133: Line 134:
 | name      | ''%%'displayname'%%''                       | Replace the content of name with first element of 'displayname' attribute. |  | name      | ''%%'displayname'%%''                       | Replace the content of name with first element of 'displayname' attribute. | 
  
 +
 +//attributes// is an array that defines what attributes needs to be fetched during a LDAP user search.
  
 Authentication is done in these steps: Authentication is done in these steps:
plugin/authldap.txt · Last modified: 2023-08-24 17:03 by 65.128.43.215

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki