Skip to content

Commit

Permalink
Remove unneeded debugging code
Browse files Browse the repository at this point in the history
  • Loading branch information
sumit-bose authored and sgallagher committed Nov 25, 2009
1 parent 12e0208 commit 32779ed
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions server/providers/krb5/krb5_auth.c
Original file line number Diff line number Diff line change
Expand Up @@ -623,15 +623,6 @@ static errno_t fork_child(struct krb5child_req *kr)
pid = fork();

if (pid == 0) { /* child */
//talloc_free(kr->req->be_ctx->ev);

ret = chdir("/tmp");
if (ret == -1) {
err = errno;
DEBUG(1, ("chdir failed [%d][%s].\n", errno, strerror(errno)));
return err;
}

/* We need to keep the root privileges to read the keytab file if
* validation is enabled, otherwise we can drop them here and run
* krb5_child with user privileges.
Expand Down

0 comments on commit 32779ed

Please sign in to comment.