-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LDAP User First time login is disabled #7471
Comments
cc @nextcloud/ldap |
Anything when you go to Users page and click on "Disabled" on the left pane? |
Apologies for taking so long to get back. Nothing when I go to disabled users in the web interface or the CLI . The user (She) never gets logged in. If I add her to my AD group and try and log in I get the "User is Disabled" prior to the profile even being made in my nextcloud data directory (/var/ncdata/). That being said I have tried an occ user:info and user:enable to no avail because there is no profile there. I currently have her using a local login and she is working. However, if I add her to the user group in AD and she tries to login, I get the same error message. I assumed, since she has a profile in my /var/ncdata already that it would just log her in with AD credentials and be mapped. That is not the case... Edit 12/26/2017 I also looked in my oc_accounts for her uid or username and there is nothing there. |
Perhaps she is disabled in AD which refuses the login. |
No, she is an active user on the domain. Although several times for good measure I reset her password and made sure the account was unlocked. |
Cannot replicate issue with any other user profile. |
Hi Nextcloud team, @ahoward22 , Was this issue resolved? i'm currently facing this issue on 12.0.7, i tried many ways of cleaning the user data and removing and adding in the LDAP settings, keeps showing on the login screen "User Disabled", yet the user does not show up under disabled users and not disabled in active directory, kindly advise what steps i can take or update in the database to resolve this... Many thanks in advance, |
Steps to reproduce
Expected behaviour
The user should successfully login
Actual behaviour
The user, who has never logged in to the Nextcloud Server, is presented with "User disabled" upon putting in the correct credentials
I cannot see the User disabled in Nextcloud GUI or CLI while searching for UUID or username.
**This does not happen for every user. There are 107 users in the group and it has happened to 2 users. Under the admin > LDAP config tab I can put in the username and it says "User found: OK" for the user I am specifically working on
Server configuration detail
Operating system: Linux 4.4.0-103-generic #126-Ubuntu SMP Mon Dec 4 16:23:28 UTC 2017 x86_64
Webserver: Apache/2.4.18 (Ubuntu) (apache2handler)
Database: mysql 5.7.20
PHP version: 7.0.22-0ubuntu0.16.04.1
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, standard, apache2handler, mysqlnd, PDO, xml, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, imap, intl, json, ldap, exif, mcrypt, mysqli, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, readline, shmop, SimpleXML, smbclient, sockets, sqlite3, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xmlreader, xmlwriter, xsl, zip, libsmbclient, Zend OPcache
Nextcloud version: 12.0.4 - 12.0.4.3
**Updated from an older Nextcloud/ownCloud or fresh install: Updated from 12.0.0
**Where did you install Nextcloud from: OVA Template
Signing status
Array
List of activated apps
Configuration (config/config.php)
**Are you using external storage, if yes which one: Local
**Are you using encryption: No
**Are you using an external user-backend, if yes which one: LDAP
LDAP configuration (delete this part if not used)
Client configuration
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36
**Operating system: Windows 10 1607
Logs
Nextcloud log
The text was updated successfully, but these errors were encountered: