[fprint] basic access authentication (not PAM!!!)
Bastien Nocera
hadess at hadess.net
Mon Feb 7 23:47:40 GMT 2011
On Mon, 2011-02-07 at 23:02 +0100, Petr Jakeš wrote:
> > Downloaded the dsd-fprintd-4ea1c48.tar.gz from
> > https://github.com/dsd/fprintd
> >
> > Unfortunatelly, no configure file in the source.
> >
> > Am I missing something?
>
>
> http://www.mail-archive.com/fprint@reactivated.net/msg01547.html
>
> And read the archives for links to git.
>
> Cheers
>
> The links points to the fprint, not to the fprind..... ????
Oops. My apologies for that.
> I have found the last source in
> http://cgit.freedesktop.org/libfprint/fprintd/
>
> Sucessfuly compiled using autogen.sh (it was necessary to install
> gtk-doc-tools and libpolkit-gobject-1-dev first)
>
> Unfortunatelly the Python script throws the same error:
>
> =============== script snippet =====================
> import dbus
> bus = dbus.SystemBus()
>
> scanner =
> bus.get_object("net.reactivated.Fprint","/net/reactivated/Fprint/Device","net.reactivated.Fprint.Device")
You can't do that.
"/net/reactivated/Fprint/Device" isn't the right object path. You need
to get the object path from GetDevices or GetDefaultDevice on the
net.reactivated.Fprint.Manager interface.
So:
import dbus
bus = dbus.SystemBus()
manager =
bus.get_object("net.reactivated.Fprint","/net/reactivated/Fprint/Manager", "net.reactivated.Fprint.Manager")
device = manager.GetDefaultDevice()
scanner =
bus.get_object("net.reactivated.Fprint",device,"net.reactivated.Fprint.Device")
print scanner.ListEnrolledFingers("hadess")
<snip>
> finally, I have tried to ./configure --localstatedir=/var
> --prefix=/usr --libdir=/usr/lib --sysconfdir=/etc
>
> but the same result
If the above snippet fails, make sure that the utilities shipped with
fprintd (fprintd-list, etc.) work as expected.
Cheers
More information about the fprint
mailing list