Author Topic: error join domain  (Read 2636 times)

sacarde

  • Zen Apprentice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
error join domain
« on: October 23, 2017, 09:04:01 pm »
hi,
   I installed zentyal5 in qemu vm and create domain: sistemisti.local
in another vm I have kubuntu16.04, and installed: pbis-open-8.5.5

when I try to insert PC into domain:

Code: [Select]
sudo domainjoin-cli join
AD Domain: sistemisti.local
Username: pippo2
Joining to AD Domain:   sistemisti.local
With Computer DNS Name: sacarde-1604.sistemisti.local

pippo2@SISTEMISTI.LOCAL's password: ***


I have error:

Quote
Error: Undocumented exception [code 0x00009efc]

An undocumented exception has occurred. Please contact BeyondTrust technical support and use
the error code to identify this exception.

what can I do?



thank you

sacarde

  • Zen Apprentice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: error join domain
« Reply #1 on: October 23, 2017, 09:20:59 pm »
after reboot I retry.... and I have:

Quote
sudo domainjoin-cli join
AD Domain: sistemisti.local
Username: pippo2
Joining to AD Domain:   sistemisti.local
With Computer DNS Name: sacarde-1604.sistemisti.local

pippo2@SISTEMISTI.LOCAL's password:

Error: DNS_ERROR_BAD_PACKET [code 0x0000251e]

A bad packet was received from a DNS server. Potentially the requested address does not exist

BerT666

  • Zen Warrior
  • ***
  • Posts: 228
  • Karma: +17/-0
    • View Profile
Re: error join domain
« Reply #2 on: October 24, 2017, 08:50:58 am »
Hi,

do you have the Zentyal Box in your DNS config?
Where does the Client get its (network) config? Maybe a wrong DNS server in the Client conf?

Regards

Thomas

sacarde

  • Zen Apprentice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: error join domain
« Reply #3 on: October 24, 2017, 09:33:30 am »
I have in guest client (kubuntu1604) in /etc/hosts

Code: [Select]
192.168.1.200   zentyal.sistemisti.local zentyal




BerT666

  • Zen Warrior
  • ***
  • Posts: 228
  • Karma: +17/-0
    • View Profile
Re: error join domain
« Reply #4 on: October 24, 2017, 12:18:58 pm »
ok, the resolv.conf seems to be good...

Maybe (cannot test, I am at work atm) you could try the client-hostname without "-" ...

ONLY for testing: could you try to disable the Zentyal firewall and test again?

[I have deactivated it completely, but I have a SoHo-Hardware-Firewall protecting my net ;-) ]

sacarde

  • Zen Apprentice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: error join domain
« Reply #5 on: October 24, 2017, 04:51:55 pm »
- I view this strange things:
even if I have the errors above, when I run command to join...
I view in zentyal (users and computers)

http://sacarde.altervista.org/np/usercomp1.jpg

my virtualPC hostnames (without any other data)


- how can I disable firewall in simple way?

sacarde

  • Zen Apprentice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: error join domain
« Reply #6 on: October 24, 2017, 06:19:28 pm »
I make some changes:

- add zentyal-IP in resolv.conf
- modifyed /etc/nsswitch.conf
(like https://gist.github.com/troyfontaine/dc8c9c9882188c24ca53)
- remove "-" from hostname

now I have SUCCESS in join to domain

but I have to find a way to login (from displaymanager) directly into domain
« Last Edit: October 24, 2017, 08:23:41 pm by sacarde »

sacarde

  • Zen Apprentice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: error join domain
« Reply #7 on: October 26, 2017, 10:56:38 am »
...
but I have to find a way to login (from displaymanager) directly into domain

I find 2 way to do this:

- from commandline:
Code: [Select]
su - sistemisti.local\\pippo2


- from menu-login (DM):
Code: [Select]
user=sistemisti.local\pippo2