mirror of
https://github.com/misterunknown/ifm.git
synced 2025-08-18 13:51:16 +02:00
Adding new ldap filter feature and example
@@ -17,6 +17,12 @@ Currently there are three supported authentication sources:
|
||||
* The file should be a valid htpasswd file. It can be generated using the [htpasswd](https://httpd.apache.org/docs/current/programs/htpasswd.html) utility.
|
||||
|
||||
### ldap
|
||||
* syntax: `ldap;<SERVER>;<ROOTDN>`
|
||||
* syntax: `ldap;<SERVER>;<ROOTDN>[;<FILTER>]`
|
||||
* `<SERVER>` has to be the ip or name of the server. You can optional specify the port separated with a colon.
|
||||
* `<ROOTDN>` specifies the rootdn. The IFM prepends "uid=" and the entered username.
|
||||
* `<ROOTDN>` specifies the rootdn. The IFM prepends "uid=" and the entered username.
|
||||
* `<FILTER>` is optional and specifies a common ldap filter string, which can for example be used to specify a group or something
|
||||
|
||||
full ldap example:
|
||||
```
|
||||
ldap;cn=accounts,dc=company,dc=com;(&(!(nsAccountLock=TRUE))(memberOf=cn=web_editors,cn=groups,cn=accounts,dc=example,dc=com))
|
||||
```
|
Reference in New Issue
Block a user