net: fix post join verification.
authorRafal Szczesniak <mimir@samba.org>
Wed, 29 Aug 2007 19:55:13 +0000 (19:55 +0000)
committerGünther Deschner <gd@samba.org>
Tue, 29 Apr 2008 16:11:23 +0000 (18:11 +0200)
commit23decdf98961caa6d6561b1886d902c0d71418e4
tree8b0f37b7c1a548a074dec92b86fd88dbcb88bf71
parentce475f86a2dae3db9c094105be1a3daedacfb40e
net: fix post join verification.

This patch is based on commit 30d99d8ac3379caadc5bdb353977149d1ee16403
and just a little modified to apply on 3-0-test.

Guenther

Original commit message:

r24789: Add implementation of machine-authenticated connection to netlogon
pipe used when connecting to win2k and newer domain controllers. The
server may be configured to deny anonymous netlogon connections which
would stop domain join verification step. Still, winnt domains require
such smb sessions not to be authenticated using machine credentials.
Creds employed in smb session cannot have a username in upn form, so
provide the separate function to use machine account.

rafal
source/utils/net.c
source/utils/net_ads.c
source/utils/net_rpc_join.c