search for: radtest

Displaying 20 results from an estimated 27 matches for "radtest".

Did you mean: adtest
2016 Dec 19
5
Problem with keytab: "Client not found in Kerberos database"
...t has been joined directly to the Samba domain ("net ads join"). I have also extracted a keytab ("net ads keytab create -P") which created /etc/krb5.keytab. Now if I try to authenticate, I can get a TGT, but I can't actually authenticate to the LDAP server: root at wrn-radtest:~# kinit -k -t /etc/krb5.keytab root at wrn-radtest:~# ldapsearch -Y GSSAPI -h wrn-dc1.ad.example.net -b 'dc=ad,dc=example,dc=net' SASL/GSSAPI authentication started ldap_sasl_interactive_bind_s: Local error (-2) additional info: SASL(-1): generic failure: GSSAPI Error: Unspecified G...
2016 Dec 20
0
Problem with keytab: "Client not found in Kerberos database"
L.P.H. van Belle wrote: > start with fixing the overlapping idmap config. > that wont help. I don't think they are overlapping: I used 100,000-999,999 for rid and 1,000,000 to 9,999,999 for autorid. > check again if host.fqdn a and ptr exists in the dns. # dig +short wrn-radtest.ad.example.net. a 192.168.5.83 # dig +short -x 192.168.5.83 wrn-radtest.ad.example.net. > check resolv.conf Points to two nearby instances of pdns recursor, which in turn forward domains "ad.example.net" and "5.168.192.in-addr.arpa" to the Samba servers. > make sure...
2016 Dec 20
4
Problem with keytab: "Client not found in Kerberos database"
I finally found it, thanks to a clue from https://wiki.archlinux.org/index.php/Active_Directory_Integration This works: kinit -k -t /etc/krb5.keytab 'WRN-RADTEST$' These don't work: kinit -k -t /etc/krb5.keytab kinit -k -t /etc/krb5.keytab host/wrn-radtest.ad.example.net kinit -k -t /etc/krb5.keytab host/wrn-radtest That is: the keytab contains three different principals: root at wrn-radtest:~# net ads keytab list Vno Type...
2016 Dec 21
1
Problem with keytab: "Client not found in Kerberos database"
...o extract just a single named > principal? That would simplify things. But I can't see how to. > > As usual... clues gratefully received. samba-tool domain exportkeytab [keytabfile] --principal=[SPN or UPN] In your case samba-tool domain exportkeytab /etc/krb5.keytab --principal=WRN-RADTEST$
2016 Dec 19
1
Problem with keytab: "Client not found in Kerberos database"
...6 om 21:04 heeft Brian Candler via samba <samba at lists.samba.org> het volgende geschreven: > > And FWIW, here's the LDAP entry for the computer which was generated > when it joined: > > root at wrn-dc1:~# ldbsearch -H /usr/local/samba/private/sam.ldb > '(cn=wrn-radtest)' > # record 1 > dn: CN=wrn-radtest,CN=Computers,DC=ad,DC=example,DC=net > objectClass: top > objectClass: person > objectClass: organizationalPerson > objectClass: user > objectClass: computer > cn: wrn-radtest > instanceType: 4 > whenCreated: 20161219120818.0Z &g...
2017 Jun 05
2
C7 ansible 2.3 become_method: su not working
...rked. Here's an example (very simple) playbook: Because I'm having to use 'su' I have to either add the user password to the inventory file or use the --ask-become-pass parameter to the command line. Every time I do, I get this: [root at ansible ~]# ansible-playbook playbooks/radtest.yml --ask-become-pass SUDO password: It bombs timing out on privilege escalation. Every single time. I'm absolutely frustrated and am almost ready to throw ansible to the curb for something that doesn't suck so bad. But before I do, I'm asking the list, anyone seen anything like t...
2023 Apr 04
1
Fwd: ntlm_auth and freeradius
...(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' client with '-t mschap' and without as parameters. Without '-t mschap' works, but with it fails. I've narrowed down the authenticating DC, turned up logging and found this: [2023/04/04 08:36:31.653500, 3] ../../source4/auth/ntlm/auth.c:207(auth_check_password_send) auth...
2019 Aug 30
6
Samba 4.10.7 + freeradius 3.0.17 +ntlm_auth - Debian buster
...External script failed (0) mschap: ERROR: External script says: The attempted logon is invalid. This is either due to a bad username or authentication information. (0xc000006d) (0) mschap: ERROR: MS-CHAP2-Response is incorrect (0) [mschap] = reject What is not clear here to me is . I test : radtest -t mschap myusername 'MyPass!' localhost 0 testing123-1 Responce: (1) mschap: Client is using MS-CHAPv1 with NT-Password Then im thinking why chap-v1. Im thinking im sending with : --allow-mschapv2 << mschap V2 ntlm_auth = "/usr/bin/ntlm_auth --allow-mschapv2 --request-nt-k...
2019 Nov 06
2
NTLM refuses to work on a DC
...ax log size = 100000 ??? include = /etc/samba/shares.conf [netlogon] ??? path = /var/lib/samba/sysvol/internal.company.com/scripts ??? browseable = no ??? read only = yes [sysvol] ??? path = /var/lib/samba/sysvol ??? read only = no When I run the following, I get no problems whatsoever: radtest domainuser userpassword localhost 0 secret123 (To those who are not familiar, radtest is a tool for testing authentication on FreeRADIUS) Also when I run the following: ntlm_auth --request-nt-key --domain=COMPANY --username=domainuser --password=userpassword NT_STATUS_OK: The operation comple...
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)
2017 May 29
2
ntlm_auth with freeradius
...two other sernet-samba-4.6.4 AD DC's. $ ntlm_auth --request-nt-key --domain=LAMBROOK --username=tim.odriscoll --password=<mypass> NT_STATUS_OK: Success (0x0) $ ntlm_auth --request-nt-key --domain=LAMBROOK --username=tim.odriscoll --password=<mypass> --challenge=<challenge-from-radtest> --nt-response=<response-from-radtest> Logon failure (0xc000006d) Is it safe to use the challenge/responses from a recent radtest command in my ntlm_auth testing? How can I dig deeper into this problem and get to the bottom of it? Many thanks, Tim
2019 Aug 30
0
Samba 4.10.7 + freeradius 3.0.17 +ntlm_auth - Debian buster
...o, 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 Christian, this failes for me. radtest -t mschap 'NTDOM\username" 'passwd' localhost 0 testing ( MS-CHAP-Er...
2019 Nov 06
0
NTLM refuses to work on a DC
...> [netlogon] > ??? path = /var/lib/samba/sysvol/internal.company.com/scripts > ??? browseable = no > ??? read only = yes > > [sysvol] > ??? path = /var/lib/samba/sysvol > ??? read only = no > > When I run the following, I get no problems whatsoever: > > radtest domainuser userpassword localhost 0 secret123 > > (To those who are not familiar, radtest is a tool for testing > authentication on FreeRADIUS) > > Also when I run the following: > > ntlm_auth --request-nt-key --domain=COMPANY --username=domainuser > --password=userpass...
2017 Jun 05
0
C7 ansible 2.3 become_method: su not working
On 06/05/2017 10:40 AM, Mark Haney wrote: > [root at ansible ~]# ansible-playbook playbooks/radtest.yml > --ask-become-pass > SUDO password: ansible-playbook --become-method su --ask-become-pass playbooks/radtest.yml
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 do...
2006 Aug 28
2
winbind issue
i was able to successfully joined the linux machine ie. RHEL 3 to windows 2003 domain and able to pull the AD users and groups using wbinfo -u and wbinfo -g command. Am trying to authenticate the AD user using radtest, a command tool used in freeradius to authenticate the user logon credentials. It rejects AD user logon credentials. I have linux nis server running under same subnet. This machine is binded to this linux NIS domain and joined to windows 2003 domain. Here is my nsswitch.conf file. passwd: fil...
2023 Apr 04
1
Fwd: ntlm_auth and freeradius
...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' client with '-t mschap' and without as > parameters. Without '-t mschap' works, but with it fails. > > > > > > > > I've narrowed down the authenticating DC, turned up logging and found > this: > > > [2023/04/04 08:36:31.653500...
2012 Mar 02
0
pam and radius config problem
Hi, I am trying to configure ssh/pam to use freeradius as one of the authentication sources on a C6 box. I have freeradius running on a separate box with 2 factor authentication. Using the radtest utility, I can successfully authenticate. My problem is that I do not understand how to configure pam to use radius as an auth source and be sure I am not opening a security hole in my systems. While googling, I have found several howto's that talk about how to do this using the pam_radius uti...
2016 Sep 28
3
Asterisk Radius CDR
Hi Andrew and Willy, Thanks for sharing the info. As for enabling radius server debugging 'radiusd -X', made some test calls don't see the radiusclient sending data to radius server. However, using radtest or radiusclient testing, able to send data to radius server (after enabling debug). For further testing, on my other server using OpenSIPs, setup the radiusclient and data was able to send over to radius server without any issue i.e. using same radiusclient config that I'm using for Asterisk...
2016 Dec 20
0
Problem with keytab: "Client not found in Kerberos database"
...press/Kerberos-Client-not-found-in-Kerberos-database/td-p/20591 This also says you must kinit as '<computername>$' WORKAROUND: I couldn't get freeradius to select a principal to use for authentication, so instead I used ktutil to generate a keytab containing only the 'WRN-RADTEST$' principal. rkt /etc/krb5.keytab delent 1 # repeat this 10 times wkt /etc/radius.keytab and chown'd this file so the radius server can access it. This now works, yay! - freeradius can establish a connection to the LDAP server. However: (1) Does Samba change the host kerberos key pe...