tests/dsdb.py: test creation of foreignSecurityPrincipal via 'attr: <SID=...>'
authorStefan Metzmacher <metze@samba.org>
Sat, 24 Feb 2018 23:10:12 +0000 (00:10 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Mon, 19 Mar 2018 19:30:50 +0000 (20:30 +0100)
commit799c9d1ce31258c6405602c2f8c53b93be582352
treec2791a8f8aaf8fd8b6e5d311a91c6f5c4a86ba0d
parenta0813b2a9fe8004e4552a952e3587150f832993e
tests/dsdb.py: test creation of foreignSecurityPrincipal via 'attr: <SID=...>'

[MS-ADTS] 3.1.1.5.2.3 Special Classes and Attributes claims:

  FPO-enabled attributes:
   member, msDS-MembersForAzRole, msDS-NeverRevealGroup,
   msDS-NonMembers, msDS-RevealOnDemandGroup, msDS-ServiceAccount.

'msDS-NonMembers' always generates NOT_SUPPORTED.

'msDS-ServiceAccount' is not defined in any schema
(only msDS-HostServiceAccount).

'msDS-HostServiceAccount' is not an FPO-enabled attribute
and behaves as the 'manager' attribute.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
python/samba/tests/dsdb.py
selftest/knownfail.d/foreignSecurityPrincipal [new file with mode: 0644]