Posts

Showing posts with the label samba

WPA2 Enterprise with FreeRADIUS and AD integration on Ubuntu16.04

Image
So you don't want to use the RADIUS feature of your MS Windows server, do you? Here you go, FreeRADIUS , an open-sourced project that will please you. Assuming: 172.100.99.100: FreeRADIUS IP address mydomain.com : domain name mydc.mydomain.com : domain controller MYNTDOMAIN : nt domain name 1. Install samba, winbind, krb5-user: sudo apt install samba winbind  krb5-user 2. Config samba by editing: a. /etc/samba/smb.conf: ... [global] ## Browsing/Identification ### # Change this to the workgroup/NT-domain name your Samba server will part of    workgroup = MYNTDOMAIN # need to add these     security = ads     password server = mydc.mydomain.com     realm = MYDOMAIN.COM     winbind use default domain = true ... b. /etc/krb5.conf: [libdefaults]         default_realm = MYDOMAIN.COM ... [realms]         MYDOMAIN.COM = {       ...