Bluehost.com Web Hosting $6.95

[Samba] created user picks up machine accounts

This is a discussion on [Samba] created user picks up machine accounts within the Samba forums, part of the Networking and Network Related category; Hi all, Have come across a strange error when setting up my samba users. Set up a samba primary domain ...


Go Back   Usenet Forums > Networking and Network Related > Samba

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-22-2008
Mugo Martin
 
Posts: n/a
Default [Samba] created user picks up machine accounts

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 migrated
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
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba

Reply With Quote
  #2 (permalink)  
Old 08-22-2008
François Legal
 
Posts: n/a
Default Re: [Samba] created user picks up machine accounts

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@gmail.com>
wrote:
> 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

migrated
> 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
>


--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba

Reply With Quote
  #3 (permalink)  
Old 08-23-2008
Mugo Martin
 
Posts: n/a
Default Re: [Samba] created user picks up machine accounts

Hi Francois,
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
running

whoami

...it returns the machine.

I'm going to change the base ID for machines and see how the whole thing
will work.

Thanks so much Francois

On Fri, Aug 22, 2008 at 6:21 PM, François Legal <devel@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@gmail.com>
> wrote:
> > 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

> migrated
> > 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
> >

>
>

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 01:22 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0