When configuring LDAP with default file things are broken

Steps to reproduce

Steps to reproduce:
1. Rename security_sample_ldap.xml-example to mh_default_org.xml
2. Configure LDAP settings
3. Access login page, looks like scripts and css are broken. (see file)

Actual Results:
The login page is broken, no css no info

Expected Results:
Beautiful login page

Workaround (if any):
I included the next lines on line 20 right URL security directive.
<sec:http pattern="/lib/**" security="none" />
<sec:http pattern="/admin-ng/scripts/**" security="none" />
<sec:http pattern="/admin-ng/styles/**" security="none" />

but I dont know what are the collateral effects of this. I got this from original mh_default_org.xml so I gues must be ok.

Another thing that happened to me, maybe because I am a bit dumb and took me a ridiculous amount of time to realize was when removing the comment from line 384 and 394 then the line 387 and 389 has comments too and they are broken so they don't break the comment starting 384. I know you can't have nested comments on xml, but maybe it could be a solution to move notes on lines 387 and 389 above line 384. This last is more a suggestion, thought.

This is my first ticket, so I am sorry if I have broken some rules or law please point me to the right way to do it.

If my "solutions" are right I can make a pull request with the changes if that is ok.

Thanks.

Assignee

Rubén Pérez

Reporter

Juan M. Jimenez

Severity

Incorrectly Functioning With Workaround

Tags (folksonomy)

None

Components

Fix versions

Affects versions

Priority

Minor
Configure