[Samba] Adding computer account - username could not be found

Andrew Bartlett abartlet at samba.org
Mon Mar 1 20:56:13 GMT 2004

On Tue, 2004-03-02 at 06:05, Andrew Judge wrote:
> I'm trying to add a computer account as root and I am getting the
> following error:
> "the user name could not be found"
> The root account appears in the smbpasswd file and I have access to the
> server when I use the root credentials.
> I have the following in the smb.conf file to add users:
> add user script = /usr/sbin/useradd -d /dev/null -g machines -c "machine
> account" -s /bin/false -M %u

This script must be failing.

Andrew Bartlett

Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20040302/ceb09f12/attachment.bin

More information about the samba mailing list