Re: KRB5_TRACE does not work on csh
Hello, 2018-05-15 18:39 GMT+02:00 Benjamin Kaduk : > On Tue, May 15, 2018 at 06:30:20PM +0200, Meike Stone wrote: >> Hello, >> >> maybe it is a stupid question and not a kerberos problem, but I can't >> get KRB5_TRACE working in a csh. >> >> On Bash it works as expected: >> export KRB5_TRACE=/dev/stdout >> echo $KRB5_TRACE >> /dev/stdout >> >> kinit me...@test.net >> [22698] 1526401109.124271: Getting initial credentials for me...@test.net >> [22698] 1526401109.124373: Sending request (144 bytes) to TEST.NET >> [22698] 1526401109.124457: Resolving hostname kdc1 >> [22698] 1526401109.125178: Sending initial UDP request to dgram >> 192.168.1.100:88 >> [22698] 1526401109.127098: Received answer (168 bytes) from dgram >> 192.168.1.100:88 >> [22698] 1526401109.127909: Response was not from master KDC >> [22698] 1526401109.127930: Received error from KDC: >> -1765328359/Additional pre-authentication required >> [22698] 1526401109.127962: Processing preauth types: 16, 15, 19, 2 >> [22698] 1526401109.127974: Selected etype info: etype aes256-cts, salt >> "TEST.NETmeike", params "" >> Password for me...@test.net: >> >> >> on /bin/csh (a link to /bin/tcsh): >> setenv KRB5_TRACE /dev/stdout >> echo $KRB5_TRACE >> /dev/stdout >> >> kinit me...@test.net >> Password for me...@test.net: >> >> >> What is the problem here. > > A guess, maybe there is special /dev/stdout handling involved. A > test using a file on an actual filesystem might be worth doing. I have tried that with csh, but it doesn't work, not as normal user and even not as root. With the bash it works all, /dev/stdout and normal file. As normal user and as root. Meike Kerberos mailing list Kerberos@mit.edu https://mailman.mit.edu/mailman/listinfo/kerberos
Re: KRB5_TRACE does not work on csh
On Tue, May 15, 2018 at 06:30:20PM +0200, Meike Stone wrote: > Hello, > > maybe it is a stupid question and not a kerberos problem, but I can't > get KRB5_TRACE working in a csh. > > On Bash it works as expected: > export KRB5_TRACE=/dev/stdout > echo $KRB5_TRACE > /dev/stdout > > kinit me...@test.net > [22698] 1526401109.124271: Getting initial credentials for me...@test.net > [22698] 1526401109.124373: Sending request (144 bytes) to TEST.NET > [22698] 1526401109.124457: Resolving hostname kdc1 > [22698] 1526401109.125178: Sending initial UDP request to dgram > 192.168.1.100:88 > [22698] 1526401109.127098: Received answer (168 bytes) from dgram > 192.168.1.100:88 > [22698] 1526401109.127909: Response was not from master KDC > [22698] 1526401109.127930: Received error from KDC: > -1765328359/Additional pre-authentication required > [22698] 1526401109.127962: Processing preauth types: 16, 15, 19, 2 > [22698] 1526401109.127974: Selected etype info: etype aes256-cts, salt > "TEST.NETmeike", params "" > Password for me...@test.net: > > > on /bin/csh (a link to /bin/tcsh): > setenv KRB5_TRACE /dev/stdout > echo $KRB5_TRACE > /dev/stdout > > kinit me...@test.net > Password for me...@test.net: > > > What is the problem here. A guess, maybe there is special /dev/stdout handling involved. A test using a file on an actual filesystem might be worth doing. -Ben Kerberos mailing list Kerberos@mit.edu https://mailman.mit.edu/mailman/listinfo/kerberos
KRB5_TRACE does not work on csh
Hello, maybe it is a stupid question and not a kerberos problem, but I can't get KRB5_TRACE working in a csh. On Bash it works as expected: export KRB5_TRACE=/dev/stdout echo $KRB5_TRACE /dev/stdout kinit me...@test.net [22698] 1526401109.124271: Getting initial credentials for me...@test.net [22698] 1526401109.124373: Sending request (144 bytes) to TEST.NET [22698] 1526401109.124457: Resolving hostname kdc1 [22698] 1526401109.125178: Sending initial UDP request to dgram 192.168.1.100:88 [22698] 1526401109.127098: Received answer (168 bytes) from dgram 192.168.1.100:88 [22698] 1526401109.127909: Response was not from master KDC [22698] 1526401109.127930: Received error from KDC: -1765328359/Additional pre-authentication required [22698] 1526401109.127962: Processing preauth types: 16, 15, 19, 2 [22698] 1526401109.127974: Selected etype info: etype aes256-cts, salt "TEST.NETmeike", params "" Password for me...@test.net: on /bin/csh (a link to /bin/tcsh): setenv KRB5_TRACE /dev/stdout echo $KRB5_TRACE /dev/stdout kinit me...@test.net Password for me...@test.net: What is the problem here. Thanks Meike Kerberos mailing list Kerberos@mit.edu https://mailman.mit.edu/mailman/listinfo/kerberos