summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/kdc/hdb-ldb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/kdc/hdb-ldb.c b/source4/kdc/hdb-ldb.c
index 96f415ac01..1ca1aec4b9 100644
--- a/source4/kdc/hdb-ldb.c
+++ b/source4/kdc/hdb-ldb.c
@@ -460,6 +460,7 @@ static krb5_error_code LDB_lookup_principal(krb5_context context, struct ldb_con
struct ldb_message **msg;
+ /* Structure assignment, so we don't mess with the source parameter */
struct Principal princ = *principal;
/* Allow host/dns.name/realm@REALM, just convert into host/dns.name@REALM */