Hello Eugene
By the following "it all works if I use only the default realm and link it to
the AD domain." You mean that if u set your sources to the default realm,
assigning AD to the default realm and have no other realms configured,
authenticating with AD works?
Would u mind sharing the configuration u have that works with default realm?
Short term, it might just suffice for us.
Regards
Jimmy
Van: E.P. via PacketFence-users [mailto:[email protected]]
Verzonden: woensdag 7 maart 2018 4:33
Aan: [email protected]
CC: E.P. <[email protected]>
Onderwerp: Re: [PacketFence-users] [Packetfence] AD authentication with
FreeRadius: "reading winbind reply failed!"
Hi Jimmy and Fabrice,
I would like to report the same experience. I have a realm (OPTIONS-AD-REALM)
and it is associated with the AD domain (optionsad), i.e.
[OPTIONS-AD-REALM]
domain=optionsad
options=strip
I had similar problems with winbind, same errors in the output of RADIUS debug.
Moreover, my attempt to test authentication from the command line was
successful:
[root@PacketFence-ZEN bin]# ./pftest authentication it.tech XXXXXXXXX
Authenticating against OPTIONS-AD-SOURCE
Authentication SUCCEEDED against OPTIONS-AD-SOURCE (Authentication
successful.)
Matched against OPTIONS-AD-SOURCE for 'authentication' rules
set_role : Staff
set_unreg_date : 2019-12-31
Go figure what's wrong, permissions, bugs or a lack of understanding from my
side as what I see as the result of ntlm_auth query drives me mad:
[root@PacketFence-ZEN bin]# ntlm_auth --request-nt-key --domain=optionsad
--username=it.tech
Password:
could not obtain winbind separator!
Reading winbind reply failed! (0x01)
: (0x0)
So, here I would like Fabrice comment on this, specifically bearing in mind
that it all works if I use only the default realm and link it to the AD domain.
What's the point of having named realms ?
Moreover, if I test my authentication source with the authentication realm
pointing to default the test fails. If I remove it then the test goes through ?
What's the point of having the realm here, Fabrice ?
Moreover, if I use FQDN for the host that acts as the windows domain controller
my test also fails but if I use the IP address it is all good.
I know and I swear that PF can resolve the name normally.
There are more questions that I'd like to ask strongly believing there's faulty
code or missing documentation or a combination of both.
Eugene
From: Durand fabrice via PacketFence-users
[mailto:[email protected]]
Sent: Tuesday, March 06, 2018 6:26 PM
To:
[email protected]<mailto:[email protected]>
Cc: Durand fabrice <[email protected]<mailto:[email protected]>>
Subject: Re: [PacketFence-users] [Packetfence] AD authentication with
FreeRadius: "reading winbind reply failed!"
Hello Jimmy,
create the realms associated to your domain, like you have a user like ACME\bob
and [email protected]<mailto:[email protected]> then create the 2 realms and associate
them to your AD.
Regards
Fabrice
Le 2018-03-06 à 07:14, Jimmy Claes via PacketFence-users a écrit :
I've been trying to figure out this problem for days, whenever I try to
authenticate a user on Windows, I get the following error while the login is
correct:
[cid:[email protected]]
'wbinfo -p' fails aswell:
[cid:[email protected]]
Winbind service is running:
[cid:[email protected]]
Freeradius service is running:
[cid:[email protected]]
The permissions on winbindd_privileged are properly set:
[cid:[email protected]]
Result of running 'freeradius -X' attached.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/packetfence-users
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users