Samba 4 insufficientAccessRights when modifying Configuration

Matthieu Patou mat at matws.net
Tue Jul 31 21:52:38 MDT 2012


On 07/31/2012 07:18 AM, Brian C. Huffman wrote:
> Unfortunately I can run it as Administrator but it appears that 
> programatically it still tries to install as the machine account.  I 
> did some research and it turns out that the vendor intends you to run 
> it on the AD server itself (which won't be possible for Samba).
>
I suspect they expect you to run it on one of the DC, in this case the 
computer account is member of the domain controllers that have a lot of 
rights !

> However while trying to work around this, I found a difference between 
> Samba and a Windows 2008 AD server.  With the Win2k8 AD server, I'm 
> able to add the machine account, with inherited write permissions to 
> CN=DisplaySpecifiers,CN=Configuration and then the installer 
> succeeds.  When I try to do the same with Samba, it doesn't give me 
> any warnings, but it silently refuses to add the permissions to the 
> descendants of DisplaySpecifiers.  Is this known / intended behavior?
>
As nadya said we now this "issue" the way to do it for you is to add the 
machine account via ADSI or ldbedit to the domain admins group, it 
should do the job. Once the installation is finished, remove it from 
this group.

Matthieu.




More information about the samba-technical mailing list