Zentyal Forum, Linux Small Business Server

Zentyal Server => Directory and Authentication => Topic started by: sacarde on October 23, 2017, 09:04:01 pm

Title: error join domain
Post by: sacarde 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
Title: Re: error join domain
Post by: sacarde 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
Title: Re: error join domain
Post by: BerT666 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
Title: Re: error join domain
Post by: sacarde 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



Title: Re: error join domain
Post by: BerT666 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 ;-) ]
Title: Re: error join domain
Post by: sacarde 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?
Title: Re: error join domain
Post by: sacarde 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
Title: Re: error join domain
Post by: sacarde 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