[Bug 11817] New: Fix rsyncd.conf gid field parsing: allow spaces within them and improve delimiter logic

samba-bugs at samba.org samba-bugs at samba.org
Thu Mar 31 00:04:55 UTC 2016


            Bug ID: 11817
           Summary: Fix rsyncd.conf gid field parsing: allow spaces within
                    them and improve delimiter logic
           Product: rsync
           Version: 3.1.2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: core
          Assignee: wayned at samba.org
          Reporter: suraj at ixsystems.com
        QA Contact: rsync-qa at samba.org

Created attachment 11952
  --> https://bugzilla.samba.org/attachment.cgi?id=11952&action=edit
Patch to allow spaces within group names in rsyncd.conf

We (at FreeNAS) encountered this bug when one of our users filed this bug:

The gist of the bug is that the user has a group named: " DOMAIN\domain admins"
in his rsync module group which irks the conf file.

Initially I just made the patch and added it to our local copy of the freebsd
ports tree used in our builds, however that is difficult to maintain and thus I
wish to submit that very same patch upstream (i.e. to you guys).

My C is not very good and thus if you find any suboptimal code in my patch, I
apologize in advance and request you to improve on it in ways you find fit.

Either ways it would be very nice to have this work properly.

Please go though path (see attached), I have tested it against the master
branch of the samba rsync git repo: "git://git.samba.org/rsync.git" and can
also submit my commit of that as a push request if there is a way to do that
(see this commit in our local copy of your rsync git repo:

You are receiving this mail because:
You are the QA Contact for the bug.

More information about the rsync mailing list