Hello all,  

  
I'm an IT student who started looking at PacketFence for a project and explored 
it. From what I can tell, it looks like there are plenty of functionalities 
that are really nice to explore. However, I couldn't manage to link it to my 
domain and was hoping I could find some help here.   
  
I'm using two virtuals machines on VMWare Player 15 for it, configured with 
bridged network connections : - CentOS 7 to host PacketFence 10.1.0  
      - During the CentOS configuration, I set a manual IP address to 
[172.16.37.127 /24](http://172.16.37.127/24) and localhost.domain to 
packetfence.DOMAIN.labo  
       I then installed PacketFence following the Installation Guide from the 
documentation.   
- Windows Server 2019 with AD and DNS  
      - IP : 172.16.37.125 /24  
      - Domain : DOMAIN.labo  
  
At the start configuration, i've set the options as follows :   
- Set the interface as Management, the hostname is still 
packetfence.DOMAIN.labo as configured on CentOS and the DNS is the .125.   
- The domain DOMAIN.labo and the gateway is 172.16.37.1  
  
Then, as explained in the guide, I then went in  to Configuration->Policies and 
Access Control->Domains->Active Directory Domains and entered the following 
parameters :  
ID: domainLabo  
Workgroup: DOMAIN  
DNS name of the domain: DOMAIN.LABO  
This server's name : packetfence  
Sticky DC : 172.16.37.125  
AD Server: 172.16.37.125  
DNS Server: 172.16.37.125  
OU : Computers  
ntlmv2 unchecked  
allow on registration unchecked  
And I use the Administrator | Password account to connect to it. (correct 
logins as I added a computer in the domain with them)  
I tried DOMAIN\Administrator, 
[[email protected]](https://workspace.infomaniak.com/mail/composeTo/Administrator%40domain.labo)
  
  
However, I get the following message : Failed to join domain: failed to find DC 
for domain DOMAIN- {Operation Failed} The requested operation was unsuccessful. 
  
  
If I change the Server's name to %h, the message changes to :   
ads_connect: No logon servers are currently available to service the logon 
request. Join to domain is not valid: No logon servers are currently available 
to service the logon request   
 I tried a few things to troubleshoot that issue :  
__________________________________________________  
1. Added a DNS Host (A) in my forest.  
__________________________________________________    
2. Ping from CentOS to Windows Server - OK  
__________________________________________________    
3. net ads lookup -S 172.16.37.125  
Information for Domain Controller: 172.16.37.125  
Response Type: LOGON_SAM_LOGON_RESPONSE_EX  
GUID:..  
Only negative Flags are :  
Is a non-domain NC serviced by LDAP server: no  
is NT6 DC that has some secrets : no  
Forest: domain.labo  
domain: domain.labo  
Domain Controller: Win2019.domain.labo  
Pre-Win2k Domain: DOMAIN  
Pre-Win2k hostname: Win2019  
Server Site Name: Default-First-Site-Name  
Client Site Name: Default-First-Site-Name    
NT Version: 5  
LMNT Token: ffff  
LM20 Token: ffff  
__________________________________________________    
4. net ads info -s /ect/samba/DOMAINlabo.conf  
LDAP server: 172.16.37.125  
LDAP server name: Win2019.domain.labo  
Realm: DOMAIN.LABO  
Bind Path: dc=DOMAIN,dc=LABO  
LDAP port: 389  
Server time: Tue, 23 Jun 2020 11:15:53 CEST  
KDC server: 172.16.37.125  
Server time offset: 0  
Last machine account password change: Thu, 01 Jan 1970 01:00:00 CET  
__________________________________________________      
5. Checking DNSs server on /etc/resolv.conf  
nameserver 172.16.37.125  
__________________________________________________      
6. Checking DNSs server on /etc/hosts (only localhost is listed though)  
127.0.0.1 localhost....  
::1 localhost....  
Maybe I should add a 172.16.37.125 Win2019 Win2019.domain.labo line ?  
__________________________________________________      
7. Tried to join the domain manually  
net ads join -s /etc/samba/Domainlabo.conf -U user -d 10  
  
  
I know some else got a problem similar already 
([https://sourceforge.net/p/packetfence/mailman/packetfence-users/thread/171762848.1771941.1545997868591.JavaMail.zimbra%40novasys.coop/#msg36503512](https://sourceforge.net/p/packetfence/mailman/packetfence-users/thread/171762848.1771941.1545997868591.JavaMail.zimbra%40novasys.coop/#msg36503512)).
 I think the issue was that both servers were not on the same timezone.   
But they both give me the same time (11:06 as I write) so I guess it's not that 
 :  
- PF shows it as : Time zone: Europe/Paris (CEST, +0200)- WindowsServer : W. 
Europe Standard Time (UTC+01:00)  
  
Does anyone have any idea how I could resolve that issue ?  
I would gladly answer any question or give any data to help  
  
Neal  

_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to