Machine accounts and unix UIDs

Luke Kenneth Casson Leighton lkcl at
Thu Jan 13 16:33:29 GMT 2000

On Thu, 13 Jan 2000, Mayers, P J wrote:

> Is the Unix UID used for anything in the machine account?
> Could I do this:
> useradd MACHINE$
> smbpasswd -a -m MACHINE
> userdel MACHINE$

yes, but don't do it.  it's the same as if:

useradd pmayers
smbpasswd -a pmayers
userdel pmayers

what will happen is that when the smb username is looked up, it is checked
in the unix pwdb (getpwnam).  if this fails, the smb user lookup also

More information about the samba-technical mailing list