Fedora flickering in virtualbox

The screen flickering is wayland related, so you need to use Xorg as window manager:

  1. Open /etc/gdm/custom.conf into a text editor
  2. Uncomment WaylandEnable, if it is commented out, and ensure it is set to false
  3. Add DefaultSession=gnome=xorg.desktop to the daemon section
  4. Restart the machine.

source: https://www.serverlab.ca/tutorials/linux/administration-linux/how-to-fix-flickering-in-fedora-on-virtualbox/

LDAP authentication with ProFTPd on FreeBSD 11.2

You can use LDAP authentication with ProFTPd. Simply install proftpd-mod_ldap with

# pkg install proftpd-mod_ldap

afterwards edit your proftpd.conf file an enable ldap authen:

LoadModule mod_ldap.c
<IfModule mod_ldap.c>
    AuthOrder mod_ldap.c
    LDAPLog /var/log/proftpd/ldap.log
    LDAPAuthBinds on
    LDAPServer myhost
    LDAPUseTLS on
    LDAPBindDN "CN=mybinduser,DC=domain,DC=local" "mybindpw"
    LDAPUsers  "DC=domain,DC=local" "(&(sAMAccountName=%u)(objectclass=user))"
    LDAPAttr uid sAMAccountName
    LDAPAttr gidNumber primaryGroupID
    LDAPDefaultUID 65534
    LDAPDefaultGID 65534
    RequireValidShell off
    LDAPSearchScope subtree
    LDAPGenerateHomedir on
    LDAPGenerateHomedirPrefix /home
    CreateHome on
</IfModule>