Hi, I've done some more tests and I've found that using server side policy instead of shadow policies it asks for new password as it should.
warning message behaves the same and it's too fast for user to see something. I've detecte a new problem about localization. when new password is asked to user, some strings are translated and some others aren't. I'm not sure if these strings belong to lightdm or sssd. so to be accurate there's three problems: - lightdm doesn't understand shadow password expiration - lightdm doesn't show pam warnings correctly - localization incomplete for password changing -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to lightdm in Ubuntu. https://bugs.launchpad.net/bugs/1009013 Title: incorrect password policy messages Status in “lightdm” package in Ubuntu: Incomplete Bug description: I've configured LDAP auth with sssd package and lightdm is not understanding policy messages. when user password is expired it says "Password incorrect" and that's not true. in /var/log/auth.log it says: Jun 5 15:25:48 cprli0554 lightdm: pam_sss(lightdm:auth): received for user pepet6: 13 (User account has expired) also, when user is in "warning" state there's a message that appears for very short time in screen and user is not able not read it. again in /var/log/auth.log: Jun 5 15:28:50 cprli0554 lightdm: pam_sss(lightdm:auth): User info message: Your password will expire in 4 day(s). I'm planning a huge migration and these kind of bugs gives lot of confusion to users (so lot of tickets opened for support). ask for further info. # lsb_release -rd Description: Ubuntu 12.04 LTS Release: 12.04 # apt-cache policy lightdm lightdm: Instaŀlat: 1.2.1-0ubuntu1 Candidat: 1.2.1-0ubuntu1 Taula de versió: *** 1.2.1-0ubuntu1 0 500 http://fr.archive.ubuntu.com/ubuntu/ precise/main i386 Packages 100 /var/lib/dpkg/status maybe related: https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/972537 https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/856269 --- ApportVersion: 2.0.1-0ubuntu9 Architecture: i386 DistroRelease: Ubuntu 12.04 InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423.2) Package: lightdm 1.2.1-0ubuntu1 PackageArchitecture: i386 ProcVersionSignature: Ubuntu 3.2.0-25.40-generic-pae 3.2.18 Tags: precise Uname: Linux 3.2.0-25-generic-pae i686 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: mtime.conffile..etc.pam.d.lightdm: 2012-05-31T10:52:21.210434 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1009013/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

