The um-password-dialog combobox has a column in its model associated
with what password action to apply. Possible actions are:
- Normal password
- Set password at next login
- No password needed
- Lock account
- Unlock account
These actions are currently represented in the code with harded coded
numeric values (0-4).
This commit cleans up the hard coding to use a symbolic enumeration
instead.
https://bugzilla.gnome.org/show_bug.cgi?id=671858
This makes loading faster, with less I/O, avoids unnecessary
code duplication (around 1k lines shaved), and ensures that
all the panels link and work appropriately.
By the same token, it will stop external panels from being
created, and loaded.
https://bugzilla.gnome.org/show_bug.cgi?id=690036
This probably broke when the D-Bus code was ported to GDBus, as
passing NULL for a string into a GVariant constructor doesn't work.
Thankfully, passing an empty string has just the same effect.
https://bugzilla.gnome.org/show_bug.cgi?id=673841
If we discover domains again, don't add them twice to the drop
down and confuse the user. This is especially important if we
receive two realms from realmd for the same domain for use with
different clients (ie: sssd/winbind). We only want to offer the
first choice
https://bugzilla.gnome.org/show_bug.cgi?id=686397
Without this, we can get timeout problems during joining a domain.
This is a regression from when we refactored UmRealmManager to
use GDBusObjectManagerClient. Make sure to call
g_dbus_proxy_set_default_timeout() on all realmd interface
proxies whenever they show up.
https://bugzilla.gnome.org/show_bug.cgi?id=686390
When loading properties from the AccountsService we may encounter
an implementation that does not yet have the LocalAccount property,
so set the LocalAccount property to TRUE by default to make things
work correctly in the above case.
https://bugzilla.gnome.org/show_bug.cgi?id=684207
One translatable string contained the typo 'enterpise logins',
where it should have said 'enterprise logins'. Pointed out in
https://bugzilla.gnome.org/show_bug.cgi?id=684122
This commit updates the msgid in all .po files, so translations
should not be negatively affected by this string change.
Check the new password matching after focusing out either entries.
Validate the content of the verify password entry after
focusing out either the new password entry or the verify entry.
Previously the user could mistype his new password in the new
password entry, but when it was corrected, the verify entry
would still be indicating that the confirmation password did not
match when it did.
https://bugzilla.gnome.org/show_bug.cgi?id=668844
By passing the environment down to passwed rather than an empty one.
This means that passwd's PAM modules will be able to access the session
D-Bus, for the gnome-keyring PAM module to change the keyring password
for example.
https://bugzilla.gnome.org/show_bug.cgi?id=616703
The version property may not be available if realmd is
version 0.1 (which lacked the property) or if other
properties changed signatures (causing gdbus to fail to load
cache any property)
This commit fixes a crash where property is NULL in those cases.
* DBus interface was reviewed and there were several things added
to make it more generic and useful for other realm types.
* Use ObjectManager to track objects in realmd. This facilitates
using realmd with the way it now uses multiple interfaces
on objects.
https://bugzilla.gnome.org/show_bug.cgi?id=682185
* By displaying the username we get the unix user name for
local accounts, and the full login name for remote accounts.
* Can now differentiate between accounts with the same display
'real' name.
* Can see the full login identity of remote accounts.
https://bugzilla.gnome.org/show_bug.cgi?id=681767
* Creating the add account dialog as the panel gets created
means that realmd is invoked, network discovery is done
and so on. Not optimal.
* We also don't really need to cache the account dialog,
and can create a new one for each [+] click.
https://bugzilla.gnome.org/show_bug.cgi?id=681852
* In particular support of different credential methods and better
hints for different owners of those credentials, so we can prompt
more cleanly.
* Less abstraction in the realmd interfaces
https://bugzilla.gnome.org/show_bug.cgi?id=680892