EnterpriseyIntranet / nextcloud-API

NextCloud OCS API for Python
GNU General Public License v3.0
27 stars 27 forks source link

login failed when using ldap-user #56

Open John-hyf opened 4 years ago

John-hyf commented 4 years ago

Using lastest NextCloud (v19.0.0.1) my code as follow: nxc_conn = NextCloud(endpoint=nextcloud_url, user=user_name, password=passwd, json_output=True) nxc_conn.get_connection_issues() # output: 'User does not exist'

or

nxc_conn = NextCloud(endpoint=nextcloud_url, user=user_uid, password=passwd, json_output=True) nxc_conn.get_connection_issues() # output: Current user is not logged in'

it's successful when login on web client with username/passwd! what happened? somebody can help me, thanks!