OpenDKIM | gentoo | warning: connect to Milter service unix:/var/run/opendkim/opendkim.sock: No such file or directory

On Gentoo some postfix processes run chroot’ed but others do not. In result these processes need different sock locations, but this is impossible. Solution: # mkdir -p /var/run/postfix/var/run/opendkim # chmod milter:milter /var/run/postfix/var/run/opendkim # usermod -a -G milter postfix # mount –rbind /var/run/opendkim /var/run/postfix/var/run/opendkim Advertisements

Gentoo // Samba 4.5 as AD DC

… still fighting – means: try and error + under construction. Sources: https://wiki.samba.org/index.php/Samba_Internal_DNS_Back_End https://wiki.gentoo.org/wiki/Samba/Active_Directory_Guide https://wiki.samba.org/index.php/Setting_up_Samba_as_an_Active_Directory_Domain_Controller https://wiki.samba.org/index.php/Samba_AD_DC_Troubleshooting https://wiki.samba.org/index.php/Adding_users_with_samba_tool https://wiki.samba.org/index.php?title=User_and_Group_management https://wiki.samba.org/index.php/User_Home_Folders https://wiki.samba.org/index.php/Roaming_Windows_User_Profiles Configure NTP emerge ntp rc-update add ntp-client default Check /etc/hosts # CHECK # 10.81.100.150 dc.test.local dc Strategy Use Sambas own Heimdal kerberos. Using Sambas own internal DNS backend with DNS forwarder. This machine is a […]

Gentoo + Squid + Radius Auth + sslBump + remote SquidClamav + SquidGuard // intransparent official proxy in corporate environment

What to know: Squid caches and breaks clients encryption in MITM style. After clients request he establishes conections to both server and client. To the server he impersonates a client and checks servers certificates. Dismissed Server certs will be reported to the real client. To the client he acts like a server. After a succeful […]