winbindd: Route predefined domains through the BUILTIN domain child
authorRalph Boehme <slow@samba.org>
Wed, 28 Nov 2018 14:39:21 +0000 (15:39 +0100)
committerRalph Boehme <slow@samba.org>
Wed, 5 Dec 2018 10:27:22 +0000 (11:27 +0100)
commit8b8d9fdad4a4e2c479141b3d40e9a7320a49c0dd
treedbe3f65151a398d096df7905875a2a2bb55e87d1
parentb512a58bbd7361cbbcf68f6713943377338fc2a1
winbindd: Route predefined domains through the BUILTIN domain child

Without this eg "NT Authority" didn't work:

  $ bin/wbinfo -n "NT Authority/Authenticated Users"
  failed to call wbcLookupName: WBC_ERR_DOMAIN_NOT_FOUND
  Could not lookup name NT Authority/Authenticated Users

  $ bin/wbinfo --group-info="NT Authority/Authenticated Users"
  failed to call wbcGetgrnam: WBC_ERR_DOMAIN_NOT_FOUND
  Could not get info for group NT Authority/Authenticated Users

With the patch:

  $ bin/wbinfo -n "NT Authority/Authenticated Users"
  S-1-5-11 SID_WKN_GROUP (5)

  $ bin/wbinfo --group-info="NT Authority/Authenticated Users"
  NT AUTHORITY\authenticated users:x:10002:

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: David Mulder <dmulder@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Wed Dec  5 11:27:22 CET 2018 on sn-devel-144
selftest/knownfail.d/samba.blackbox.wbinfo [deleted file]
source3/winbindd/winbindd_util.c