Updated to use DDF realm which contains LDAP context.