Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getent: fix group - name to gid calculation #1764

Merged
merged 1 commit into from
Nov 23, 2017

Conversation

furiel
Copy link
Collaborator

@furiel furiel commented Nov 17, 2017

Fixes: #1757

Signed-off-by: Antal Nemes <antal.nemes@balabit.com>
@kira-syslogng
Copy link
Contributor

Build SUCCESS, the tests were executed on test branch: master and test suite: functions

@furiel
Copy link
Collaborator Author

furiel commented Nov 17, 2017

@kira-syslogng retest this please test branch=furiel-getent-group;

@kira-syslogng
Copy link
Contributor

Build SUCCESS, the tests were executed on test branch: furiel-getent-group and test suite: functions

@furiel
Copy link
Collaborator Author

furiel commented Nov 17, 2017

@kira-syslogng retest this please test branch=furiel-getent-group;

@kira-syslogng
Copy link
Contributor

Build SUCCESS, the tests were executed on test branch: furiel-getent-group and test suite: functions

Copy link
Collaborator

@lbudai lbudai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -77,6 +77,13 @@ _getent_format_array(gchar *name_or_gid, gpointer members, GString *result)
return TRUE;
}

static gboolean
_getent_format_array_at_location(gchar *name_or_gid, gpointer location, GString *result)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why the new function is needed ?
The original _getent_format_array is not used anywhere else.

@bazsi bazsi merged commit be7cbe6 into syslog-ng:master Nov 23, 2017
@furiel furiel deleted the getent-group-bug branch May 8, 2018 04:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants