Hi, Matteo!
I have configuration like below.
Trying to make ss5 work with ldap without success.
Ss5 doesn't even trying to connect to the LDAP server.
What I'm doing wrong?
auth 0.0.0.0/0 - u
set SS5_LDAP_FILTER
set SS5_DEBUG
set SS5_LDAP_BASE
set SS5_LDAP_FILTER
set SS5_VERBOSE
ldap_profile_ip 10.8.255.3
ldap_profile_port 389
ldap_profile_base OU=people,DC=kolesa,DC=dev
ldap_profile_filter person
ldap_profile_dn CN=admin,DC=kolesa,DC=dev
ldap_profile_pass gfhjkm
permit u 0.0.0.0/0 - 0.0.0.0/0 - - OU=people,DC=kolesa,DC=dev - -
[19/Apr/2018:17:09:07 +06] [INFO] -------------------------------------------------------------------------------------------------------
[19/Apr/2018:17:09:07 +06] [INFO] SS5 Version 3.8.9 - Release 8 starting
[19/Apr/2018:17:09:07 +06] [INFO] Copyright (C) 2002-2013 by Matteo Ricchetti - matteo.ricchetti@libero.it
[19/Apr/2018:17:09:07 +06] [INFO] Setting dynamic configuration.
[19/Apr/2018:17:09:07 +06] [INFO] Cleaning old configuration.
[19/Apr/2018:17:09:07 +06] [INFO] Loading and validating new configuration.
[19/Apr/2018:17:09:07 +06] [VERB] Option SS5_VERBOSE set.
[19/Apr/2018:17:09:07 +06] [VERB] Directory (ip): 10.8.255.3.
[19/Apr/2018:17:09:07 +06] [VERB] Directory (prt): 389.
[19/Apr/2018:17:09:07 +06] [VERB] Directory (base): OU=people,DC=kolesa,DC=dev.
[19/Apr/2018:17:09:07 +06] [VERB] Directory (filter): person.
[19/Apr/2018:17:09:07 +06] [VERB] Directory (dn): CN=admin,DC=kolesa,DC=dev.
[19/Apr/2018:17:09:07 +06] [INFO] Loading configuration completed
[19/Apr/2018:17:09:07 +06] [VERB] N. 1 permit lines loaded.
[19/Apr/2018:17:09:07 +06] [VERB] N. 1 method lines loaded.
[19/Apr/2018:17:09:07 +06] [VERB] N. 0 proxy lines loaded.
[19/Apr/2018:17:09:07 +06] [VERB] N. 0 bandwidth lines loaded.
[19/Apr/2018:17:09:07 +06] [VERB] N. 0 dump lines loaded.
[19/Apr/2018:17:09:07 +06] [VERB] N. 0 virtual lines loaded.
[19/Apr/2018:17:09:07 +06] [INFO] Loading HA configuration completed
[19/Apr/2018:17:09:07 +06] [VERB] N. 0 route lines loaded.
[19/Apr/2018:17:09:07 +06] [INFO] Switching to new configuration.
[19/Apr/2018:17:09:07 +06] [VERB] Role is ALONE.
[19/Apr/2018:17:09:07 +06] [INFO] Loading network interfaces.
[19/Apr/2018:17:09:07 +06] [VERB] Interface lo 127.0.0.1 255.0.0.0 loaded.
[19/Apr/2018:17:09:07 +06] [VERB] Interface eth0 10.82.1.70 255.255.255.0 loaded.
[19/Apr/2018:17:09:07 +06] [VERB] N. 2 network interfaces loaded.
[19/Apr/2018:17:11:50 +06] [14317] [DEBU] [METHOD PACKET] Receiving socks version: 5.
[19/Apr/2018:17:11:50 +06] [14317] [DEBU] [METHOD PACKET] Receiving number of methods: 3.
[19/Apr/2018:17:11:50 +06] [14317] [DEBU] [METHOD PACKET] Receiving supported client methods: 0.
[19/Apr/2018:17:11:50 +06] [14317] [DEBU] [METHOD PACKET] Receiving supported client methods: 1.
[19/Apr/2018:17:11:50 +06] [14317] [DEBU] [METHOD PACKET] Receiving supported client methods: 2.
[19/Apr/2018:17:11:50 +06] [14317] [DEBU] [STATISTICS] V5TC:0 V4TC:0 V5NC:0 V4NC:0 V5FC:0 V4FC:0 V5CC:0 V4CC:0.
[19/Apr/2018:17:11:50 +06] [14317] [DEBU] [STATISTICS] V5TB:0 V4TB:0 V5NB:0 V4NB:0 V5FB:0 V4FB:0 V5CB:0 V4CB:0.
[19/Apr/2018:17:11:50 +06] [14317] [DEBU] [STATISTICS] V5TU:0 V5NU:0 V5FU:0 V5CU:0.
[19/Apr/2018:17:11:50 +06] [14317] [DEBU] [STATISTICS] TAF: 0 TAE: 0 TAP: 0 NAF: 0 NAE: 0 NAP: 0 FAF: 0 FAE: 0 FAP: 0 CAF: 0 CAE: 0 CAP: 0.
[19/Apr/2018:17:11:50 +06] [14317] [DEBU] [STATISTICS] THF: 0 THL: 0 NHF: 0 NHL: 0 FHF: 0 FHL: 0 CHF: 0 CHL: 0.
[19/Apr/2018:17:11:51 +06] [14317] [DEBU] [AUTH PACKET] Receiving basic protocol version: 1.
[19/Apr/2018:17:11:51 +06] [14317] [DEBU] [AUTH PACKET] Receiving and validating username length: 9.
[19/Apr/2018:17:11:51 +06] [14317] [DEBU] [AUTH PACKET] Receiving username: chechulin.
[19/Apr/2018:17:11:51 +06] [14317] [DEBU] [AUTH PACKET] Receiving and validating password length: 10.
[19/Apr/2018:17:11:51 +06] [14317] [DEBU] [AUTH PACKET] Receiving password: XXXXXXXX.
[19/Apr/2018:17:11:51 +06] [14317] 10.82.1.10 chechulin "" ACLDENY - - - (-:- -- -:-) (Authentication failed)
Hi,
try to add:
ldap_profile_attribute ... and
set SS5_LDAP_FILTER or set SS5_LDAP_BASE
2018-04-19 13:15 GMT+02:00 Easy good13@users.sourceforge.net:
--
"Errare è umano, ma perché un mio errore deve diventare un tuo problema ?"
Related
Support Requests: #94