IIRC this was a problem with the length of the password_secret in the
server config.
It needs to be at least 16 characters long, because that's what the
AES encryption we use to store the system password requires.

Please verify that it is sufficiently long.

For ease of use, try to take one of the output lines of `pwgen 64`

Best,
Kay

On Mon, Jun 2, 2014 at 5:28 PM, Johan Thomas <[email protected]> wrote:
> Hi,
> i just upgrade my graylog2 host to the new version.
> In the changelog i saw that ldap was fixed but for me the ldap auth still
> doesnt work
> I cant save the ldap parameters.
> Here is the error in server.log:
>
> 17:17:23,939 ERROR [AnyExceptionClassMapper] Unhandled exception in REST
> resource
> java.lang.StringIndexOutOfBoundsException: String index out of range: 16
>         at java.lang.String.substring(String.java:1907)
>         at
> org.graylog2.security.ldap.LdapSettings.setSystemPassword(LdapSettings.java:136)
>         at
> org.graylog2.rest.resources.system.ldap.LdapResource.updateLdapSettings(LdapResource.java:191)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:606)...
>
>
> Thanks in advance!
>
> --
> You received this message because you are subscribed to the Google Groups
> "graylog2" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"graylog2" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to