[Samba] samba 3 to samba 4 migration questions

steve steve at steve-ss.com
Tue Feb 11 10:51:57 MST 2014

On Tue, 2014-02-11 at 12:07 -0500, Chris Smith wrote:
> On Tue, Feb 11, 2014 at 11:34 AM, steve <steve at steve-ss.com> wrote:
> > Local users and groups are not affected by AD. All you need to set it up
> > is root access + whatever local users your distro needs for what you
> > have already.
> Sorry, probably wasn't clear on what I meant by "local users".
> Virtually all of the users are "Windows" users, but they needed to be
> added as Linux users (albeit with no login shell) locally to the PDC
> before they could be added to Samba 3 (also forgot to mention that
> this is a tdb based Samba 3 PDC). And my concern is that once this
> existing server authenticates to a new AD that whatever method is used
> (Winbind, etc) the uid/gid's of these users will be different and
> therefore file permissions, etc. will need to be remapped.
> Thanks,
> Chris

Yeah, that's part of what I mean. They'll be stored on the file server
under those uid:gid. Make sure you have that information so that when
you go AD, you can add it to the DN of the users, whether you get the
upgrade script working or go with the adding the users from scratch. If
you use the same uid:gid AND you store those values alongside each user
in AD then you can use winbind to pull them from there. That way you can
be certain that they will be the same.

More information about the samba mailing list