[PATCH] Server support for DsEnumerateTrustedDomains

Andrew Bartlett abartlet at samba.org
Thu Sep 4 21:58:11 GMT 2003

On Fri, 2003-09-05 at 05:54, Anthony Liguori wrote:
> This patch adds support for the Netlogon DsEnumerateTrustedDomains RPC
> call.  Right now, this call always returns 0 trusted domains to be
> consistent with NetTrustedDomainList (which is what clients fall back to
> if DsEnumerateTrustedDomains fails).
> This is probably not very useful but it may be helpful for an AD-style
> logon to a Samba DC.
> BTW: Does anyone know why NetTrustedDomainList is so weird?  Our
> implementation always returns a single domain "test_domain" but then in
> the api_net_XX function has an #if 0 block that ignored what the
> function returns and puts in a bunch of integers.  I presume there's
> some history here...

As far as I know, this simply hasn't been touched since before the
trusted domain code was put in.

Please feel free to fill it all in properly.

Andrew Bartlett

Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20030904/00fdf29a/attachment.bin

More information about the samba-technical mailing list