diff options
-rw-r--r-- | source3/passdb/pdb_ads.c | 2 |
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; |