aboutsummaryrefslogtreecommitdiffstats
path: root/loadparm.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2005-06-10 16:50:09 +0000
committerWayne Davison <wayned@samba.org>2005-06-10 16:50:09 +0000
commitb4fc3987f20e6af92aeb5e0c6ff80e3a70df3e87 (patch)
tree51df69a3bef5bd90e1e29357750cc24bea9c59fa /loadparm.c
parent58418cb0c4a1952746605ab37bb406d8ff6f8766 (diff)
downloadandroid_external_rsync-b4fc3987f20e6af92aeb5e0c6ff80e3a70df3e87.tar.gz
android_external_rsync-b4fc3987f20e6af92aeb5e0c6ff80e3a70df3e87.tar.bz2
android_external_rsync-b4fc3987f20e6af92aeb5e0c6ff80e3a70df3e87.zip
Use the new NOBODY_USER and NOBODY_GROUP configure defines.
Diffstat (limited to 'loadparm.c')
-rw-r--r--loadparm.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/loadparm.c b/loadparm.c
index ae8a677f..bec5bc97 100644
--- a/loadparm.c
+++ b/loadparm.c
@@ -160,17 +160,8 @@ static service sDefault =
True, /* use chroot */
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 */
-
+ NOBODY_USER,/* uid */
+ NOBODY_GROUP,/* gid */
NULL, /* hosts allow */
NULL, /* hosts deny */
NULL, /* auth users */