-
Notifications
You must be signed in to change notification settings - Fork 4
No accounts found. You have no attached accounts. #6
Comments
Is there anything in the log file of afp-core/Apache when this happens? You can get debug logging for afp-core as shown here. I think you also had to configure rsyslog to log debug messages, otherwise rsyslog receives the messages but discards them. I cannot really speak for the JavaScript part, though. @SebastianStiehl would be the expert for that. |
It looks like that NSS and the grp-provider is the problem. We use the following configuration /etc/sssd/sssd.conf
/etc/nsswitch.conf
/etc/pam.d/httpd-auth
apache.conf
After we have increased the log level for sssd, pam and nss to 9 we could see that the grp-provider execute NSS to get the groups from the user. NSS breaks the request always with the following error message, but replied a success.
We suppose that the NSS requested the files-modul (the local files) and NSS breaks up the request as a consequence of "Domain LDAP does not support enumeration" error. However, since NSS replied a success the sss-modul isn't used to request LDAP for the groups. I will investigate the problem again next week! |
Currently, I can't configure NSS that it works with the grp_provider when enumerate is disabled. I tried the following nsswitch.conf configurations:
The authentication with apache works well, PAM triggers LDAP to receive the user and group information and all data are also received by LDAP. The wsgi-script with all their classes are successfully initialized but the grp_provider only received the local groups. Env:
|
Should be fixed, see #7 |
it's fixed! |
we are using afp-core as STS for our company to login into the AWS Console. The setup was built with puppet and the afp was deployed automatically which everything is fine.
From time to time we observed that someone got the error message "No accounts found. You have no attached accounts." even he entered the corrected password and the username was already configured properly.
The error message is not easy to reproducible, for example i tried 2 hours today and it doesn't come, but yesterday twice.
We setup afp-core + apache + sssd as the description.
an investigation in the source code i found that the function getAccountList return Errormessage but didn't understand why the login is working, it still return the Error Message
afp-web/js/service/userMessageService.js
` function getAccountList(callback) {
var error = {};
afp-web/js/controller/AccountlistController.js
` userMessageService.getAccountList(function (err, loginstatus, accounts) {
$scope.loginstatus = loginstatus;
afp-web/templates/resultlist.html
The text was updated successfully, but these errors were encountered: