Difference between revisions of "FreeRADIUS WPA2-Enterprise Windows Active Directory"
Jump to navigation
Jump to search
Michael.mast (talk | contribs) |
Michael.mast (talk | contribs) |
||
| Line 8: | Line 8: | ||
password server = your.domain.net | password server = your.domain.net | ||
realm = your.domain.net | realm = your.domain.net | ||
| + | [root@radius02 ~]# nano /etc/krb5.conf | ||
| + | [realms] | ||
| + | # EXAMPLE.COM = { | ||
| + | # kdc = kerberos.example.com | ||
| + | # admin_server = kerberos.example.com | ||
| + | # } | ||
| + | |||
| + | your.domain.net = { | ||
| + | |||
| + | >kdc = **your.domain.net** | ||
| + | |||
| + | >} | ||
[root@radius02 ~]# systemctl start winbind | [root@radius02 ~]# systemctl start winbind | ||
[root@radius02 ~]# ntlm_auth --request-nt-key --domain=domain --username=user --password=password | [root@radius02 ~]# ntlm_auth --request-nt-key --domain=domain --username=user --password=password | ||
NT_STATUS_OK: Success (0x0) | NT_STATUS_OK: Success (0x0) | ||
Revision as of 13:55, 14 October 2016
[root@radius02 ~]# yum install samba-winbind-clients samba
[root@radius02 ~]# mv /etc/samba/smb.conf /etc/samba/smb.conf.bak
[root@radius02 ~]# nano /etc/samba/smb.conf
[global]
workgroup = your
security = ads
password server = your.domain.net
realm = your.domain.net
[root@radius02 ~]# nano /etc/krb5.conf
[realms]
# EXAMPLE.COM = {
# kdc = kerberos.example.com
# admin_server = kerberos.example.com
# }
your.domain.net = {
>kdc = **your.domain.net**
>}
[root@radius02 ~]# systemctl start winbind
[root@radius02 ~]# ntlm_auth --request-nt-key --domain=domain --username=user --password=password
NT_STATUS_OK: Success (0x0)