Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D457D200CDD for ; Mon, 7 Aug 2017 09:56:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D2B51163DC8; Mon, 7 Aug 2017 07:56:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 24FD7163DBC for ; Mon, 7 Aug 2017 09:56:04 +0200 (CEST) Received: (qmail 12936 invoked by uid 500); 7 Aug 2017 07:56:04 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 12926 invoked by uid 99); 7 Aug 2017 07:56:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Aug 2017 07:56:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id C733D1A1B79 for ; Mon, 7 Aug 2017 07:56:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id l68LLhVXuK0D for ; Mon, 7 Aug 2017 07:56:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id A6B4E60DB3 for ; Mon, 7 Aug 2017 07:56:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id E664DE0D5B for ; Mon, 7 Aug 2017 07:56:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 52CB224175 for ; Mon, 7 Aug 2017 07:56:00 +0000 (UTC) Date: Mon, 7 Aug 2017 07:56:00 +0000 (UTC) From: "Jiajia Li (JIRA)" To: dev@directory.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DIRKRB-645) Start KerbyKdcServer should be failed if kdc_port already in use MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 07 Aug 2017 07:56:06 -0000 [ https://issues.apache.org/jira/browse/DIRKRB-645?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1611= 6211#comment-16116211 ]=20 Jiajia Li commented on DIRKRB-645: ---------------------------------- Thanks for reporting and providing the patch. I'm not sure whether DefaultI= nternalKdcServerImpl has the same issue, could you help to test? > Start KerbyKdcServer should be failed if kdc_port already in use > ---------------------------------------------------------------- > > Key: DIRKRB-645 > URL: https://issues.apache.org/jira/browse/DIRKRB-645 > Project: Directory Kerberos > Issue Type: Bug > Reporter: Lin Zeng > Assignee: Lin Zeng > Attachments: DIRKRB-645-01.patch > > > Now user can start KerbyKdcServer successfully if kdc_port already in use= , and without any error information printed in the console. Then when user = run kadmin tool, it will hang there and get the following error after time = out: > {quote} > Debug is true storeKey true useTicketCache false useKeyTab true doNotPro= mpt true ticketCache is null isInitiator true KeyTab is /home/lonnie/=E6=96= =87=E6=A1=A3/IdeaProjects/directory-kerby/kerby-dist/kdc-dist/conf/admin.ke= ytab refreKrb5Config is true principal is kadmin/EXAMPLE.COM@EXAMPLE.COM tr= yFirstPass is false useFirstPass is false storePass is false clearPass is f= alse > Refreshing Kerberos configuration > [Krb5LoginModule] authentication failed=20 > Receive timed out > Could not login with: kadmin/EXAMPLE.COM@EXAMPLE.COMReceive timed out > {quote} > I think start KerbyKdcServer should be failed if kdc_port already in use. -- This message was sent by Atlassian JIRA (v6.4.14#64029)