[ 
https://issues.apache.org/jira/browse/FTPSERVER-391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12931686#action_12931686
 ] 

Andrey Domas commented on FTPSERVER-391:
----------------------------------------

Thanks for your answer, Emmanuel!

In reply to notes:
 - About user exist check: no, you missed important point - for bind to LDAP 
client must use DN(which is not FTP username) User first to check just search 
user DN and put object into cache.
 - About password: no, authentication via LDAP mean try to binding to LDAP 
server. If binding is successful then password is correct(and it will be 
cached, in my patch).

> LDAP support
> ------------
>
>                 Key: FTPSERVER-391
>                 URL: https://issues.apache.org/jira/browse/FTPSERVER-391
>             Project: FtpServer
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Andrey Domas
>             Fix For: 1.1.0
>
>         Attachments: mina-1.1.0-ldap.patch
>
>
> Patch with cached LDAP support.
> Features:
>  *  Authorization from LDAP(JNDI client implementation).
>  * Cache for the search results in a directory for authentication (password 
> is cached in the successful bindu).
>     Cache options:
>       - ttl - time to live of the object in the cache (seconds)
>       - size - max. cache size(number of the objects)
>       - check-interval - interval of the periodic cleaning job(search and 
> remove expired objects, seconds)
>  * User preferences received from LDAP attributes:
>       username
>       home directory
>       enabled - if present then the user has the login permission)
>       write permission - if present then the user has the write permission 
> under home directory

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to