[Pkg-samba-maint] Bug#555466: (forw) Re: Bug#555466: samba-common: wrong example on add machine script in the smb.conf(5)

Christian Perrier bubulle at debian.org
Wed Nov 11 17:29:14 UTC 2009


----- Forwarded message from Heiko Schlittermann <hs at schlittermann.de> -----

Date: Wed, 11 Nov 2009 11:09:21 +0100
From: Heiko Schlittermann <hs at schlittermann.de>
To: Christian Perrier <bubulle at debian.org>
Subject: Re: [Pkg-samba-maint] Bug#555466: samba-common: wrong example on
	add machine script in the smb.conf(5)
Organization: schlittermann -- internet & unix support
X-CRM114-Status: Good  ( pR: 16.9822 )

Heiko Schlittermann <hs at schlittermann.de> (Di 10 Nov 2009 08:46:36 CET):
> Christian Perrier <bubulle at debian.org> (Di 10 Nov 2009 07:47:51 CET):
> > Quoting Heiko Schlittermann (hs at schlittermann.de):
> > > Package: samba-common
> > > Version: 2:3.2.5-4lenny7
> > > Severity: minor
> > > 
> > > The smb.conf(5) man page shows a wrong example line for the add machine
> > > script. The examples does not work and differs from the example listed
> > > in the sample smb.conf.
> > 
> > 
> > Tha,ks for reporting this though being specific would have helped a
> > little bit here..:-)
> 

The sample smb.conf provides a working example

    /usr/sbin/useradd -g machines -c "%u machine account" -d /var/lib/samba -s /bin/false %u

If you insist on using the debian specific adduser in the manpage, it
should be called as

    /usr/sbin/adduser --disabled-password --shell /bin/false --ingroup machines \
        --gecos machine --home /var/lib/samba %u


If you are about reviewing the man page, you might want to check the
example for the "add user script" as well and put there a debian
specific example. 

I hope, this is a bit more help.
-- 
Heiko



----- End forwarded message -----

-- 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20091111/4b418097/attachment.pgp>


More information about the Pkg-samba-maint mailing list