[Pkg-samba-maint] Restriucting mksmbpasswd to UID>=1000?

Steve Langasek vorlon at debian.org
Sun Mar 30 01:54:42 UTC 2008


On Sat, Mar 15, 2008 at 12:00:51PM +0100, Christian Perrier wrote:
> A recent Ubuntu patch changed mksmbpasswd.awk to UIDs over 1000.

> I'm slightly hesitating about merging that change which is obvisouly
> aimed at creating smbpasswd entries for regular users only.

> There *may* be cases where users want to create smbpasswd entries for
> users below 1000, including root so removing that possibility to them
> is something that should at least be discussed.

> The Ubuntu changelog says:

>   * debian/mksambapasswd.awk
>      - Don't add user with UID less than 1000 to smbpasswd. (LP: #194412)

> Any advices ?

> Anyway, I won't merge this in 3.0.28a-1 unless we've discussed it, so
> it should wait for -2....

I'm fairly indifferent to this patch.  I can't see any reason why system
users should be excluded; adding them to the pdb doesn't give them passwords
or otherwise permit people to connect as these users, it just makes them
better visible to Samba - which means that if they do show up in any ACLs on
shared files, clients will get a more user-friendly display.

So conceptually I think this patch is wrong, but I don't have any strong
opinion either way.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org



More information about the Pkg-samba-maint mailing list