Web lists-archives.com

Re: [Samba] Samba 4.7.9 dbcheck error




On Wed, 26 Sep 2018 14:29:24 +0200
Daniel Jordan <d.jordan@xxxxxx> wrote:

> You're right, the 'S-1-5-21-3258148492-1502286889-3538134041-1601' is
> the SID for fs01. The system only exists 'OU=Server' as I moved it
> from 'OU=Computer'
> for organisational purposes. I could also move it back to the
> 'Computer' OU, but the error existed before the move, so this
> probably won't have any impact.
> 

Run the following commands on dc01:

ldbsearch -H /var/lib/samba/private/sam.ldb '(objectClass=domain)' objectSid

ldbsearch -H /var/lib/samba/private/sam.ldb '(&(objectClass=rIDSet)(cn=RID Set))' rIDAllocationPool


The first should display the domain SID, it should match the one in your first post.
The second should display the rid pool(s).

Ensure that 'sam.ldb' is in '/var/lib/samba/private', if not change to correct path.

Rowland



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