aboutsummaryrefslogtreecommitdiffstats
path: root/loadparm.c
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2002-03-15 12:53:21 +0000
committerMartin Pool <mbp@samba.org>2002-03-15 12:53:21 +0000
commit4366275bab47eb9904314c9284c63d95e0114906 (patch)
tree2a90e943d4c762e05955178249dac5300ffdcbd6 /loadparm.c
parentc579310a009dc21a0f2b378c711980336f79add6 (diff)
downloadandroid_external_rsync-4366275bab47eb9904314c9284c63d95e0114906.tar.gz
android_external_rsync-4366275bab47eb9904314c9284c63d95e0114906.tar.bz2
android_external_rsync-4366275bab47eb9904314c9284c63d95e0114906.zip
Doc: Debian uses "nogroup" instead of group "nobody", so our defaults
are not so good.
Diffstat (limited to 'loadparm.c')
-rw-r--r--loadparm.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/loadparm.c b/loadparm.c
index f71a3bec..c7a0db59 100644
--- a/loadparm.c
+++ b/loadparm.c
@@ -3,7 +3,7 @@
/* some fixes
*
- * Copyright (C) 2001 by Martin Pool <mbp@samba.org>
+ * Copyright (C) 2001, 2002 by Martin Pool <mbp@samba.org>
*/
/*
@@ -154,7 +154,16 @@ static service sDefault =
False, /* transfer logging */
False, /* ignore errors */
"nobody",/* uid */
+
+ /* TODO: This causes problems on Debian, where it is called
+ * "nogroup". Debian patch this in their version of the
+ * package, but it would be nice to be consistent. Possibly
+ * other systems are different again.
+ *
+ * What is the best behaviour? Perhaps always using (gid_t)
+ * -2? */
"nobody",/* gid */
+
NULL, /* hosts allow */
NULL, /* hosts deny */
NULL, /* auth users */