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:
committed by
Stefan Metzmacher
parent
595ec370da
commit
86f91db7d5
@ -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)
|
||||
|
Reference in New Issue
Block a user