summaryrefslogtreecommitdiff
path: root/source4/kdc
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-01-13 17:40:29 +1100
committerAndrew Tridgell <tridge@samba.org>2011-01-14 16:39:33 +1100
commit60be4a4c3729f0a1353947abc4a688c06a94e54d (patch)
treea62c97402c430472abaae3f18eb5af75c226aa54 /source4/kdc
parent197f4b098b31293f092580aa8e177cc6b8bc98c6 (diff)
downloadsamba-60be4a4c3729f0a1353947abc4a688c06a94e54d.tar.gz
samba-60be4a4c3729f0a1353947abc4a688c06a94e54d.tar.bz2
samba-60be4a4c3729f0a1353947abc4a688c06a94e54d.zip
s4-kdc: don't ask for an extended DN for krbtgt_dn
otherwise msg->dn would be non-minimal and would fail in searches Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/kdc')
-rw-r--r--source4/kdc/db-glue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/kdc/db-glue.c b/source4/kdc/db-glue.c
index cdfec7b0b9..ed64685a4f 100644
--- a/source4/kdc/db-glue.c
+++ b/source4/kdc/db-glue.c
@@ -1730,7 +1730,7 @@ NTSTATUS samba_kdc_setup_db_ctx(TALLOC_CTX *mem_ctx, struct samba_kdc_base_conte
ldb_ret = dsdb_search_one(kdc_db_ctx->samdb, kdc_db_ctx,
&msg, NULL, LDB_SCOPE_SUBTREE,
krbtgt_attrs,
- DSDB_SEARCH_SHOW_EXTENDED_DN,
+ 0,
"(&(objectClass=user)(samAccountName=krbtgt))");
if (ldb_ret != LDB_SUCCESS) {