Hi Roland,

I’ve tried your suggestions and it did work out if I do it manually. But as 
soon as I try the Lamdaemon Test it gives me the following errors:

2024-12-03T11:56:24.625975+01:00 blabla-server sshd[743864]: userauth_pubkey: 
signature algorithm ssh-rsa not in PubkeyAcceptedAlgorithms [preauth]
2024-12-03T11:56:24.632737+01:00 blabla-server sshd[743864]: Received 
disconnect from 127.0.0.1 port 36602:11:  [preauth]
2024-12-03T11:56:24.632839+01:00 blabla-server sshd[743864]: Disconnected from 
authenticating user ldap 127.0.0.1 port 36602 [preauth]

I then tried to add “PubkeyAcceptedAlgorithms +ssh-rsa“ to the 
/etc/ssh/sshd_config File but it didn't help either:

2024-12-03T12:03:06.716292+01:00 blabla-server sshd[744733]: Received 
disconnect from 127.0.0.1 port 54798:11:  [preauth]
2024-12-03T12:03:06.717028+01:00 blabla-server sshd[744733]: Disconnected from 
authenticating user ldap 127.0.0.1 port 54798 [preauth]

Best regards
Junaid


> Am 03.12.2024 um 07:53 schrieb Roland Gruber <p...@rolandgruber.de>:
>
> Hi Junaid,
>
> can you do a manual SSH login with these credentials on command line?
> Please make sure that you test the login as the webserver user (e.g. 
> www-data).
> What does SSH report in its logs as rejection reason?
>
> Best regards
> Roland
>
>
>> Am 02.12.24 um 10:26 schrieb Junaid Louis Hassan:
>> Distributor ID: Ubuntu
>> Description:    Ubuntu 24.04.1 LTS
>> Release:        24.04
>> Codename:       noble
>> Hello there,
>> We just started to do an OpenLDAP Server with LDAP-Account-Manager 8.5 as 
>> our web interface. It all worked out well but now we are at a point where we 
>> don’t know what to do.
>> We made an ‘ldap’ user via SSH before we installed OpenLDAP etc. We filled 
>> in every line that is needed in the Server setting at the point ‘Lamdaemon 
>> settings’.
>> Serverlist: localhost
>> Path to external script: /usr/share/ldap-account-manager/lib/lamdaemon.pl
>> User name: ldap
>> SSH key file: either /home/ldap/.ssh/id_rsa (can’t read in this directory 
>> even with permission) OR /usr/share/ldap-account-manager/keys/id_rsa
>> SSH key password: ***
>> When I run the ‘lamdaemon test’ it always tells me using localhost as 
>> lamdaemon remote server is fine but it’s unable to login to lamdaemon server 
>> with error message SSH_MSG_USERAUTH_FAILURE.
>> We tried everything but it all didn’t work out so we are asking you for 
>> help. :)
>> Kind regards,
>> Junaid Hassan
>> _______________________________________________
>> Lam-public mailing list
>> Lam-public@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/lam-public
>
>
>
> _______________________________________________
> Lam-public mailing list
> Lam-public@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lam-public

_______________________________________________
Lam-public mailing list
Lam-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lam-public

Reply via email to