Alberto, thank you for the example!

I had already suspected that we needed to pass a GVariant to
ag_auth_data_get_login_parameters() but I couldn't figure out how to
properly build that one and which key to use when adding the
SIGNON_POLICY_NO_USER_INTERACTION value. I guess I need to read a proper
introduction to Glib at some point to get a proper overview of how it
works. That said, I learned a lot from the example. Thanks again!

I implemented this in https://code.launchpad.net/~nikwen/account-polld
/no-user-interaction/+merge/272309. I've tested normal operation and
that seems to work fine. I haven't tried to reproduce this bug though.
:)

** Branch linked: lp:~nikwen/account-polld/no-user-interaction

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1496773

Title:
  account-polld tries hard to open a trust session and fails repeatedly

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1496773/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to