Error adding Rockstor to a Windows domain

Brief description of the problem

I tried to add the rockstor server to a windows domain using the active directory service and i got the following error: Traceback (most recent call last):
File “/opt/rockstor/src/rockstor/smart_manager/views/active_directory.py”, line 58, in _resolve_check
socket.gethostbyname(domain)
gaierror: [Errno -2] Name or service not known

What can i check or do?
Thank you in advance.

Detailed step by step instructions to reproduce the problem

Trying to connect the Rockstor server to a Windows domain.

Web-UI screenshot

Error Traceback provided on the Web-UI

Traceback (most recent call last):
File “/opt/rockstor/src/rockstor/smart_manager/views/active_directory.py”, line 58, in _resolve_check
socket.gethostbyname(domain)
gaierror: [Errno -2] Name or service not known

@Rotoduplex welcome to the Rockstor community.
Can you share a bit more about the Rockstor version your are running (looking at the upper right corner I seem to see that it is already on openSUSE?).
Are you able to share a few more details about the settings that you have used that could help point other forum members in the right direction?

2 Likes

hi
have same problem
fresh install. but running on hyper-v
It definitely can ping the domain name and the rest of the network
I add the domain name. Example : domain.local
user a username with Domain and Enterprise Access
Get same error
NTP is switched on

Uptime: 01:56
Linux: 5.14.21-150400.24.46-default
Uses openSUSE Leap

Hi @Technowiz,

Sorry for the delay in getting back to you.

I would encourage you to open a new thread if you are still encountering an issue so that we can keep the thread as focused and relevant to your situation as possible.

My first thoughts here relate to a network configuration issue (cat /etc/hosts and cat /etc/resolv.conf to make sure they have all they need). Also, maybe you just redacted your actual domain name, but note that a .local. TLD usually is problematic as it is reserved/used for Avahi.

Hope this helps,

1 Like