[Samba] Solved - was: Re: How to get rid of misspelled DNA entry?

Peter Serbe peter at serbe.ch
Sun Mar 8 16:27:53 MDT 2015


> I think it would be easier to:
> 
> ldbedit -e nano -H /var/lib/samba/private/sam.ldb --cross-ncs -b 
> "DC=1.168.192.in-addr.arpa,CN=MicrosoftDNS,DC=DomainDnsZones,DC=samdom,DC=com" 
> "(DC=21)"
> 
> On a DC.
> 
> Rowland

Well, not so simple... 
I tried 
ldbedit -e vim -H /usr/local/samba/private/sam.ldb --cross-ncs -b "DC=91,DC=41.168.192.in-addr.arpa,CN=MicrosoftDNS,DC=DomainDnsZones,DC=home,DC=serbe,DC=ch"

and it looked like this, i.e. the binary data are a bit cumbersome.


# editing 1 records
# record 1
dn: DC=91,DC=41.168.192.in-addr.arpa,CN=MicrosoftDNS,DC=DomainDnsZones,DC=samdom,DC=com
objectClass: top
objectClass: dnsNode
instanceType: 4
whenCreated: 20150305214111.0Z
uSNCreated: 4559
showInAdvancedViewOnly: TRUE
name: 91
objectGUID: 330dcc48-eb52-47a2-8ed0-ea4a4815ea2f
objectCategory: CN=Dns-Node,CN=Schema,CN=Configuration,DC=home,DC=serbe,DC=ch
dc: 91
dnsRecord:: GgAMAAXwAAArAAAAAAAOEAAAAADwZTcAGAQIdmFsa3lyaWUEaG9tZQVzZXJiZQJjaA
 A=
whenChanged: 20150308214558.0Z
uSNChanged: 4640
distinguishedName: DC=21,DC=1.168.192.in-addr.arpa,CN=MicrosoftDNS,DC=DomainD
 nsZones,DC=samdom,DC=com



More information about the samba mailing list