The test plan was executed for Noble (24.04) and I confirm it was successful. The package version used for the tests is the one proposed, as can be seen by the output of apt-cache policy: adsys: Installed: 0.14.2~24.04 Candidate: 0.14.2~24.04 Version table: *** 0.14.2~24.04 500 500 http://archive.ubuntu.com/ubuntu noble-proposed/main amd64 Packages
The following steps were executed: 1) Create a fresh VM with Ubuntu 24.04; 2) Join an active directory domain (created for test purposes); 3) Edit the SSSD configuration file (/etc/sssd/sssd.conf), ensure that the domain-related section has capitalized letters (e.g. [domain/DOMAIN.COM]) and restart the SSSD service; 4) Install adsys; 5) Authenticate with an AD user that belongs to the domain; After step 5, the user was authenticated and the domain-related settings were applied. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to adsys in Ubuntu. https://bugs.launchpad.net/bugs/2078246 Title: Ignore casing in domain/ section of sssd.conf Status in adsys package in Ubuntu: Fix Released Status in adsys source package in Jammy: Fix Committed Status in adsys source package in Noble: Fix Committed Bug description: Upstream issues: https://github.com/ubuntu/adsys/issues/1054 tracking bug https://bugs.launchpad.net/ubuntu/+source/adsys/+bug/2078245 [ Impact ] adsys does not accept uppercase domainnames and lowercase ones mixed like this: [sssd] domains = domain.tld config_file_version = 2 services = nss, pam, ifp default_domain_suffix = domain.tld [domain/DOMAIN.TLD] default_shell = /bin/bash This imposed to set all the domains to lower cases. This has been introduced by the support for Winbind. [ Test Plan ] 1. In sssd.conf set the value of the key "domains" and the correponding section to the same domain but with different casing 2. Log in without the patch, the user cannot log in and the following error is displayed in the logs: Jul 17 15:06:09 HOSTNAME systemd[1]: Starting ADSys daemon service... Jul 17 15:06:09 HOSTNAME adsysd[35284]: level=error msg="couldn't create adsys service: could not initialize AD backend: can't get domain configuration from {Conf:/etc/sssd/sssd.conf CacheDir:/var/lib/sss/db}:could not find AD domain section corresponding to "domain.tld"> with the patch the user can log in [ Where problems could occur ] Worst case, the user still cannot log in [ Other Info ] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/adsys/+bug/2078246/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp