DEV Community

Nur Kholis M
Nur Kholis M

Posted on • Edited on

Unable to join domain

Issue

Unable to join domain to Active Directory server with these error

GSSAPI Error: Unspecified GSS failure. Minor code may provide more information (Server not found in Kerberos database) ...
! Couldn't authenticate to active directory: SASL(-1): generic failure: GSSAPI Error: Unspecified GSS failure. Minor code may provide more information (Server not found in Kerberos database) 
adcli: couldn't connect to [redacted] domain: Couldn't authenticate to active directory: SASL(-1): generic failure:  
! Insufficient permissions to join the domain realm: Couldn't join realm: Insufficient permissions to join the domain ...
Enter fullscreen mode Exit fullscreen mode

failed to joindomain

Caused

Some UDP port is blocked by firewall

53/udp  open
123/udp open|filtered
88/udp  open|filtered
389/udp open|filtered
464/udp open|filtered
137/udp open|filtered
138/udp open|filtered
636/udp open|filtered
Enter fullscreen mode Exit fullscreen mode

Resolution

Open firewall to UDP port on AD server

53/udp  open
123/udp open
88/udp  open|filtered
389/udp open
464/udp open|filtered
137/udp open|filtered
138/udp open|filtered
636/udp closed
Enter fullscreen mode Exit fullscreen mode

References

Heroku

This site is built on Heroku

Join the ranks of developers at Salesforce, Airbase, DEV, and more who deploy their mission critical applications on Heroku. Sign up today and launch your first app!

Get Started

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs