Re: Connecting via jaas module results in FileNotFoundException

2019-02-07 Thread abdelb
Hi, sshRole was set to ssh. I changed it to admin and that has done the trick! Really appreciate the assistance, thanks again. -- Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

Re: Connecting via jaas module results in FileNotFoundException

2019-02-06 Thread Jean-Baptiste Onofré
Do you have the ssh role for the user ? Regards JB On 06/02/2019 17:38, abdelb wrote: > Hello, > > It does appear under realm-list. > > I had a closer look at the logs and it actually authenticates and generates > an ssh key if the credentials are correct (however it still denies access >

Re: Connecting via jaas module results in FileNotFoundException

2019-02-06 Thread abdelb
Hello, It does appear under realm-list. I had a closer look at the logs and it actually authenticates and generates an ssh key if the credentials are correct (however it still denies access for some reason). Incorrect credentials correctly lead to a javax.naming.AuthenticationException being

Re: Connecting via jaas module results in FileNotFoundException

2019-02-06 Thread Jean-Baptiste Onofré
Hi, Can you see the login module in the jaas:realm-list ? If not, can you add debug option in LDAPLoginModule configuration: debug=true Please, send me the log in debug. Thanks, Regards JB On 06/02/2019 10:32, abdelb wrote: > Sure: > > > http://www.osgi.org/xmlns/blueprint/v1.0.0; >

Re: Connecting via jaas module results in FileNotFoundException

2019-02-06 Thread Jean-Baptiste Onofré
By the way, I'm not sure that the FileNotFoundException coming from sshd (WARN) is actually the problem. Regards JB On 05/02/2019 19:26, abdelb wrote: > Hi, > > I'm copying over a jaas module xml from an older version of karaf to 4.2.2 > and get this error when trying to ssh: > > WARN |

Re: Connecting via jaas module results in FileNotFoundException

2019-02-06 Thread Jean-Baptiste Onofré
Hi, I did the following test (on Karaf 4.2.3-SNAPSHOT): 1. In etc/org.apache.karaf.features.cfg, I added aries-blueprint as featuresBoot 2. I created deploy/config.xml containing: http://www.osgi.org/xmlns/blueprint/v1.0.0; xmlns:jaas="http://karaf.apache.org/xmlns/jaas/v1.0.0;

Re: Connecting via jaas module results in FileNotFoundException

2019-02-06 Thread Jean-Baptiste Onofré
Thanks for the update. I'm testing a properties login module on Karaf 4.2.3-SNAPSHOT. Regards JB On 06/02/2019 15:55, abdelb wrote: > Thanks for investigating. If it helps I have just tested this module in the > standard 4.0.8 and 4.2.2 distributions downloaded from the Karaf website. > > It

Re: Connecting via jaas module results in FileNotFoundException

2019-02-06 Thread abdelb
Thanks for investigating. If it helps I have just tested this module in the standard 4.0.8 and 4.2.2 distributions downloaded from the Karaf website. It works fine on 4.0.8; 4.2.2 is failing with the same message as my custom distribution. -- Sent from:

Re: Connecting via jaas module results in FileNotFoundException

2019-02-06 Thread Jean-Baptiste Onofré
Thanks, I will try and I keep you posted. Regards JB On 06/02/2019 10:32, abdelb wrote: > Sure: > > > http://www.osgi.org/xmlns/blueprint/v1.0.0; >xmlns:jaas="http://karaf.apache.org/xmlns/jaas/v1.1.0; > >

Re: Connecting via jaas module results in FileNotFoundException

2019-02-06 Thread abdelb
Sure: http://www.osgi.org/xmlns/blueprint/v1.0.0; xmlns:jaas="http://karaf.apache.org/xmlns/jaas/v1.1.0; xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0;> connection.url = ldap://xxx:xxx

Re: Connecting via jaas module results in FileNotFoundException

2019-02-05 Thread Jean-Baptiste Onofré
Can you share the module.xml ? Some new properties are required, especially around the namespace version. Regards JB On 05/02/2019 19:26, abdelb wrote: > Hi, > > I'm copying over a jaas module xml from an older version of karaf to 4.2.2 > and get this error when trying to ssh: > > WARN |

Connecting via jaas module results in FileNotFoundException

2019-02-05 Thread abdelb
Hi, I'm copying over a jaas module xml from an older version of karaf to 4.2.2 and get this error when trying to ssh: WARN | sshd-SshServer[61072017]-nio2-thread-1 | VersionProperties$LazyHolder | 114 - org.apache.sshd.core - 1.7.0 | Failed (FileNotFoundException) to load version