[Samba] created user picks up machine accounts
mmuchira at gmail.com
Sat Aug 23 10:48:32 GMT 2008
I had not thought about that at all. Im using some Samba and Posix
extensions on Zimbra mail to create the user accounts and had set the base
index to be the same; 1000. Machines are added through Samba.
Let me check that out because I suspect that is the problem. I created the
user accounts first and then added the machines. However, I discovered that
this problem is not affecting SAMBA operation for now because users are
authenticating just fine.
The system simply reads LDAP and find that the new users UID to match that
of a machine. Machines are added to both */etc/passwd* and *LDAP* unlike
users. It chooses to return the record on record on /etc/password. So on
..it returns the machine.
I'm going to change the base ID for machines and see how the whole thing
Thanks so much Francois
On Fri, Aug 22, 2008 at 6:21 PM, François Legal <devel at thom.fr.eu.org>wrote:
> 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