Displaying 3 results from an estimated 3 matches for "samdb_path".
2015 Dec 28
0
Wrong interface on AD Provisioning
...ovisioning, why are there these lines in the provisioning code
(/samba/provision/__init__.py):
def provision(logger, session_info, smbconf=None,
"""Provision samba4
:note: caution, this wipes all existing data!
"""
And:
def setup_samdb_partitions(samdb_path, logger, lp, session_info,
"""Setup the partitions for the SAM database.
Alternatively, provision() may call this, and then populate the
database.
:note: This will wipe the Sam Database!
:note: This function always removes the local SAM LDB file. The erase...
2015 Dec 27
2
Wrong interface on AD Provisioning
On 27.12.2015 20:48, Marc Muehlfeld wrote:
> Hello Viktor,
>
> Am 27.12.2015 um 19:41 schrieb Viktor Trojanovic:
>> When I provisioned a new AD domain, I used the wrong network interface
>> in the provisioning command.
>>
>> samba-tool domain provision --option="interfaces=lo eth2" --option="bind
>> interfaces only=yes" --use-rfc2307
2015 Dec 28
1
Wrong interface on AD Provisioning
...se remove the smb.conf file and let provision
generate it" % (lp.get("realm").upper(), lp.configfile, realm))
If the code should replace the smb.conf, then might be a bug. Can you
please create a bug report, if this is the case?
> And:
>
> def setup_samdb_partitions(samdb_path, logger, lp, session_info,
>
> """Setup the partitions for the SAM database.
>
> Alternatively, provision() may call this, and then populate the
> database.
>
> :note: This will wipe the Sam Database!
>
> :note: This function always remo...