I have probably understood what is the matter:
If i configure samba not as pdc all is ok, if samba is pdc is mandatory that all the client mus be joined to the domain and i must configure proxy on the client non by ip but fqdn.
But for me is a problem because this installation work in a school (about 1000 users) and it is impossible join all devices.
Some device are win 10 and some other win 7 home .
It is really impossible to have proxy auth with pdc but whitout join?
Hi. In my case, my server is also the DNS and DHCP.
In the DHCP settings, my server is the gateway. In this way, all traffic passes through it.
If you use authenticated proxy and the stations are not joined, all pages that are opened will request user and password.
Without authentication, we can not create rules for specific groups. (DIRECTORS, TEACHERS AND STUDENTS).
I’m not an expert, but right now, we have 700 computers through the transparent proxy. I made many tests with the authenticated proxy, but as well as you, it was not possible to connect all equipment to the domain.
As what @Renan_Azedo_de_Olive have said above, if configured properly, those that are not domain joined will be asked for credentials (username/password combo) when they try to access internet.