samba4 provision script fails

Andrew Bartlett abartlet at
Fri Dec 9 13:33:43 MST 2011

On Fri, 2011-12-09 at 00:37 +0100, Josef wrote:
> Hello,
>      I have compiled samba4 from GIT on my Debian squeeze. The provision 
> script fails, if the domain name contains -. It's probably a bug as it 
> cannot find filename with -.

Amitay and I looked into this issue with the new DNS code yesterday, and
he will change how the ldb files are located to use the data recorded by
the partitions module, and use tdbbackup to copy the files.

The issue here is that it should not be assumed that the backend
database has that exact filename - if the name includes any special
characters, then the name is base 64 encoded for safety.  The correct
name is recorded in the @PARTITIONS record. 

Andrew Bartlett

Andrew Bartlett                      
Authentication Developer, Samba Team 

More information about the samba-technical mailing list