Re: [Samba] possible to use ldbedit in a safe way
- Date: Tue, 17 Oct 2017 10:44:15 +0100
- From: Rowland Penny via samba <samba@xxxxxxxxxxxxxxx>
- Subject: Re: [Samba] possible to use ldbedit in a safe way
On Tue, 17 Oct 2017 11:12:20 +0200
mj <lists@xxxxxxxxxxxxx> wrote:
> Hi Rowland,
> On 10/16/2017 05:13 PM, Rowland Penny via samba wrote:
> > If you need to edit the NCs in sam.ldb.d, use '--cross-ncs' with the
> > ldb command, this allows you safely change things. There have been
> > reports of AD being destroyed by directly editing the ldb's in
> > sam.ldb.d
> Looking at the man page of ldbedit, I see no reference to --cross-ncs
Try 'ldbedit --help'
> > ldbedit --cross-ncs -e nano
> > -H ./CN=CONFIGURATION,DC=SAMBA,DC=COMPANY,DC=COM
try 'ldbedit --cross-ncs -e nano -H /path/to/sam.ldb'
Don't try to edit './CN=CONFIGURATION,DC=SAMBA,DC=COMPANY,DC=COM'
To unsubscribe from this list go to the following URL and read the