1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-03 13:47:25 +03:00

s3: Fix a cut&paste error in pdb_ads_connect

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Mar 16 08:22:28 CET 2011 on sn-devel-104
This commit is contained in:
Volker Lendecke 2011-03-16 07:31:48 +01:00 committed by Volker Lendecke
parent 831ff4519e
commit 9bc14afe96

View File

@ -2509,7 +2509,7 @@ static NTSTATUS pdb_ads_connect(struct pdb_ads_state *state,
state->configdn = tldap_talloc_single_attribute(
rootdse, "configurationNamingContext", state);
if (state->domaindn == NULL) {
if (state->configdn == NULL) {
DEBUG(10, ("Could not get configurationNamingContext\n"));
status = NT_STATUS_INTERNAL_DB_CORRUPTION;
goto done;