mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-08 20:03:34 +02:00
Rework the "SetUsername" functionality
- Remove SetUsername itself, and add a username parameter to DeviceClaim, ListEnrolledFingers and DeleteEnrolledFingers. - For each of those calls, check that the incoming connection is allowed to operate on that particular username - Don't require a claimed device to list or remove fingerprints - Clean up username and sender when releasing the device - Modify the storage backend to not require an opened device to list or delete fingerprints - Add a simple test program to list registered fingerprints for the usernames passed as argument
This commit is contained in:
committed by
Daniel Drake
parent
bd2debc01e
commit
e8c36e9592
@ -2,7 +2,7 @@ BUILT_SOURCES = manager-dbus-glue.h device-dbus-glue.h
|
||||
noinst_HEADERS = $(BUILT_SOURCES)
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
|
||||
bin_PROGRAMS = verify enroll
|
||||
bin_PROGRAMS = verify enroll list
|
||||
|
||||
verify_SOURCES = verify.c
|
||||
verify_CFLAGS = $(AM_CFLAGS) $(GLIB_CFLAGS)
|
||||
@ -12,6 +12,10 @@ enroll_SOURCES = enroll.c
|
||||
enroll_CFLAGS = $(AM_CFLAGS) $(GLIB_CFLAGS)
|
||||
enroll_LDADD = $(GLIB_LIBS)
|
||||
|
||||
list_SOURCES = list.c
|
||||
list_CFLAGS = $(AM_CFLAGS) $(GLIB_CFLAGS)
|
||||
list_LDADD = $(GLIB_LIBS)
|
||||
|
||||
manager-dbus-glue.h: ../src/manager.xml
|
||||
dbus-binding-tool --prefix=fprint_manager --mode=glib-client $< --output=$@
|
||||
|
||||
|
||||
Reference in New Issue
Block a user