[Samba] Migrate GPO policies does not work properly.

Denis Cardon dcardon at tranquil.it
Mon Jul 20 13:16:26 UTC 2020


Hi Robert,

Le 20/07/2020 à 13:28, Csorba Róbert via samba a écrit :
> Hi,
>
> I migrated from my the main domain controller.I use Centos 7 server 
> with tranquilrepository.
>
> The destination server is a test enviorement with different domain 
> name but the same system specifications.
>
> I can browse the sysvol network share without any problem.
>
> If i want to check the sam.ldb file on the test server I got these 
> errors.
>
> WARNING:Module [samba_dsdb] not found - do you need to set 
> LDB_MODULES_PATH?
> Unable to load modules for /var/lib/samba/private/sam.ldb:(null)
> Failed to connect to /var/lib/samba/private/sam.ldb - (null)

you can add this export to your .bashrc file:

export LDB_MODULES_PATH=/usr/lib64/samba/ldb

What are you trying to check?

Did you add the gplink after migration? Did you run a ntacl 
sysvolcheck/reset?

Denis


>
> Best,
>
> Robert
>
> 2020. 07. 17. 15:11 keltezéssel, Rowland penny via samba írta:
>> On 17/07/2020 14:00, Csorba Róbert via samba wrote:
>>> Hi,
>>>
>>> I successfully migrated my GPO policies in a new installation of 
>>> domain controller.
>> Where did you migrate them from and to where ?
>>>
>>> After I joined a Windows 10 machine to the domain the gpupdate 
>>> /force command printed this errors all of my policies.
>>>
>>> filtering not applied (empty)
>> Sounds like a permission problem
>>>
>>> On the server side everything looks fine. I checked the tdb files 
>>> under the /var/lib/samba/private/sam.ldb.d/ folder.
>>
>> Please do not do that, if you want to check the database, only check 
>> /var/lib/samba/private/sam.ldb
>>
>> Rowland
>>
>>
>>
>>
>>



More information about the samba mailing list