s3-netlogon: enumerate UPN suffixes from PASSDB when available
commit64dce3c7b3e92bb3a182b8c469436385b953910e
authorAlexander Bokovoy <ab@samba.org>
Wed, 3 Apr 2013 13:52:45 +0000 (3 16:52 +0300)
committerKarolin Seeger <kseeger@samba.org>
Thu, 18 Jul 2013 19:53:53 +0000 (18 21:53 +0200)
treea093fb2b3e8010eb9a91626bf7e8ea81ee4da7a5
parent38d13bb58cafc54043d7c195402036303e10d357
s3-netlogon: enumerate UPN suffixes from PASSDB when available

Optionally append list of UPN suffixes if PDB module returns non-empty one.

Refactor fill_forest_trust_array() in source3 to allow reuse of the code between
_netr_DsRGetForestTrustInformation() and _netr_GetForestTrustInformation()

Implement a special case of _netr_DsRGetForestTrustInformation in smbd
when trusted_domain_name is NULL (covered by test_DsrEnumerateDomainTrusts()
in rpc.netlogon torture tests, see comment in source4/torture/rpc/netlogon.c).

Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Tue Apr  9 22:19:34 CEST 2013 on sn-devel-104

The last 4 patches address bug #9779 - add UPN enumeration to passdb internal
API.

Autobuild-User(v4-0-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-0-test): Thu Jul 18 21:53:53 CEST 2013 on sn-devel-104
source3/rpc_server/netlogon/srv_netlog_nt.c