From 72f952a079c698e6ac5682a0f4336095ac9a03e5 Mon Sep 17 00:00:00 2001 From: Andrea Luzzardi Date: Tue, 10 Oct 2006 23:58:03 +0000 Subject: [PATCH] Moved src/conf.xml to pusb.conf --- pam_usb/pusb.conf | 46 ++++++++++++++++++++++++++++++++++++++++++++++ pam_usb/src/test.c | 2 +- 2 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 pam_usb/pusb.conf diff --git a/pam_usb/pusb.conf b/pam_usb/pusb.conf new file mode 100644 index 0000000..d344440 --- /dev/null +++ b/pam_usb/pusb.conf @@ -0,0 +1,46 @@ + + + + + + + + + + + + SanDisk Corp. + Cruzer Titanium + SNDKB882652FC4A03701 + 3B69-1AFD + + + + + + + foobar + + + + + foobar + + + + + + + + + + + + + + + + diff --git a/pam_usb/src/test.c b/pam_usb/src/test.c index c83c756..bef92fd 100644 --- a/pam_usb/src/test.c +++ b/pam_usb/src/test.c @@ -51,7 +51,7 @@ int main(int argc, char **argv) log_info("Authentication request for user \"%s\" (%s)\n", argv[1], argv[2]); pusb_conf_init(&opts); - if (!pusb_conf_parse("conf.xml", &opts, argv[1], argv[2])) + if (!pusb_conf_parse("pusb.conf", &opts, argv[1], argv[2])) return (0); pusb_log_init(&opts); pusb_conf_dump(&opts);