summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1996-08-20 15:40:32 +0000
committerAndrew Tridgell <tridge@samba.org>1996-08-20 15:40:32 +0000
commit52af2b38fe91e4a993395bfc20a8ab81e6da04c1 (patch)
treea958a4dcf19389b3f0b5e00c368e118fa5d01149 /docs
parent07be656d3ed46dd4cd9cfaefff90300242984301 (diff)
downloadsamba-52af2b38fe91e4a993395bfc20a8ab81e6da04c1.tar.gz
samba-52af2b38fe91e4a993395bfc20a8ab81e6da04c1.tar.xz
samba-52af2b38fe91e4a993395bfc20a8ab81e6da04c1.zip
add a bit more about the "trapdoor uid" messsage
Diffstat (limited to 'docs')
-rw-r--r--docs/samba.faq5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/samba.faq b/docs/samba.faq
index 1e8ea6e3c13..de5c16c5c6b 100644
--- a/docs/samba.faq
+++ b/docs/samba.faq
@@ -434,6 +434,11 @@ the guest user.
Complain to your OS vendor and ask them to fix their system.
+Note: the reason why 65535 is a VERY bad choice of uid and gid is that
+it casts to -1 as a uid, and the setreuid() system call ignores (with
+no error) uid changes to -1. This means any daemon attempting to run
+as uid 65535 will actually run as root. This is not good!
+
===============================================================================
SECTION FOUR: Specific client problems
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~