summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2009-11-23 22:51:14 +0100
committerStephen Gallagher <sgallagh@redhat.com>2009-11-25 15:26:48 -0500
commit32779edecfaffba076cd36bd9eeb1227c10eaadd (patch)
treed9b9e02ccb262d68cf41c9211feb204060a3d130
parent12e02082e0659ec11e8f50911fa0e46c733ae3a2 (diff)
downloadsssd-32779edecfaffba076cd36bd9eeb1227c10eaadd.tar.gz
sssd-32779edecfaffba076cd36bd9eeb1227c10eaadd.tar.bz2
sssd-32779edecfaffba076cd36bd9eeb1227c10eaadd.zip
Remove unneeded debugging code
-rw-r--r--server/providers/krb5/krb5_auth.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/server/providers/krb5/krb5_auth.c b/server/providers/krb5/krb5_auth.c
index 73cd2137..d5c25039 100644
--- a/server/providers/krb5/krb5_auth.c
+++ b/server/providers/krb5/krb5_auth.c
@@ -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.