X-Git-Url: https://mattmccutchen.net/rsync/rsync-patches.git/blobdiff_plain/72e5645e95d7fd7edd0c4ab59f9812b9d6124521..041359b073df4fe698ec80f2e0699a2585b2337b:/group-auth.diff diff --git a/group-auth.diff b/group-auth.diff index f1bac4f..0764dfe 100644 --- a/group-auth.diff +++ b/group-auth.diff @@ -244,7 +244,7 @@ diff --git a/authenticate.c b/authenticate.c + if (group_match >= 0) + break; +#else -+ rprintf(FLOG, "your computer doesn't support getgrouplist(), so no @group authorization is possible.\n"); ++ rprintf(FLOG, "This computer doesn't support getgrouplist(), so no @group authorization is possible.\n"); +#endif + } } @@ -374,7 +374,7 @@ diff --git a/rsyncd.conf.yo b/rsyncd.conf.yo + +verb( auth users = joe:deny @guest:deny admin:rw @rsync:ro susan ) + -+In the above rule, user joe will be denied access no matter what. Any user ++In the auth above, user joe will be denied access no matter what. Any user +that is in the group "guest" is also denied access. The user "admin" gets +access in read/write mode, even if the admin user is in group rsync (because +the admin user-matching rule is before the rsync group-matching rule).