search for: mschap

Displaying 20 results from an estimated 90 matches for "mschap".

2019 Aug 30
6
Samba 4.10.7 + freeradius 3.0.17 +ntlm_auth - Debian buster
...what im i doing, im following http://deployingradius.com/ Followed these steps, that works out fine. Then we goto : http://deployingradius.com/documents/configuration/active_directory.html for smb.conf i use the config i always us, pretty basic + i added (ass noted on the site) : ntlm auth = mschapv2-and-ntlmv2-only And offcourse i joined this server to the domain. Now im at : Configuring FreeRADIUS to use ntlm_auth for MS-CHAP And i just can not get this to work. What i notice. (0) Found Auth-Type = mschap (0) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (0)...
2023 Apr 03
2
Fwd: ntlm_auth and freeradius
...> drwxr-x---+ 2 root radiusd 18 Apr 1 21:39 /var/lib/samba/winbindd_privileged/ > # ntlm_auth --username=tim.odriscoll > Password: > : (0x0) You already did the thing I asked below... > Samba's config has this on the member (FR) server and all the DCs: > ntlm auth = mschapv2-and-ntlmv2-only > > But I'm getting this back from FreeRADIUS: > (7) mschap: Creating challenge hash with username: host/SL-6S4BBS3.MYDOMAIN.co.uk > (7) mschap: Client is using MS-CHAPv2 > (7) mschap: Executing: /usr/bin/ntlm_auth --request-nt-key --username=%{mschap:User-Name}...
2023 Apr 03
1
ntlm_auth and freeradius
...Ping to winbindd succeeded # ls -ld /var/lib/samba/winbindd_privileged/ drwxr-x---+ 2 root radiusd 18 Apr 1 21:39 /var/lib/samba/winbindd_privileged/ # ntlm_auth --username=tim.odriscoll Password: : (0x0) Samba's config has this on the member (FR) server and all the DCs: ntlm auth = mschapv2-and-ntlmv2-only But I'm getting this back from FreeRADIUS: (7) mschap: Creating challenge hash with username: host/SL-6S4BBS3.MYDOMAIN.co.uk (7) mschap: Client is using MS-CHAPv2 (7) mschap: Executing: /usr/bin/ntlm_auth --request-nt-key --username=%{mschap:User-Name} --allow-mschapv2 --doma...
2023 Apr 03
2
ntlm_auth and freeradius
...d /var/lib/samba/winbindd_privileged/ > drwxr-x---+ 2 root radiusd 18 Apr 1 21:39 /var/lib/samba/winbindd_privileged/ > # ntlm_auth --username=tim.odriscoll > Password: > : (0x0) > > Samba's config has this on the member (FR) server and all the DCs: > ntlm auth = mschapv2-and-ntlmv2-only > > But I'm getting this back from FreeRADIUS: > (7) mschap: Creating challenge hash with username: host/SL-6S4BBS3.MYDOMAIN.co.uk > (7) mschap: Client is using MS-CHAPv2 > (7) mschap: Executing: /usr/bin/ntlm_auth --request-nt-key --username=%{mschap:User-Name}...
2023 Apr 03
2
[EXTERNAL] Fwd: ntlm_auth and freeradius
...k you for the config file snippets. I can confirm mine were almost identical, so I've tweaked them so that they are now exactly the same as yours except for the "--require-membership-of=example\authorization_groupname" line in ntlm_auth. Unfortunately it's still erroring out: (7) mschap: Creating challenge hash with username: host/SL-6S4BBS3.MYDOMAIN.co.uk (7) mschap: Client is using MS-CHAPv2 (7) mschap: Executing: /usr/bin/ntlm_auth --request-nt-key --username=%{%{mschap:User-Name}:-00} --allow-mschapv2 --domain=MYDOMAIN --challenge=%{%{mschap:Challenge}:-00} --nt-response=%{%{m...
2019 Aug 30
0
Samba 4.10.7 + freeradius 3.0.17 +ntlm_auth - Debian buster
We have this running but on a DC (Samba 4.10.7). we have this line in /etc/raddb/mods-enabled/mschap. Only this line! DOMAIN is the actual netbio name of the domain. ntlm_auth = "/usr/bin/ntlm_auth --allow-mschapv2 --request-nt-key --username=%{mschap:User-Name:-None} --domain=DOMAIN --challenge=%{mschap:Challenge:-00} --nt-response=%{mschap:NT-Response:-00}" Do you users login in wi...
2019 Aug 30
0
Samba 4.10.7 + freeradius 3.0.17 +ntlm_auth - Debian buster
Guys, Christian, Marco, Thank you very much. Marco, you have the best internal wiki :-) Very very usefull. Whooe.. Most is working atm. And as always the solution was so simpel.. I forgot... To .. Add... ntlm auth = mschapv2-and-ntlmv2-only To the DC's smb.conf. :-/ pretty stupid.. But. So far, it looks good. I've tested now. radtest -t mschap username 'passwd' localhost 0 testing radtest -t mschap username at REALM 'passwd' localhost 0 testing These 2 work, thanks for that guys. Now...
2023 Apr 03
2
[EXTERNAL] Fwd: ntlm_auth and freeradius
On Mon, 2023-04-03 at 15:08 +0000, Tim ODriscoll via samba wrote: > Unfortunately it's still erroring out: > (7) mschap: Creating challenge hash with username: host/SL-6S4BBS3.MYDOMAIN.co.uk > (7) mschap: Client is using MS-CHAPv2 Is this set as a UPN (with the realm appended) on the user? -- Andrew Bartlett (he/him) https://samba.org/~abartlet/ Samba Team Member (since 2001) https://samba.org Samba Developer,...
2023 Apr 04
1
Fwd: ntlm_auth and freeradius
On Mon, 2023-04-03 at 15:08 +0000, Tim ODriscoll via samba wrote: Unfortunately it's still erroring out: (7) mschap: Creating challenge hash with username: host/SL-6S4BBS3.MYDOMAIN.co.uk (7) mschap: Client is using MS-CHAPv2 > Is this set as a UPN (with the realm appended) on the user? I don't see any UPN's in my AD record, only SPNs - unless I misunderstand you? I've run the 'radtest'...
2019 Aug 30
1
Samba 4.10.7 + freeradius 3.0.17 +ntlm_auth - Debian buster
Am 30.08.19 um 13:09 schrieb L.P.H. van Belle via samba: > Now Christian, this failes for me. > radtest -t mschap 'NTDOM\username" 'passwd' localhost 0 testing > ( MS-CHAP-Error = "\000E=691 R=1 C=58f41f1a946ac94a V=2") > > So my question here is, are the username at REALM logins also working for you. > And are you using in smb.conf : winbind use default domain = yes...
2018 Oct 09
2
Samba and Freeradius...
...a NT like domain to a new stretch server (freeradius 3.0.12+dfsg-5+deb9u1 and samba 4.8.5+mnu-1~deb9, louis packages). Many things changed. I've followed (also): https://wiki.samba.org/index.php/Authenticating_Freeradius_against_Active_Directory and added in /etc/samba/smb.conf ntlm auth = mschapv2-and-ntlmv2-only first note: the server that run freeradius is a domain member, not a DC. 'ntlm auth = mschapv2-and-ntlmv2-only' have to be added to DC(s)? To the server that run freeradius (DC or DM)? It is not clear... Anyway i've tried both with: winbind_username = "%{%{msc...
2019 Sep 28
5
problems after migrating NT domain to AD (samba 4.7.x)
Dear List, My domain +/- works, so I try to fix rest services based on domain NT/AD.... I use WiFi authorization with PEAP/MSCHAPv2 + freeradius (before migration it works). And after migration autorization does not work. Freeradius server is on samba domain member. So i check domain connectivity: [root at see-you-later samba]# net ads testjoin Join is OK [root at see-you-later samba]# wbinfo -a test%XXXX plaintext passw...
2019 Sep 30
0
problems after migrating NT domain to AD (samba 4.7.x)
...> CC: Maciej Wysocki [WSISiZ]; Administrator WIT > Onderwerp: [Samba] problems after migrating NT domain to AD > (samba 4.7.x) > > Dear List, > > My domain +/- works, so I try to fix rest services based on > domain NT/AD.... > > I use WiFi authorization with PEAP/MSCHAPv2 + freeradius (before > migration it works). > > And after migration autorization does not work. > > Freeradius server is on samba domain member. > > So i check domain connectivity: > > [root at see-you-later samba]# net ads testjoin > Join is OK > [root at se...
2018 Mar 27
5
ODP: Re: freeradius + NTLM + samba AD 4.5.x
...D DC (2 of them), compiled from source, on centos 7 2) Freeradius 3.0.13 + samba 4.6.2 as domain member, packages straight from centos repo. // I  tested also on freeradius 3.0.14 and samba 4.7.x smb.conf on the DC is pretty basic, most important is obviously in [globall]:         ntlm auth = mschapv2-and-ntlmv2-only On server with freeradius + samba 4.6.2: machine is added to AD using samba with net ads join. Most important configuration to make mschapv2 only with ntlmv1 overall disabled (except for mschapv2) is setting in freeradius in /mods-available/mschap: mschap { ..... ntlm_auth...
2019 Oct 21
4
Samba4 and Freeradius
Hello, i've configured a new freeradius server for WLAN authentication. My radius server is a domain member on my samba 4.7.12 ADDC. For my mschap configuration i followd this guide: https://wiki.samba.org/index.php/Authenticating_Freeradius_against_Active_Directory. The auth works! I can configure ntlm_auth in two differents way? ntlm_auth = "/path/to/ntlm_auth*--allow-mschapv2* --request-nt-key --username=%{mschap:User-Name} --dom...
2016 Dec 20
3
Problem with keytab: "Client not found in Kerberos database"
...9;fix' > > >this, on face value, there is nothing wrong with that line. > > > "imdap" is not "idmap" > > (so now you understand why I missed it after staring at it so long :-) Oh yes ;-) > I can't use rlm_krb5, because I plan to use PEAP+MSCHAP for wifi > authentication. The krb5 module requires a cleartext password, but > MSCHAP does not pass a cleartext password. (It is possible to use > krb5 authentication with TTLS+PAP or TTLS+GTC, both of which send a > cleartext password) You might want to read this: https://www.samb...
2006 Jun 12
0
Active Directory Integration with FreeRADIUS - NTLM_Auth
...defined. Did you mean output=none? Module: Instantiated exec (exec) Module: Loaded expr Module: Instantiated expr (expr) Module: Loaded PAP pap: encryption_scheme = "crypt" Module: Instantiated pap (pap) Module: Loaded CHAP Module: Instantiated chap (chap) Module: Loaded MS-CHAP mschap: use_mppe = yes mschap: require_encryption = no mschap: require_strong = no mschap: with_ntdomain_hack = yes mschap: passwd = "(null)" mschap: authtype = "MS-CHAP" mschap: ntlm_auth = "/usr/bin/ntlm_auth --request-nt-key --domain= %{mschap:NT-Domain} --username=%{msch...
2018 Mar 27
2
ODP: Re: freeradius + NTLM + samba AD 4.5.x
ok, tested it, and it works. so to summarize: on samba ad 4.7.x  in smb.conf "ntlm auth" is set to "mschapv2-and-ntlmv2-only" fr + samba domain member (4.6 and 4.7) in mods-available/mschap you have to add to ntlm_auth --allow-mschapv2 to the whole string OR just use winbind method, which sets correct flag without explicitly adding it. with those settings ntlmv1 is blocked except for mschapv2, and...
2023 Apr 04
2
Fwd: ntlm_auth and freeradius
> You said earlier that you have set ntlm auth = mschapv2-and-ntlmv2-only Yes, I found that here: https://wiki.samba.org/index.php/Authenticating_Freeradius_against_Active_Directory > This means to reject NTLMv1, which MSCHAPv2 is cryptographically, unless the client makes special pleading that it used MSCHAPv2 with it's client. > This is r...
2018 Mar 26
2
freeradius + NTLM + samba AD 4.5.x
Hello, I've done some further testing, and I have to correct myself. I was (kind of obviously as I think about it) wrong about samba on the freeradius server requiring v. 4.7. What makes all the difference is the method used by mschap. Traditionally in freeradius in mods-available/mschap you'll use something like: ntlm_auth = "/path/to/ntlm_auth --request-nt-key --username=%{mschap:User-Name} --domain=DOMAIN--challenge=%{%{mschap:Challenge}:-00} --nt-response=%{%{mschap:NT-Response}:-00}" but starting form...