Skip Menu |
 

Download (untitled) / with headers
text/plain 4.2KiB
From b17783@achilles.ctd.anl.gov Fri Sep 27 17:33:57 1996
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28]) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id RAA09561 for <bugs@RT-11.MIT.EDU>; Fri, 27 Sep 1996 17:33:56 -0400
Received: from achilles.ctd.anl.gov by MIT.EDU with SMTP
id AA00538; Fri, 27 Sep 96 17:33:56 EDT
Received: from pembroke.ctd.anl.gov (pembroke.ctd.anl.gov [146.137.64.73]) by achilles.ctd.anl.gov (8.6.11/8.6.11) with ESMTP id QAA08684 for <krb5-bugs@mit.edu>; Fri, 27 Sep 1996 16:33:54 -0500
Received: (b17783@localhost) by pembroke.ctd.anl.gov (8.6.11/8.6.11) id QAA38632; Fri, 27 Sep 1996 16:33:52 -0500
Message-Id: <199609272133.QAA38632@pembroke.ctd.anl.gov>
Date: Fri, 27 Sep 1996 16:33:52 -0500
From: Doug Engert <DEEngert@anl.gov>
To: krb5-bugs@MIT.EDU
Subject: K5b7 v5passwdd

Show quoted text
>Number: 42
>Category: krb5-admin
>Synopsis: K5b7 v5passwdd
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: epeisach
>State: closed
>Class: change-request
>Submitter-Id: unknown
>Arrival-Date: Fri Sep e 17:34:01 EDT 1996
>Last-Modified: Thu Oct e 11:32:12 EST 1996
>Originator:
>Organization:
>Release:
>Environment:
>Description:
I have the v5passwdd program running with mods to allow it to issue
DCE commands to change the users password. This allow the CNS.EXE
under windows, and the v5passwd command to work when using a DCE
security server as the KDC.

While adding the code, I needed to add the following code to turn on
the debug and -T keyfile options. These where in the Beta 6 release.

I would like to suggest that these be added in.

*** ./kadmin/v5passwdd/,main.c Thu Jul 25 17:29:59 1996
--- ./kadmin/v5passwdd/main.c Fri Sep 27 16:26:07 1996
***************
*** 40,52 ****
void usage()
{
fprintf(stderr, "Usage: kadmind [-r realm] [-m] [-nofork] "
! "[-port port-number]\n");
exit(1);
}

int main(int argc, char *argv[])
{
int ret, rlen, nofork, oldnames = 0;
krb5_error_code code;
int debug_level = 0;
#if POSIX_SIGNALS
--- 40,53 ----
void usage()
{
fprintf(stderr, "Usage: kadmind [-r realm] [-m] [-nofork] "
! "[-D debuglevel] [-T keytable] [-port port-number]\n");
exit(1);
}

int main(int argc, char *argv[])
{
int ret, rlen, nofork, oldnames = 0;
+ int timeout = -1;
krb5_error_code code;
int debug_level = 0;
#if POSIX_SIGNALS
***************
*** 81,86 ****
--- 82,100 ----
usage();
params.kadmind_port = atoi(*argv);
params.mask |= KADM5_CONFIG_KADMIND_PORT;
+ } else if (strcmp(*argv, "-T") == 0) {
+ argc--; argv++;
+ if (!argc)
+ usage();
+ params.admin_keytab = *argv;
+ params.mask |= KADM5_CONFIG_ADMIN_KEYTAB;
+ argc--; argv++;
+ continue;
+ } else if (strcmp(*argv, "-D") == 0) {
+ if (!argc)
+ usage();
+ argc--; argv++;
+ debug_level = atoi(*argv);
} else
break;
argc--; argv++;
***************
*** 168,173 ****
--- 182,193 ----

exit(1);
}
+ if (code = proto_init(context, debug_level, timeout)) {
+ krb5_klog_syslog(LOG_ERR, "%s: %s while initializing proto",
+ programname, error_message(code));
+ fprintf(stderr, "%s: %s while initializing proto\n",
+ programname, error_message(code));
+ }

if (
#if POSIX_SETJMP

--

Douglas E. Engert <DEEngert@anl.gov>
Argonne National Laboratory
9700 South Cass Avenue
Argonne, Illinois 60439
(630) 252-5444 <New Area Code 8/3/96>
PGP Key fingerprint = 20 2B 0C 78 43 8A 9C A6 29 F7 A3 6D 5E 30 A6 7F

Show quoted text
>How-To-Repeat:
>Fix:
>Audit-Trail:

Responsible-Changed-From-To: gnats-admin->krb5-unassigned
Responsible-Changed-By: hartmans
Responsible-Changed-When: Mon Sep 30 00:55:47 1996
Responsible-Changed-Why:
Update PR to gnats format.

Responsible-Changed-From-To: krb5-unassigned->epeisach
Responsible-Changed-By: epeisach
Responsible-Changed-When: Mon Sep 30 17:27:56 1996
Responsible-Changed-Why:

State-Changed-From-To: open-closed
State-Changed-By: epeisach
State-Changed-When: Thu Oct 31 11:31:16 1996
State-Changed-Why:
The patch is correct. I just fixed up some indentation problems and
applied to the source tree.

kadmin/v5passwd/main.c: 1.2


Show quoted text
>Unformatted: