Samba 4 still crawling on the floor

Juan Pablo Lorier jplorier at
Wed Jul 11 13:27:10 MDT 2012

Hi Amitay,

Thanks for the tips. Unfortunately

  ldbsearch -H /usr/local/samba/private/dns/sam.ldb -b 
"DC=DomainDnsZones,DC=montecarlotv,DC=com,DC=uy" "(objectClass=dnsZone)"
unable to load samba_dsdb from /usr/lib64/ldb/ 
/usr/lib64/ldb/ cannot open shared object file: No such 
file or directory
WARNING: Module [samba_dsdb] not found
search error - No such Base DN: 

The library is not in the git tree (at least not in mine), do I have to 
do something else?


On 10/07/12 20:57, Amitay Isaacs wrote:
> On Wed, Jul 11, 2012 at 4:32 AM, Juan Pablo Lorier
> <jplorier at> wrote:
>> Hi Geza,
>> Actually I do have it declared. I have commented them out and bind started
>> in the server that was not starting. But how does the other with the exact
>> same versions and configs does start?
>> And if I don't declare the zones, how does bind knows which are it's zones?
>> it's all in the tldb?
>> Regards,
> DLZ module loads the zones from the AD database. If you want to know
> what all zones are available in your AD database, you can use the
> following query.
>    ldbsearch -H /path/to/sam.ldb -b
> "DC=DomainDnsZones,DC=DC=montecarlotv,DC=com,DC=uy"
> "(objectClass=dnsZone)"
> This command will list all the zones defined in your AD database.
> Those zones will be loaded by BIND via DLZ plugin. To check the
> messages from named you can start bind as follows:
>    /usr/sbin/named -u bind -f -g
> It will display all the messages on the console and you should see
> lines with samba_dlz that mention the zones loaded.
> Amitay.

More information about the samba-technical mailing list