bugfix: variable $dn used multiple times
Merge branch 'master' into jupis