r2832: Readd WKGUID-binding to match the correct default-locations of new
authorGünther Deschner <gd@samba.org>
Wed, 6 Oct 2004 16:21:35 +0000 (16:21 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:52:54 +0000 (10:52 -0500)
commit8836621694c95779475fa9a1acf158e5e0577288
tree4bbf36e6bafafca8ee626d0a9fc7d49c0ea9dbfc
parentb157a1b7c3e15a960fbc943d37abbb1bf5053a63
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
source/include/ads.h
source/libads/ldap.c
source/utils/net.c
source/utils/net_ads.c