Hello there.
I'm try to configure squid3 with samba4-alpha-10 autentication.
My samba4 pdc work fine with a simple smb.conf:
[globals]
netbios name = PANTRO
workgroup = MYDOMAIN
realm = MYDOMAIN.LAN
server role = domain controller
[netlogon]
path = /usr/local/samba/var/locks/sysvol/mydomain.lan/scripts
read only = no
[sysvol]
path = /usr/local/samba/var/locks/sysvol
read only = no
[compartido]
path = /home/compartido
read only = no
## End of file
My squid.conf file is simple too:
visible_hostname pantro.mydomain.lan
cache_mgr myemail at mydomain.com.ve
http_port 3128
cache_mem 128 MB
cache_dir ufs /var/spool/squid3 200 16 256
access_log /var/log/squid3/access.log squid
# Configuraci?n de proxy detras de un proxy
cache_peer 192.168.3.10 parent 3128 3130 proxy-only default
##### Reglas de autenticacion
auth_param ntlm program /usr/local/samba/bin/ntlm_auth
--helper-protocol=squid-2.5-ntlmssp
auth_param ntlm children 5
auth_param ntlm keep_alive on
auth_param basic program /usr/local/samba/bin/ntlm_auth
--helper-protocol=squid-2.5-ntlmssp
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off
acl all src 0.0.0.0/0.0.0.0
acl authenticated proxy_auth REQUIRED
http_access allow authenticated
http_access deny all
## End of file
With this configurations files the IE8 (in windows) and FireFox (in linux)
show me the auth box but my user can't loggin success.
I'm try with "administrator" username, "administrator at
mydomain" username
and "administrator at mydomain.lan" username.
I don't know, maybe a compilation option missing.
Exist a how to for this?
I check this articles
http://74.125.47.132/search?q=cache:cx7oD860S-YJ:www.fr33man.ru/2009/07/29/s
amba-4-squid-ntlm_auth/comment-page-102/+samba4+squid&hl=es&gl=ve&strip=1
(in google cache)
Aditional information :
Server OS: Ubuntu Server 9.10
Samba4: Alpha-10 compiled
Squid3: install via aptitude