apache / apache/netbeans

Kerberos authentication fails with Git in NetBeans and Git does not support local Git client fallback

Open
#9,143 1 comment 0 reactions 0 assignees View on GitHub
git kind:bug needs:triage
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Apache NetBeans version

Apache NetBeans 28

### What happened

When attempting to use Git in NetBeans with Kerberos authentication, the credentials are not recognized, and a modal window appears with an error message. The issue seems to be related to JGit: does it support Kerberos authentication at all?
The local Git command-line tool works flawlessly. Why doesn’t NetBeans allow falling back to the system-installed Git client for authentication, as the standalone Git tool does?

### Language / Project Type / NetBeans Component

_No response_

### How to reproduce

With a Windows 11 in a microsoft domain logged with a domain user. A local git direcotry with local git client can exec:
git push origin master

Tha same action from Netbeasn 28 wont works with auth error

### Did this work correctly in an earlier version?

No / Don't know

### Operating System

Windows 11

### JDK

JDK 25 (Default)

### Apache NetBeans packaging

Community provided installer

### Anything else

_No response_

### Are you willing to submit a pull request?

No

Contributor guide

Open the contributing guide

Research direction

Start by tracing NetBeans' Git integration and its JGit authentication path, then compare it with the working system Git command-line flow on Windows 11 in a Microsoft domain. Done means Kerberos-authenticated push works in NetBeans or the requested local Git fallback is implemented and verified against the reported reproduction.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, java
Domain
authentication, devtools
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.