Commits


update README.md


implement virtual and userdata tables for users handling The idea is to abstract over the users that kamid manages. The virtual table allows to use a custom userbase instead of the local UNIX users. The userdata tables maps (virtual) users to their home directory, which is the only directory tree exported by kamid as of now. Together, they allow a powerful and flexible management of the users and their data. The idea is somewhat stolen from smtpd(8).


- added tests in lisp.


implement Tstat


drop extra do_send


fix typo. spotted by cage, thanks!


use the given afid, don't hardcode NOFID


specify seeking in directories and document write


don't account for size[2] itself in the struct stat


implement Twrite


more todos


allow directory to be read again using offset 0 The documentation says explicitly that the offset is *either* 0 or the last offset plus count; that means that after some read a client can require *again* an offset 0 (i.e. doing a rewinding the directory.)


remove unnecessary logging


implement Tread against directories To do so it was needed to modify the np_* functions so they take an explicit evbuffer.


add missing fields in stat description