[Samba] Joining a new Samba AD DC

Mark Foley mfoley at novatec-inc.com
Mon Jul 31 15:26:28 UTC 2023


On Mon Jul 31 03:22:17 2023 Rowland Penny <rpenny at samba.org> wrote:

> On 30/07/2023 17:57, Rowland Penny via samba wrote:
> > It sounds that way.
> > 
> >>
> >> Suggestions on moving forwars?
> > 
> > Let me think about this.
>
> OK, you posted an 'ls' search path:
>
> ls -ld /var/lib/samba/sysvol/hprs.local/policies/\{*
>
> Which produced output like this:
>
> drwxrwx---+ 4 root 3000000 4096 2014-08-29 13:19 
> /var/lib/samba/sysvol/hprs.local/policies/{31B2F340-016D-11D2-945F-00C04FB984F9}/
>
> When I try a similar 'ls' search on one of my DCs, I get this:
>
>   adminuser at rpidc1:~ $ sudo ls -ld 
> /var/lib/samba/sysvol/samdom.example.com/policies
> ls: cannot access '/var/lib/samba/sysvol/samdom.example.com/policies': 
> No such file or directory
>
> However, I do have the path:
>
> /var/lib/samba/sysvol/samdom.example.com/Policies
>
> Notice that that the policies directory name starts with an uppercase P
>
> Try renaming the policies directory from 'policies' to 'Policies'.
>
> Rowland

Wow! Brilliant! After changing to uppercase 'P' the 'samba-tool ntacl sysvolreset'
came back with no errors, return status 0! I'll have to keep this in mind for
future resyncs.

I suppose I can start the samba service now, or should I wait until I get the
objectGUID bit sorted out?

Thanks! --Mark



More information about the samba mailing list