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);