r8249: Clarify (with a comment) why we are playing these games here.
authorAndrew Bartlett <abartlet@samba.org>
Sat, 9 Jul 2005 01:55:13 +0000 (01:55 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:19:25 +0000 (13:19 -0500)
Andrew Bartlett
(This used to be commit 33dcbe938df532e63b9c02c2b6cef11090021481)

source4/kdc/hdb-ldb.c

index 96f415ac016327d1d31b84d7ff24de4917863a86..1ca1aec4b94f36d6d6dc9844ee6e9b6bb58e2a18 100644 (file)
@@ -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 */