Doc: Debian uses "nogroup" instead of group "nobody", so our defaults
authorMartin Pool <mbp@samba.org>
Fri, 15 Mar 2002 12:53:21 +0000 (12:53 +0000)
committerMartin Pool <mbp@samba.org>
Fri, 15 Mar 2002 12:53:21 +0000 (12:53 +0000)
are not so good.

loadparm.c

index f71a3be..c7a0db5 100644 (file)
@@ -3,7 +3,7 @@
 
 /* some fixes
  *
 
 /* 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 */
        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",/* gid */
+       
        NULL,    /* hosts allow */
        NULL,    /* hosts deny */
        NULL,    /* auth users */
        NULL,    /* hosts allow */
        NULL,    /* hosts deny */
        NULL,    /* auth users */