[Samba] Samba 4 Consistent uid gid mapping across servers.

Gints Neimanis gintsn at gmail.com
Thu Oct 24 00:35:06 MDT 2013


On 10/23/2013 11:54 PM, steve wrote:
> On Wed, 2013-10-23 at 23:42 +0300, Gints Neimanis wrote:
>> On 10/22/2013 11:15 PM, steve wrote:
>>> On Tue, 2013-10-22 at 20:30 +0300, Gints Neimanis wrote:
>>>
>>>> Clean provision always is good idea, but I have >1000 existing user
>>>> base, group policies and wished to keep them all.
>>> Hi
>>> Don't rule out staring from nothing. In the time it takes to work out
>>> how to do it with the existing db and schema, you can probably do it
>>> manually with a bit of help from wbinfo beforehand. 2 of us did an 800
>>> user school from nothing in a weekend. When you have all the users, just
>>> use a big hammer on the file server to chown stuff. The GPO's only take
>>> you a few mins once you have the OU's.
>> Ok, no problem to recreate user data and settings on new clean Samba4,
>> chown, GPO and so on, but AFAIK passwords cannot be transferred without
>> cracking. I wanted to do  Win->Samba migration seamlessly for users and
>>    yes - later they don't noticed this switch.
>> Now I just wanted to add uid to samba4 instead of current openldap server.
>>
>> Cheers
>> Gints
>>
>>> Cheers and good luck,
>>> Steve
>>>
>>>
>>
> Hi
> OK. If you need passwords to be preserved too, then maybe the classic
> upgrade is worth looking at, but usually there's still work to be done
> afterwards. It boils down to your expertise and how much time you have
> to do the conversion. Everyone wants seamless, but you rarely get it.
> Steve
>
>
In my case the migration following was quite easy without any trouble. 
Thank for Samba team!
I followed 
https://wiki.samba.org/index.php/Samba4/HOWTO/Join_a_domain_as_a_DC, 
then transferred roles, copied GPO and so on.
As actually I migrated from Win2000 AD DC, I first upgraded to Win2003.
I leaved DNS zone on existing BIND NS and added manually all necessary 
records for new domain controllers (I got required entries list with 
"samba_dnsupdate --verbose")
I only get this bug: https://bugzilla.samba.org/show_bug.cgi?id=10130, 
but I fixed it by removing userParameters entries.
And now I just wanted  in the same easy way to transfer uid/uidNumber 
from openLDAP to Samba4 DB.

Thanks for your toughts!
Gints










More information about the samba mailing list