Avrei questa situazione:
Sme Server 8.0 B7, configurato in standalone server che mi fa da:
1) PDC
2) File Server
3) Mail Server
4) Web Server
5) vpn server
Poi nella rete è presente un frw Pfsense 2.0, che fa da frw, proxy e gestisce le connessioni in Openvpn.
Adesso il problema è che vorremmo far gestire l'autenticazione dello squid (il proxy) a sme, attraverso LDAP.
Abbiamo configurato Pfsense in questo modo:
LDAP version: 2 ma abbiamo provato anche il 3
Authentication server: IP server
Authentication server port: 389
LDAP server user DN: uid=root,ou=Users,dc=test,dc=it abbiamo provato anche con route
LDAP password: la password di root che coincide con quella dell'admin
LDAP base domain: ou=Users,dc=test,dc=it
LDAP username DN attribute: uid
LDAP search filter: (&(objectClass=inetOrgPerson)(objectClass=sambaSamAccount))
Authentication prompt: "Messaggio"
Authentication processes: 5
Authentication TTL: 60
nei log dell'LDAP di SME mi trovo questi errori, ho provato sia admin che root, sia Users che users:
2012-04-04 09:11:06.945450500 conn=35 fd=13 ACCEPT from IP=192.168.20.254:61287 (IP=0.0.0.0:389)
2012-04-04 09:11:06.945731500 conn=35 op=0 BIND dn="uid=admin,ou=Users,dc=test,dc=it" method=128
2012-04-04 09:11:06.945732500 conn=35 op=0 RESULT tag=97 err=49 text=
2012-04-04 09:11:10.091978500 conn=35 op=1 BIND dn="uid=admin,ou=Users,dc=test,dc=it" method=128
2012-04-04 09:11:10.091980500 conn=35 op=1 RESULT tag=97 err=49 text=
2012-04-04 09:11:10.295503500 conn=35 op=2 BIND dn="uid=admin,ou=Users,dc=test,dc=it" method=128
2012-04-04 09:11:10.295505500 conn=35 op=2 RESULT tag=97 err=49 text=
2012-04-04 09:11:15.217945500 conn=35 op=3 BIND dn="uid=admin,ou=Users,dc=test,dc=it" method=128
2012-04-04 09:11:15.217947500 conn=35 op=3 RESULT tag=97 err=49 text=
2012-04-04 09:11:19.044797500 conn=35 op=4 BIND dn="uid=admin,ou=Users,dc=test,dc=it" method=128
2012-04-04 09:11:19.044798500 conn=35 op=4 RESULT tag=97 err=49 text=
2012-04-04 13:41:06.753818500 conn=35 op=5 BIND dn="uid=admin,ou=Users,dc=test,dc=it" method=128
2012-04-04 13:41:06.753824500 conn=35 op=5 RESULT tag=97 err=49 text=
2012-04-04 13:41:11.086613500 conn=35 op=6 BIND dn="uid=admin,ou=Users,dc=test,dc=it" method=128
2012-04-04 13:41:11.086615500 conn=35 op=6 RESULT tag=97 err=49 text=
2012-04-04 13:41:11.244520500 conn=35 op=7 BIND dn="uid=admin,ou=Users,dc=test,dc=it" method=128
2012-04-04 13:41:11.244522500 conn=35 op=7 RESULT tag=97 err=49 text=
2012-04-04 13:41:16.686867500 conn=35 op=8 BIND dn="uid=admin,ou=Users,dc=test,dc=it" method=128
2012-04-04 13:41:16.686869500 conn=35 op=8 RESULT tag=97 err=49 text=
2012-04-04 13:44:56.898030500 conn=35 op=9 UNBIND
2012-04-04 13:44:56.898031500 conn=35 fd=13 closed
2012-04-04 13:45:08.815553500 conn=36 fd=13 ACCEPT from IP=192.168.20.254:9493 (IP=0.0.0.0:389)
2012-04-04 13:45:08.815637500 conn=36 op=0 BIND dn="uid=admin,ou=users,dc=test,dc=it" method=128
2012-04-04 13:45:08.815781500 conn=36 op=0 RESULT tag=97 err=49 text=
2012-04-04 13:45:49.790069500 conn=36 op=1 UNBIND
2012-04-04 13:45:49.790071500 conn=36 fd=13 closed
2012-04-04 13:45:57.805348500 conn=37 fd=13 ACCEPT from IP=192.168.20.254:52240 (IP=0.0.0.0:389)
2012-04-04 13:45:57.805443500 conn=37 op=0 BIND dn="uid=root,ou=Users,dc=test,dc=it" method=128
2012-04-04 13:45:57.805729500 conn=37 op=0 RESULT tag=97 err=49 text=
Le informazione le ho prese da questo link
http://wiki.contribs.org/LDAP#LDAP_for_SME_Server_8Dove Sbaglio?
Grazie in anticipo per le risposte.