summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-07-09 01:55:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:19:25 -0500
commit37cf22a39eec62a62d5ad30d9419ce4e159dff31 (patch)
tree1e82d66a6fc873fffbd0de2b90e4bdb717447cfd /source4
parent96ead1a02b9cd5d8dbaf448322d4d3a15300e0f0 (diff)
downloadsamba-37cf22a39eec62a62d5ad30d9419ce4e159dff31.tar.gz
samba-37cf22a39eec62a62d5ad30d9419ce4e159dff31.tar.bz2
samba-37cf22a39eec62a62d5ad30d9419ce4e159dff31.zip
r8249: Clarify (with a comment) why we are playing these games here.
Andrew Bartlett (This used to be commit 33dcbe938df532e63b9c02c2b6cef11090021481)
Diffstat (limited to 'source4')
-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 */