-
Notifications
You must be signed in to change notification settings - Fork 50
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
Issue: Get error: unable to open named profile (user): using the null configuration. #1002
Comments
Do you mind expanding a bit what is the "null configuration". Also, we would need the logs and more informations about your system as requested by the template. Thanks! |
Hello, I have just discovered the same problem. This almost made me switch back to Windows... The problem is the following: With the following sssd.conf: [sssd] [domain/DOMAIN.TLD] I get the following error with adsys 0.14.1 22.04 previously with Version 0.9.2 22.04.1 this worked fine. Jul 17 15:06:09 HOSTNAME systemd[1]: Starting ADSys daemon service... Because of the adsys pam module, Logins now fail! With adsys 0.14.1~22.04 and the following sssd.conf (changed the Domainname from upper to lower case): [sssd] [domain/domain.tld] Adsys starts and works fine with this, but first of all, this is now a different username because that changes to lowercase too, but more importantly, when using any domain user now I cant change any GUI settings (not even Desktop backgrounds). Some examples from syslog: ul 16 11:36:46 HOSTNAME gsettings[21570]: unable to open named profile ([email protected]): using the null configuration. So first of all adsys should still be able to parse the domainname from sssd if it is uppercase. Second and more importantly it should not mess up the users dconf. Steps to reproduce: Join a machine to a AD Domain with SSSD using the uppercase Domainname, then install adsys (0.14) you will get the error on service start, then change the domainname to lowercase, you wont be able (with a AD Domain User) to change any settings related to dconf/gsettings Databases. I hope this helps. Meanwhile I will hold on to adsys 0.9.2... |
Hey, @snussbaumermpreis and @cristianapas! We have some suspicions about the possible cause of the issue, but before submitting any fixes, we'd like to ask you to try something if you can: Keeping the domain configuration as you updated (with the lowercase domain), can you try configuring at least one dconf key (on the server) for the user you're trying to authenticate with? This issue might be happening due to the user not having any dconf setting configured (which means that the user-specific profile won't be created), thus resulting in you not being able to change any user-specific dconf value. |
Hello @denisonbarbosa and thank you for working on this! I can definitly confirm that this happens even if the database is present and has entries. I have tried it with a existing database both by creating it (without adsys installed) and by moving an existing database. As I understand it, this not because it cant be created. The file is the following: ~/.config/dconf/user But (presumably adsys) sets "DCONF_PROFILE" with the username so: DCONF_PROFILE=[email protected] I renamed the file, which did not change anything. In my seperate issue: #1054 I provided some more infos about this dconf part. My understanding of dconf is pretty minimal... So I cant tell you what exactly happens but this is definetly pretty odd... Have you been able to recreate the issue? If not I could go through the hassle once again and try to make a foolproof step by step to recreate it. I am not to keen on that though and I hope I have reported enough infos for you to provide some sort of fix. |
Hey, guys! The fixed version (0.14.2) is now available at ppa:ubuntu-enterprise-desktop/adsys if you'd like to use it while we are preparing things for releasing the fixes into the archive. Thanks again for reporting the issue and helping us make adsys better! |
@denisonbarbosa Thanks a LOT !!! Now $ dconf list /
com/
org/
$ Your #1070 PR solved my user profile problem. Related : Launchpad bug 2078245 Got bless you abundantly. |
Is there an existing issue for this?
Describe the issue
After installing adsys I get error unable to open named profile (user@domain): using the null configuration while logging. I tried to join the pc to the domain using sssd and winbind and in both cases it works the same.
Steps to reproduce it
Using Ubuntu Desktop 24.04, and Windows Server 2012r2
Ubuntu users: System information
No response
Non Ubuntu users: System information
Environment
adsysctl version
/etc/os-release
)/etc/os-release
):Log files
Please redact/remove sensitive information:
Application settings
Please redact/remove sensitive information:
Additional information
No response
Double check your logs
The text was updated successfully, but these errors were encountered: