On Wed, Jul 04, 2001 at 10:01:49AM +0200, Peter van Dijk wrote:
>On Wed, Jul 04, 2001 at 08:17:13AM +0200, Arjen van Drie wrote:
>[snip]
>>
>> Any ideas?
>
>Hmm, no clue. Tried stracing?
Yeah, but that doesn't tell me much:
[root@ids /root]# strace -p 21534
select(1, [0], NULL, NULL, {1185, 480000}) = 1 (in [0], left {1172, 220000})
read(0, "user qwerty\r\n", 128) = 13
select(2, NULL, [1], NULL, {1200, 0}) = 1 (out [1], left {1200, 0})
write(1, "+OK \r\n", 6) = 6
select(1, [0], NULL, NULL, {1200, 0}) = 1 (in [0], left {1196, 930000})
read(0, "pass qwerqwer\r\n", 128) = 15
fcntl64(1, F_GETFL) = 0x2 (flags O_RDWR)
close(2) = 0
fcntl64(1, F_DUPFD, 2) = 2
close(3) = -1 EBADF (Bad file descriptor)
pipe([3, 4]) = 0
fork() = 21569
close(3) = 0
write(4, "qwerty\0qwerqwer\0<21534.994315366"..., 54) = 54
close(4) = 0
--- SIGCHLD (Child exited) ---
wait4(21569, [WIFEXITED(s) && WEXITSTATUS(s) == 111], 0, NULL) = 21569
select(2, NULL, [1], NULL, {1200, 0}) = 1 (out [1], left {1200, 0})
write(1, "-ERR authorization failed\r\n", 27) = 27
_exit(1) = ?
--
Grtz,
Arjen.