Skip to content

Commit

Permalink
s3: Fix a cut&paste error in pdb_ads_connect
Browse files Browse the repository at this point in the history
Autobuild-User: Volker Lendecke <[email protected]>
Autobuild-Date: Wed Mar 16 08:22:28 CET 2011 on sn-devel-104
  • Loading branch information
vlendec committed Mar 16, 2011
1 parent 831ff45 commit 9bc14af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source3/passdb/pdb_ads.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9bc14af

Please sign in to comment.