mirror of
https://github.com/samba-team/samba.git
synced 2025-07-27 07:42:04 +03:00
Add docstrings in misc python module.
(This used to be commit 5bf15122e6
)
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
# This file was automatically generated by SWIG (http://www.swig.org).
|
||||
# Version 1.3.33
|
||||
# Version 1.3.35
|
||||
#
|
||||
# Don't modify this file, modify the SWIG interface instead.
|
||||
|
||||
@ -62,14 +62,50 @@ import credentials
|
||||
import param
|
||||
import security
|
||||
random_password = _misc.random_password
|
||||
ldb_set_credentials = _misc.ldb_set_credentials
|
||||
ldb_set_session_info = _misc.ldb_set_session_info
|
||||
ldb_set_loadparm = _misc.ldb_set_loadparm
|
||||
samdb_set_domain_sid = _misc.samdb_set_domain_sid
|
||||
|
||||
def ldb_set_credentials(*args, **kwargs):
|
||||
"""
|
||||
S.set_credentials(credentials)
|
||||
Set credentials to use when connecting.
|
||||
"""
|
||||
return _misc.ldb_set_credentials(*args, **kwargs)
|
||||
|
||||
def ldb_set_session_info(*args, **kwargs):
|
||||
"""
|
||||
S.set_session_info(session_info)
|
||||
Set session info to use when connecting.
|
||||
"""
|
||||
return _misc.ldb_set_session_info(*args, **kwargs)
|
||||
|
||||
def ldb_set_loadparm(*args, **kwargs):
|
||||
"""
|
||||
S.set_loadparm(session_info)
|
||||
Set loadparm context to use when connecting.
|
||||
"""
|
||||
return _misc.ldb_set_loadparm(*args, **kwargs)
|
||||
|
||||
def samdb_set_domain_sid(*args, **kwargs):
|
||||
"""
|
||||
S.set_domain_sid(sid)
|
||||
Set SID of domain to use.
|
||||
"""
|
||||
return _misc.samdb_set_domain_sid(*args, **kwargs)
|
||||
dsdb_attach_schema_from_ldif_file = _misc.dsdb_attach_schema_from_ldif_file
|
||||
version = _misc.version
|
||||
|
||||
def version(*args):
|
||||
"""
|
||||
version()
|
||||
Obtain the Samba version.
|
||||
"""
|
||||
return _misc.version(*args)
|
||||
dsdb_set_global_schema = _misc.dsdb_set_global_schema
|
||||
ldb_register_samba_handlers = _misc.ldb_register_samba_handlers
|
||||
|
||||
def ldb_register_samba_handlers(*args, **kwargs):
|
||||
"""
|
||||
register_samba_handlers()
|
||||
Register Samba-specific LDB modules and schemas.
|
||||
"""
|
||||
return _misc.ldb_register_samba_handlers(*args, **kwargs)
|
||||
dsdb_set_ntds_invocation_id = _misc.dsdb_set_ntds_invocation_id
|
||||
private_path = _misc.private_path
|
||||
|
||||
|
Reference in New Issue
Block a user