On Tue, Sep 9, 2014 at 1:30 PM, Pin Gu <pingu8007 at gmail.com> wrote: > I'm tring to config ocserv with LDAP server, which is success to auth > user to log in SSH. However, when I connect to ocserv with OpenConnect > (Android), the auth failed immediately after I entered my username > without asking my password. Thanks for reporting that. I cannot reproduce your environment, so I may have to ask you to use ocserv from the master branch. I assume here that /etc/pam.d/ocserv is a working configuration for pam (e.g., the same used for ssh). In that case could you send me the debugging information from ocserv in the git repository? That would clarify whether the is some issue in the pam conversation with pam_ldap. regards, Nikos