1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-07 01:58:28 +03:00
Justin Maggard dc99d451bf s3-passdb: Respect LOOKUP_NAME_GROUP flag in sid lookup.
Somewhere along the line, a config line like "valid users = @foo"
broke when "foo" also exists as a user.

user_ok_token() already does the right thing by adding the LOOKUP_NAME_GROUP
flag; but lookup_name() was not respecting that flag, and went ahead and looked
for users anyway.

Regression test to follow.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11320

Signed-off-by: Justin Maggard <jmaggard@netgear.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Marc Muehlfeld <mmuehlfeld@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Jul 28 21:35:58 CEST 2015 on sn-devel-104
2015-07-28 21:35:58 +02:00
..
2012-09-27 04:36:52 +02:00
2015-03-03 13:14:53 +01:00
2013-02-06 11:51:11 +01:00
2013-02-06 11:51:11 +01:00
2015-07-21 19:04:14 +02:00
2015-03-17 11:30:52 +01:00