VPNA RA ClientSSL + LOCAL Authentication, gdy AD lezy

Problemy z zakresu security (VPN, firewall, IDS/IPS itp.)
Wiadomość
Autor
dawid.mitura
wannabe
wannabe
Posty: 266
Rejestracja: 03 mar 2008, 12:10

VPNA RA ClientSSL + LOCAL Authentication, gdy AD lezy

#1

#1 Post autor: dawid.mitura »

Ludu,

moze pomozecie na szybkosci. Mam Connection Profile z dwoma mechanizmami autentykacji:

Kod: Zaznacz cały

tunnel-group TG-InternalEmployees general-attributes
 address-pool POOL-InternalEmployees
 authentication-server-group LDAP LOCAL
 default-group-policy GP-InternalEmployees
Gdy siadzie mi AD, usune usera z AD lub go deaktywuje, ASA ma autentykowac po lokalnych uzytkownikach. Nie autentykuje:

Kod: Zaznacz cały

username mixthoor password ***
username mixthoor attributes
 vpn-group-policy GP-InternalEmployees
 vpn-tunnel-protocol ssl-client 
 group-lock value TG-InternalEmployees
 service-type remote-access
Gdzie moze lezec przyczyna?
Ostatnio zmieniony 17 lip 2015, 13:44 przez dawid.mitura, łącznie zmieniany 1 raz.

dawid.mitura
wannabe
wannabe
Posty: 266
Rejestracja: 03 mar 2008, 12:10

#2

#2 Post autor: dawid.mitura »

TSHOOT:

Kod: Zaznacz cały

B-ASA5505(config)# 
[306] Session Start
[306] New request Session, context 0xcc94f2a8, reqType = Authentication
[306] Fiber started
[306] Creating LDAP context with uri=ldap://192.168.100.100:389
[306] Connect to LDAP server: ldap://192.168.100.100:389, status = Successful
[306] supportedLDAPVersion: value = 3
[306] supportedLDAPVersion: value = 2
[306] Binding as LDAP
[306] Performing Simple authentication for LDAP to 192.168.100.100
[306] LDAP Search:
	Base DN = [DC=***]
	Filter  = [sAMAccountName=mixthoor]
	Scope   = [SUBTREE]
[306] Search result parsing returned failure status
[306] Fiber exit Tx=266 bytes Rx=894 bytes, status=-1
[306] Session End
W ASDM Real Log widze:

Kod: Zaznacz cały

6	Jul 17 2015	12:41:18	113005					AAA user authentication Rejected : reason = Unspecified : server = 192.168.100.100 : user = ***** : user IP = x.x.x.x
Czyli probuje mnie autentykowac przez AD.

************
UPDATE:
W ASA mam:
LOCAL If all servers in the server group have been deactivated,
authentication will be done against the local database
Co dokladnie oznacza "have been deactivated"?

***********
UPDATE 2:
authentication and authorization—VPN authentication and authorization are supported to enable remote access to the security appliance if AAA servers that normally support these VPN services are unavailable. The authentication-server-group command, available in tunnel-group general attributes mode, lets you specify the LOCAL keyword when you are configuring attributes of a tunnel group. When VPN client of an administrator specifies a tunnel group configured to fallback to the local database, the VPN tunnel can be established even if the AAA server group is unavailable, provided that the local database is configured with the necessary attributes.
Nie mam mozliwosci wylaczenia AD, ale wypieprzylem konfiguracje aaa-server, wrzucilem na nowo z innym adresem IP i przetestowalem - przy nawiazywaniu polaczenia ASA autentykuje usera na podstawie lokalnej bazy danych. Najwazniejsze pytanei dla mnie: Co dzieje sie w przypadku, gdy ASA posiada prawidlowa konfiguracje aaa-server (z poprawnym IP), AD lezy, a w lokalnej bazie sa lokalni uzytkownicy. Nie mam mozliwosci przetestowania tego, a czy ktos z Was to juz przerabial?

Bedi
wannabe
wannabe
Posty: 161
Rejestracja: 06 sie 2006, 23:27

#3

#3 Post autor: Bedi »

dawid.mitura pisze:TSHOOT:

Kod: Zaznacz cały

[306] Connect to LDAP server: ldap://192.168.100.100:389, status = Successful
...
[306] Search result parsing returned failure status
[306] Fiber exit Tx=266 bytes Rx=894 bytes, status=-1
[306] Session End
Czyli probuje mnie autentykowac przez AD.

W ASA mam:
LOCAL If all servers in the server group have been deactivated,
authentication will be done against the local database
Co dokladnie oznacza "have been deactivated"?

Kod: Zaznacz cały

AAA user authentication Rejected : reason = Unspecified : server = 192.168.100.100 : user = ***** : user IP = x.x.x.x
Oznacza tyle że wszystkie serwery w grupie muszą być niedostępne, wtedy ASA przejdzie na drugą grupę (w tym przypadku lokalne).
U Ciebie serwer jest dostępny bo pozwolił na zestawienie połączenia. Błąd przekazany przez serwer został przez ASA zinterpretowany jako Reject co przedstawiłes w logu.
Jak spowodujesz aby serwer przestał odbierać połączenia (co przetestowałeś przy zmianie adresu IP serwera) ASA przejdzie na drugą metodę.

--
-Robert

ODPOWIEDZ