tags 346234 pending
thanks

Quoting Renaud Duhaut ([EMAIL PROTECTED]):
> The "-n" option is Red Hat specific.
> From the manpage :
> -n
> A group having the same name as the user being added to the system  
> will be created by default. This option will turn off this Red Hat  
> Linux specific behavior. When this option is used, users by default  
> will be placed in whatever group is specified in /etc/default/ 
> useradd. If no default group is defined, group 1 will be used.
> 
> /var/lib/samba seems a good option for machine account.


I've added a new patch to the patch series, which changes smb.conf.5:

Goal: Adapt example script to Debian
Fixes: #346234

Status wrt upstream: Debian specific

Index: samba-3.0.21a/docs/manpages/smb.conf.5
===================================================================
--- samba-3.0.21a.orig/docs/manpages/smb.conf.5 2005-12-29 17:19:48.000000000 
+0100
+++ samba-3.0.21a/docs/manpages/smb.conf.5      2006-01-07 17:44:20.210534570 
+0100
@@ -450,7 +450,7 @@
 
 Default: \fB\fIadd machine script\fR = \fR 
 
-Example: \fB\fIadd machine script\fR = /usr/sbin/adduser \-n \-g machines \-c 
Machine \-d /var/lib/nobody \-s /bin/false %u \fR 
+Example for Debian: \fB\fIadd machine script\fR = /usr/sbin/useradd \-g 
machines \-c Machine \-d /var/lib/samba \-s /bin/false %u \fR 
 
 .TP
 add printer command (G)




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to