Daniel Markstedt
Daniel Markstedt
Discarding this. Our build system is choosing only PAM auth by default when building on macOS, and I think it's a fine abstraction to use on this OS.
@NJRoadfan This is close to working now, FYI. Two outstanding issues: The directory that houses the sqlite cnid databases (e.g. `/var/lib/netatalk/CNID` needs to have 777 permissions since the database client...
~~This is on hold while I clarify the license grant for the mysql CNID module that this is based on.~~ Resolved.
For the record, the Arch failure is due to their dependency tree being broken at the moment. https://bbs.archlinux.org/viewtopic.php?id=306080
The `cnid_sqlite_add` operation works now. But there are still plenty of bugs to work through. ``` PRAGMA foreign_keys=OFF; BEGIN TRANSACTION; CREATE TABLE volumes ( VolUUID CHAR(32) PRIMARY KEY,VolPath TEXT(4096),Stamp BINARY(8),Depleted...
@NJRoadfan @cheesestraws This is ready for initial review. Basic file operations work for me, but there are several failing spectests that need to be worked through. The sqlite backend is...
@NJRoadfan dbd -f does indeed not work still, but now with errors like ``` Jun 07 19:01:15.813359 dbd[61676] {cnid_sqlite.c:616} (error:CNID): cnid_sqlite_add: sqlite query error: datatype mismatch ```
Agreed, a migration path would be crucial for deprecating BDB. BTW, I don't think that the mysql backend supports a migration path either, does it? Anyways, I consider the migration...
I touched up `cnid_sqlite_wipe()` a bit and can confirm that the db gets wiped when invoked through dbd, but there obviously some piece missing to restore the db to a...
@NJRoadfan the `dbd -f` db wipe should be working now, although I have only tested a few trivial cases so far.