summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
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 1e8ea6e3c1..de5c16c5c6 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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~