
27 Nov
2007
27 Nov
'07
9:08 p.m.
Dear Scott Your reply is really helpful. I change the relevant config file as: setuid = 99 setgid = 99 Then the deamon and the remote connection is O.K. Thank you very much. Best Regards, HuWei
I don't remember exactly how the latest stunnel does chroot, but a common problem is that a daemon will chroot before looking up the user and group names, and if the chroot area doesn't contain /etc/passwd and /etc/group, the lookups fail.
An easy solution is to use numeric UIDs and GIDs in your configuration.
Hope this helps,
----Scott.