Displaying 20 results from an estimated 5000 matches similar to: "Samba 4.10.7 + freeradius 3.0.17 +ntlm_auth - Debian buster"
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)
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]#
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
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
2025 Jan 24
1
Authenticating a user on domain member
On Thu, 23 Jan 2025 16:14:43 -0800
Gopal Raman via samba <samba at lists.samba.org> wrote:
> Hi
> I have a Samba AD-DC (on ubuntu) and I've created a user on it the DC
> called nileadmin.
> On the DC, 'pdbedit -w nileadmin' finds the entry and returns
> nileadmin:4294967295:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:6590718693B2E602D30F67B848E08AE9:[U
>         
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'
2023 Apr 03
2
ntlm_auth and freeradius
Op 03-04-2023 om 16:05 schreef Tim ODriscoll via samba:
> Dear All,
>
> I'm trying to setup FreeRADIUS to authenticate a machine account to grant access to wifi for domain-connected machines. I think I've got the GPO's set up properly and the CA deployed to the clients, as I'm not getting any errors there.
>
> The errors I'm getting are to do with ntlm_auth not
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
2023 Apr 03
1
ntlm_auth and freeradius
Dear All,
I'm trying to setup FreeRADIUS to authenticate a machine account to grant access to wifi for domain-connected machines. I think I've got the GPO's set up properly and the CA deployed to the clients, as I'm not getting any errors there.
The errors I'm getting are to do with ntlm_auth not authenticating my machine account. Everything looks OK (to me) on the command
2025 Jan 25
1
Authenticating a user on domain member
Hi Rowland
Finally, my DC and domain member are in a good state and I was able to
authenticate a user using the ntlm_auth program that I ran on the member
host. I will
describe the solution first because it may be helpful for others. I've also
put down couple of things that still perplex me (room for improvement
perhaps)
I'm running a radius server on a Ubuntu host (named RadSrv) and it
2023 Apr 03
2
[EXTERNAL] Fwd: ntlm_auth and freeradius
> I guess we have to look at the conf files then, first these two:
Thank 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
2018 Mar 27
5
ODP: Re: freeradius + NTLM + samba AD 4.5.x
Hello,
I can definately confirm that it's working.
My basic setup is:
1) Samba 4.7.6 AD 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 =
2013 Feb 22
6
Samba 4 and freeradius
Hi,
My goal is to make use of samba 4 and freeradius to authenticate user to use wifi network (WPA2 enterprise).
The setup is to setup Samba 4.0.3 in machine A and setup freeradius in machine B.
By reading: 
Document A: http://wiki.samba.org/index.php/Samba4/beyond
Document B: https://wiki.samba.org/index.php/Samba4/HOWTO/Virtual_Private_Network
Document C:
2019 Nov 06
2
NTLM refuses to work on a DC
Hi there,
I'm trying to get FreeRADIUS to authenticate against my Samba DC. It's 
Samba 4.7.6-ubuntu running on Ubuntu 18 (kernel version 
4.15.0-66-generic). It came nicely packaged with Zentyal, which provides 
a nice GUI for managing a domain, as well as a CA and lots of cool small 
features. That same Zentyal also includes support for FreeRADIUS (3.0.16).
This is my smb.conf:
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
2023 Apr 12
2
Fwd: ntlm_auth and freeradius
Hi Alexander,
I'm terribly sorry. We didnt have the "ntlm auth" parameter configured 
on the DCs at all. I added it and it just works.
Thanks for your help.
Now I just need to figure out how I can make WLAN-specific LDAP-Group 
authentication.
e. g. production WLAN needs LDAP group "wlan_production" and management 
WLAN needs the "wlan_management" group.
I
2023 Apr 12
1
Fwd: ntlm_auth and freeradius
Hello Alexander,
thanks Alexander for these configuration snippets.
Which version of Samba are you using? Is this on debian bullseye? Is the 
FreeRADIUS server installed on a DC or on a Domain Member? (I just 
tested the latter).
is "ntlm auth = yes" OK for the DCs and the domain member or does it 
have to be "mschapv2-and-ntlmv2-only" for all servers (DCs + Member)? It 
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 
2023 Apr 06
1
Fwd: ntlm_auth and freeradius
I can share my notes, we authenticate UniFi clients via Freeradius against Samba AD. We also check group membership which you might or might not need:
## 4 FreeRADIUS
### 4.1 Basics
```bash
apt install freeradius freeradius-ldap freeradius-utils
# create new DH-params
openssl dhparam -out /etc/freeradius/3.0/certs/dh 2048
```
### 4.2 Configure Authentication
- modify mschap to use winbind,
2023 Apr 03
2
Fwd: ntlm_auth and freeradius
Op 03-04-2023 om 16:05 schreef Tim ODriscoll via samba:
> Dear All,
>
> I'm trying to setup FreeRADIUS to authenticate a machine account to grant access to wifi for domain-connected machines. I think I've got the GPO's set up properly and the CA deployed to the clients, as I'm not getting any errors there.
>
> The errors I'm getting are to do with ntlm_auth not