Page 1 of 1

LDAP AAA authentication SSH

Posted: 08 Feb 2023 12:01
by samir77500
Hello,

I have a problem to connect a user via LDAP with my active directory Microsoft.

my configuration

SW-ACC-15-6# show configuration snapshot aaa
! AAA :
aaa ldap-server "ldap2" host 192.168.15.245 dn "CN=SWITCH ALE LDAP,OU=UserSansSession,OU=BCDM,DC=banquechaabi,DC=local" hash-password e12a8763e6c3e0013ba8d27f47b2cef6c24f2e4d9d3b3059 hash-salt 201c28e494f3bd8e00dd5105701adf6ebf29a81663bc5f45 base "CN=user test,OU=Groupe,DC=compagny,DC=local" type generic retransmit 3 timeout 2 no ssl
aaa authentication default "local"
aaa authentication telnet "local"
aaa authentication ftp "local"
aaa authentication http "local"
aaa authentication snmp "local"
aaa authentication ssh "ldap2"
aaa accounting session "ldap2"
! PARTM :
! 802.1x :
SW-ACC-15-6#


I have access denied.

Can you help me please
Thank you.

Re: LDAP AAA authentication SSH

Posted: 10 Feb 2023 00:49
by Gleylancer
Check the Logs of the LDAP Server about why the request gets rejected.

Re: LDAP AAA authentication SSH

Posted: 14 Feb 2023 05:21
by samir77500
hello,

The switch can contact the LDAP server.
However, the server responds with 0 response on the ldap request.
can we modify the LDAP attributes on the switch Alcatel?SaMAccountNAME?