mirror of
https://github.com/samba-team/samba.git
synced 2025-11-26 04:23:49 +03:00
r26629: python: Improve documentation in various places.
This commit is contained in:
committed by
Stefan Metzmacher
parent
3c329ee73d
commit
ee71a27bca
@@ -23,6 +23,7 @@ import security
|
||||
from ldb import Dn, SCOPE_SUBTREE, SCOPE_ONELEVEL, SCOPE_BASE, LdbError, \
|
||||
LDB_ERR_NO_SUCH_OBJECT, timestring, CHANGETYPE_MODIFY, CHANGETYPE_NONE
|
||||
|
||||
"""Functions for setting up a Samba configuration."""
|
||||
|
||||
DEFAULTSITE = "Default-First-Site-Name"
|
||||
|
||||
@@ -53,7 +54,12 @@ class ProvisionPaths:
|
||||
|
||||
|
||||
def install_ok(lp, session_info, credentials):
|
||||
"""Check whether the current install seems ok."""
|
||||
"""Check whether the current install seems ok.
|
||||
|
||||
:param lp: Loadparm context
|
||||
:param session_info: Session information
|
||||
:param credentials: Credentials
|
||||
"""
|
||||
if lp.get("realm") == "":
|
||||
return False
|
||||
ldb = Ldb(lp.get("sam database"), session_info=session_info,
|
||||
|
||||
Reference in New Issue
Block a user