[Samba] created user picks up machine accounts

François Legal devel at thom.fr.eu.org
Fri Aug 22 15:21:51 GMT 2008

How do you create the user account in your domain, and how did you create
the machine accounts ?

Can you check that (in your directory) the uidNumber of this user is not
the same as (or in the range of) the uidNumbers used for your machines
accounts. If the uidNumbers overlapn, then you've got your problem.

On Fri, 22 Aug 2008 17:36:26 +0300, "Mugo Martin" <mmuchira at gmail.com>
> Hi all,
> Have come across a strange error when setting up my samba users.
> Set up a samba primary domain controller with an ldap backend and
> user profiles from another server
> the process went well apart from a single user who after being created on
> samba authenticates OK but upon creation, gets immediately mapped onto an
> existing machine account on the server.
> If I run su - user and smbclient -U user //host/user
> it goes fine but on asking whoami returns a machine account like 23-43$.
> I have tried everything including deleting the account, profile and
> restarting the computer but everytime I recreate the account, it picks
> qualities of a machine account at random
> Therefore, logging onto a profile always fails
> I'm baffled, help...
> Regards,
> Mugo

More information about the samba mailing list