Subject: Re: bin/23922: useradd(8) isn't useful to add machine account for Samba
To: NetBSD GNATS submissions and followups <gnats-bugs@gnats.netbsd.org>
From: Tomasz Luchowski <tomasz@luchowski.com>
List: netbsd-bugs
Date: 12/30/2003 00:34:48
On Mon, Dec 29, 2003 at 05:57:50PM -0500, Greg A. Woods wrote:
> [ On Monday, December 29, 2003 at 13:36:48 (+0900), taca@back-street.net wrote: ]
> > Subject: bin/23922: useradd(8) isn't useful to add machine account for Samba
> >
> > useradd(8) can't add a machine account for Samba. A machine
> > account's login name is end with "$" and it is used for adding
> > a machine to Windows domain provided by Samba.
Just a random data point - we already are doing something about this:
zuntum@dell:/usr/pkg/etc/samba# ls
.pkgsrc adduser* deluser* private/ smb.conf
zuntum@dell:/usr/pkg/etc/samba# head -6 adduser
#!/bin/sh
#
# $NetBSD: adduser.sh,v 1.1 2003/09/14 22:25:26 jlam Exp $
#
# This is an adduser script for NetBSD systems whose useradd(8) doesn't
# accept "$" in the username.
--
/* Tomasz Luchowski <tomasz@luchowski.com> */