1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-16 20:59:12 +03:00

r26536: More tests for provisioning code.

(This used to be commit 43c8bfeedf)
This commit is contained in:
Jelmer Vernooij
2007-12-19 23:27:31 +01:00
committed by Stefan Metzmacher
parent 595ec370da
commit 86f91db7d5
6 changed files with 40 additions and 24 deletions

View File

@ -73,11 +73,6 @@ def findnss(nssfn, *names):
raise Exception("Unable to find user/group for %s" % arguments[1])
def hostname():
"""return first part of hostname."""
return gethostname().split(".")[0]
def open_ldb(session_info, credentials, lp, dbname):
assert session_info is not None
try:
@ -742,7 +737,6 @@ def provision_dns(setup_dir, paths, session_info,
})
def provision_ldapbase(setup_dir, message, paths):
"""Write out a DNS zone file, from the info in the current database."""
message("Setting up LDAP base entry: %s" % domaindn)