From 132879b285e66bff896c761858311d7f5d43e9b6 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 6 Oct 2004 16:21:35 +0000 Subject: r2832: Readd WKGUID-binding to match the correct default-locations of new User-, Group- and Machine-Accounts in Active Directory (this got lost during the last trunk-merge). This way we match e.g. default containers moved by redircmp.exe and redirusr.exe in Windows 2003 and don't blindly default to cn=Users or cn=Computers. Further wkguids can be examied via "net ads search wellknownobjects=*". This should still keep a samba3-client joining a samba4 dc. Fixes Bugzilla #1343. Guenther (This used to be commit 8836621694c95779475fa9a1acf158e5e0577288) --- source3/include/ads.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3/include') diff --git a/source3/include/ads.h b/source3/include/ads.h index 4daa65e796..de020f2a3f 100644 --- a/source3/include/ads.h +++ b/source3/include/ads.h @@ -224,3 +224,6 @@ typedef void **ADS_MODLIST; #ifndef HAVE_AP_OPTS_USE_SUBKEY #define AP_OPTS_USE_SUBKEY 0 #endif + +#define WELL_KNOWN_GUID_COMPUTERS "AA312825768811D1ADED00C04FD8D5CD" +#define WELL_KNOWN_GUID_USERS "A9D1CA15768811D1ADED00C04FD8D5CD" -- cgit