summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-03-16 07:31:48 +0100
committerVolker Lendecke <vlendec@samba.org>2011-03-16 08:22:28 +0100
commit9bc14afe960808197ad5c5f90bcd6c13b58990d4 (patch)
tree6a2d3d9d4b2688d5b611a077a2b46ab77dd0fe4e /source3/passdb
parent831ff4519e5e30752cab814a5d06008942a1fd58 (diff)
downloadsamba-9bc14afe960808197ad5c5f90bcd6c13b58990d4.tar.gz
samba-9bc14afe960808197ad5c5f90bcd6c13b58990d4.tar.bz2
samba-9bc14afe960808197ad5c5f90bcd6c13b58990d4.zip
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
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/pdb_ads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/pdb_ads.c b/source3/passdb/pdb_ads.c
index 5afad1cc0f..9960d3897d 100644
--- a/source3/passdb/pdb_ads.c
+++ b/source3/passdb/pdb_ads.c
@@ -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;