You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by Scott Howell <sc...@mobilgov.com> on 2018/05/21 14:50:44 UTC

LDAP issues

I am having some issues with LDAP when I switched from running Nifi on Amazon Linux 2 to running on Ubuntu. I don’t think there is any issue with the actual OS but seeing some weird issues when spinning up servers with Ubuntu vs Amazon Linux 2. 

o.a.n.w.a.c.IllegalArgumentExceptionMapper java.lang.IllegalArgumentException: The supplied username and password are not valid.. Returning Bad Request response.

That is the above error I am getting on the server when I try to do my initial login. I am using Ansible to configure the servers so there should be no difference in the configuration of the servers between my Amazon Linux server and my Ubuntu server. 

Was wondering if anyone has ran into this issue.

Thanks,

Scott

Re: LDAP issues

Posted by Kevin Doran <kd...@apache.org>.
Hi Scott,

I have not run into or heard of this issue. NiFi should run fine on Ubuntu, including the LDAP login identity provider. I would guess is an environmental/networking or configuration issue. Can you provide some more details, such as: 

- the full stack trace for the IllegalArgumentException you shared in your original email
- are there any other warnings or errors in your nifi-app.log on startup?
- did Ansible report any issues / warnings during deployment?
- any more details about what may be different/changed from the working deployment to the new deployment (for example, the LDAP server the same? If so, is it visible from the new instance - it could be an environment issue. If it is a different LDAP server, it could be an issue on the LDAP server side.)

Thanks,
Kevin

On 5/21/18, 10:50, "Scott Howell" <sc...@mobilgov.com> wrote:

    I am having some issues with LDAP when I switched from running Nifi on Amazon Linux 2 to running on Ubuntu. I don’t think there is any issue with the actual OS but seeing some weird issues when spinning up servers with Ubuntu vs Amazon Linux 2. 
    
    o.a.n.w.a.c.IllegalArgumentExceptionMapper java.lang.IllegalArgumentException: The supplied username and password are not valid.. Returning Bad Request response.
    
    That is the above error I am getting on the server when I try to do my initial login. I am using Ansible to configure the servers so there should be no difference in the configuration of the servers between my Amazon Linux server and my Ubuntu server. 
    
    Was wondering if anyone has ran into this issue.
    
    Thanks,
    
    Scott